From 05c32ca28760a70aca744e93c72bf9e34aa1f883 Mon Sep 17 00:00:00 2001 From: Chalard Jean Date: Thu, 28 May 2020 05:29:14 +0000 Subject: Update tests for renaming groupHint to cluster. Bug: 146460486 Test: atest FrameworksWifiTests Change-Id: I33319b2eed25d064a5d7e55a7eae7f57da18f445 Merged-In: I139e46c1f9d56058c0b724092d145df275b6506e (cherry-picked from aosp/1317399) --- tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java index 8195117e7..1761b2113 100644 --- a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java +++ b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java @@ -3235,8 +3235,8 @@ public class ClientModeImplTest extends WifiBaseTest { */ @Test public void testScoreCardNoteConnectionComplete() throws Exception { - Pair l2KeyAndGroupHint = Pair.create("Wad", "Gab"); - when(mWifiScoreCard.getL2KeyAndGroupHint(any())).thenReturn(l2KeyAndGroupHint); + Pair l2KeyAndCluster = Pair.create("Wad", "Gab"); + when(mWifiScoreCard.getL2KeyAndGroupHint(any())).thenReturn(l2KeyAndCluster); connect(); mLooper.dispatchAll(); verify(mWifiScoreCard).noteIpConfiguration(any()); @@ -3245,7 +3245,7 @@ public class ClientModeImplTest extends WifiBaseTest { verify(mIpClient, atLeastOnce()).updateLayer2Information(captor.capture()); final Layer2InformationParcelable info = captor.getValue(); assertEquals(info.l2Key, "Wad"); - assertEquals(info.groupHint, "Gab"); + assertEquals(info.cluster, "Gab"); } /** -- cgit v1.2.3