Searched refs:testListener (Results 1 – 10 of 10) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowWifiP2pManagerTest.java | 39 TestActionListener testListener = new TestActionListener(); in createGroup_success() local 40 manager.createGroup(channel, testListener); in createGroup_success() 41 assertThat(testListener.success).isTrue(); in createGroup_success() 53 TestActionListener testListener = new TestActionListener(); in createGroup_fail() local 57 manager.createGroup(channel, testListener); in createGroup_fail() 62 assertThat(testListener.success).isFalse(); in createGroup_fail() 63 assertThat(testListener.reason).isEqualTo(WifiP2pManager.BUSY); in createGroup_fail() 70 TestActionListener testListener = new TestActionListener(); in clearActionFailure() local 71 manager.createGroup(channel, testListener); in clearActionFailure() 72 assertThat(testListener.success).isFalse(); in clearActionFailure() [all …]
|
D | ShadowViewGroupTest.java | 380 TestOnHierarchyChangeListener testListener = new TestOnHierarchyChangeListener(); in removeAllViews_shouldCallOnChildViewRemovedWithEachChild() local 382 viewGroup.setOnHierarchyChangeListener(testListener); in removeAllViews_shouldCallOnChildViewRemovedWithEachChild() 384 assertTrue(testListener.wasCalled()); in removeAllViews_shouldCallOnChildViewRemovedWithEachChild()
|
/external/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilderTest.java | 180 RemovalListener<Object, Object> testListener = nullRemovalListener(); in testRemovalListener_setTwice() local 182 new CacheBuilder<Object, Object>().removalListener(testListener); in testRemovalListener_setTwice() 185 builder = builder.removalListener(testListener); in testRemovalListener_setTwice()
|
/external/guice/extensions/struts2/test/com/google/inject/struts2/ |
D | Struts2FactoryTest.java | 66 TestListener testListener = 76 assertEquals(TODAY, testListener.getInjector().getInstance(Date.class));
|
/external/testng/src/main/java/org/testng/xml/ |
D | ResultXMLParser.java | 29 public ResultXMLParser(IRemoteSuiteListener suiteListener, IRemoteTestListener testListener) { in ResultXMLParser() argument 31 m_testListener = testListener; in ResultXMLParser()
|
D | ResultContentHandler.java | 51 IRemoteTestListener testListener, boolean resolveClasses /* ignored */) { in ResultContentHandler() argument 53 m_testListener = testListener; in ResultContentHandler()
|
/external/autotest/client/site_tests/power_LoadTest/extension/ |
D | test.js | 45 function testListener(request, sender, sendResponse) { function 260 chrome.runtime.onMessage.removeListener(testListener); 294 chrome.runtime.onMessage.addListener(testListener); 302 chrome.runtime.onMessage.addListener(testListener);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderTest.java | 356 RemovalListener<Object, Object> testListener = nullRemovalListener(); in testRemovalListener_setTwice() local 358 new CacheBuilder<Object, Object>().removalListener(testListener); in testRemovalListener_setTwice() 361 builder = builder.removalListener(testListener); in testRemovalListener_setTwice()
|
D | LocalCacheTest.java | 398 RemovalListener<Object, Object> testListener = TestingRemovalListeners.nullRemovalListener(); in testSetRemovalListener() local 400 makeLocalCache(createCacheBuilder().removalListener(testListener)); in testSetRemovalListener() 401 assertSame(testListener, map.removalListener); in testSetRemovalListener()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 267 RemovalListener<Object, Object> testListener = new RemovalListener<Object, Object>() { in testSetRemovalListener() local 272 makeMap(createMapMaker().removalListener(testListener)); in testSetRemovalListener() 273 assertSame(testListener, map.removalListener); in testSetRemovalListener()
|