mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Add addition wifi: QR code test case from mailing list
This commit is contained in:
parent
48aba96999
commit
4d94ac22eb
|
@ -67,6 +67,7 @@ public final class WifiParsedResultTestCase extends Assert {
|
|||
@Test
|
||||
public void testEscape() {
|
||||
doTest("WIFI:T:WPA;S:test;P:my_password\\\\;;", "test", "my_password\\", "WPA");
|
||||
doTest("WIFI:T:WPA;S:My_WiFi_SSID;P:abc123/;;", "My_WiFi_SSID", "abc123/", "WPA");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -87,4 +88,4 @@ public final class WifiParsedResultTestCase extends Assert {
|
|||
assertEquals(password, wifiResult.getPassword());
|
||||
assertEquals(type, wifiResult.getNetworkEncryption());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue