Home
last modified time | relevance | path

Searched refs:scanResult (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DScanResultTest.java18 ScanResult scanResult = ShadowScanResult.newInstance("SSID", "BSSID", "Caps", 11, 42); in shouldConstruct() local
19 assertThat(scanResult.SSID, equalTo("SSID")); in shouldConstruct()
20 assertThat(scanResult.BSSID, equalTo("BSSID")); in shouldConstruct()
21 assertThat(scanResult.capabilities, equalTo("Caps")); in shouldConstruct()
22 assertThat(scanResult.level, equalTo(11)); in shouldConstruct()
23 assertThat(scanResult.frequency, equalTo(42)); in shouldConstruct()
24 assertNotNull(shadowOf(scanResult).realObject); in shouldConstruct()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowScanResult.java15 ScanResult scanResult = Robolectric.newInstanceOf(ScanResult.class); in newInstance() local
16 scanResult.SSID = SSID; in newInstance()
17 scanResult.BSSID = BSSID; in newInstance()
18 scanResult.capabilities = caps; in newInstance()
19 scanResult.level = level; in newInstance()
20 scanResult.frequency = frequency; in newInstance()
21 return scanResult; in newInstance()