Home
last modified time | relevance | path

Searched refs:testListener (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWifiP2pManagerTest.java39 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 …]
DShadowViewGroupTest.java380 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/
DCacheBuilderTest.java180 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/
DStruts2FactoryTest.java66 TestListener testListener =
76 assertEquals(TODAY, testListener.getInjector().getInstance(Date.class));
/external/testng/src/main/java/org/testng/xml/
DResultXMLParser.java29 public ResultXMLParser(IRemoteSuiteListener suiteListener, IRemoteTestListener testListener) { in ResultXMLParser() argument
31 m_testListener = testListener; in ResultXMLParser()
DResultContentHandler.java51 IRemoteTestListener testListener, boolean resolveClasses /* ignored */) { in ResultContentHandler() argument
53 m_testListener = testListener; in ResultContentHandler()
/external/autotest/client/site_tests/power_LoadTest/extension/
Dtest.js45 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/
DCacheBuilderTest.java356 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()
DLocalCacheTest.java398 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/
DMapMakerInternalMapTest.java267 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()