Searched refs:scanResult (Results 1 – 2 of 2) sorted by relevance
18 ScanResult scanResult = ShadowScanResult.newInstance("SSID", "BSSID", "Caps", 11, 42); in shouldConstruct() local19 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()
15 ScanResult scanResult = Robolectric.newInstanceOf(ScanResult.class); in newInstance() local16 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()