diff options
author | Chalard Jean <jchalard@google.com> | 2020-05-28 05:29:14 +0000 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2020-05-29 02:28:03 +0000 |
commit | 05c32ca28760a70aca744e93c72bf9e34aa1f883 (patch) | |
tree | 6e6562fc66ea99461e25e858130474a26b34ebba /tests | |
parent | c1ef8e0266f1b638e4af850d21798d0bce9fa791 (diff) |
Update tests for renaming groupHint to cluster.
Bug: 146460486
Test: atest FrameworksWifiTests
Change-Id: I33319b2eed25d064a5d7e55a7eae7f57da18f445
Merged-In: I139e46c1f9d56058c0b724092d145df275b6506e
(cherry-picked from aosp/1317399)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java | 6 |
1 files 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<String, String> l2KeyAndGroupHint = Pair.create("Wad", "Gab"); - when(mWifiScoreCard.getL2KeyAndGroupHint(any())).thenReturn(l2KeyAndGroupHint); + Pair<String, String> 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"); } /** |