summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-10-17 19:12:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-10-17 19:12:47 +0000
commitcfa6d1c8b2bc7b68a01625782fb090bbb0104a06 (patch)
treee20e02b285be59c8256576984c434ea2a0d1185f /tests
parent13e1ef75f5abb1171d4b1e39dc3f8713ec015fda (diff)
parent5ca3396ac013e671483cd10b2752d99b39ab092e (diff)
Merge "Generate stronger password for LOHS"
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java b/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
index a5f4c1fc7..c6bb66dec 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
@@ -204,6 +204,7 @@ public class WifiApConfigStoreTest extends WifiBaseTest {
int randomPortion = Integer.parseInt(splitSsid[1]);
assertTrue(randomPortion >= RAND_SSID_INT_MIN && randomPortion <= RAND_SSID_INT_MAX);
assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK));
+ assertEquals(15, config.preSharedKey.length());
}