Home
last modified time | relevance | path

Searched refs:hasProvider (Results 1 – 3 of 3) sorted by relevance

/external/guice/core/test/com/google/inject/
DBinderTestSuite.java491 Injectable hasProvider = injector1.getInstance(injectsKey); in test() local
492 hasProvider.provider.get(); in test()
495 assertEquals(value, hasProvider.provider.get()); in test()
694 Injectable hasProvider = newInjector().getInstance(injectsKey); in test() local
695 hasProvider.provider.get(); in test()
698 hasProvider.provider.get(); in test()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java297 assertThat(locationManager.hasProvider(GPS_PROVIDER)).isTrue(); in testHasProvider()
298 assertThat(locationManager.hasProvider(NETWORK_PROVIDER)).isTrue(); in testHasProvider()
299 assertThat(locationManager.hasProvider(PASSIVE_PROVIDER)).isTrue(); in testHasProvider()
301 assertThat(locationManager.hasProvider(MY_PROVIDER)).isFalse(); in testHasProvider()
304 assertThat(locationManager.hasProvider(MY_PROVIDER)).isTrue(); in testHasProvider()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java479 protected boolean hasProvider(String provider) { in hasProvider() method in ShadowLocationManager