/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/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/ |
D | StreamVolumeManagerTest.java | 43 private TestListener testListener; field in StreamVolumeManagerTest 52 testListener = new TestListener(); in setUp() 58 new StreamVolumeManager(context, new Handler(Looper.myLooper()), testListener)); in setUp() 111 assertThat(testListener.lastStreamVolume).isEqualTo(targetVolume); in setVolume_changesStreamVolume() 148 assertThat(testListener.lastStreamVolume).isEqualTo(targetVolume); in increaseVolume_increasesStreamVolumeByOne() 182 assertThat(testListener.lastStreamVolume).isEqualTo(targetVolume); in decreaseVolume_decreasesStreamVolumeByOne() 215 assertThat(testListener.lastStreamVolumeMuted).isTrue(); in setVolumeMuted_changesMuteState() 219 assertThat(testListener.lastStreamVolumeMuted).isFalse(); in setVolumeMuted_changesMuteState() 220 assertThat(testListener.lastStreamVolume).isEqualTo(maxVolume); in setVolumeMuted_changesMuteState() 245 assertThat(testListener.lastStreamType).isEqualTo(testStreamType); in setStreamType_notifiesStreamTypeAndVolume() [all …]
|
/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 | 48 function testListener(request, sender, sendResponse) { function 260 chrome.runtime.onMessage.removeListener(testListener); 303 chrome.runtime.onMessage.addListener(testListener); 311 chrome.runtime.onMessage.addListener(testListener);
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderTest.java | 371 RemovalListener<Object, Object> testListener = nullRemovalListener(); in testRemovalListener_setTwice() local 372 CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().removalListener(testListener); in testRemovalListener_setTwice() 375 builder = builder.removalListener(testListener); in testRemovalListener_setTwice()
|
D | LocalCacheTest.java | 518 RemovalListener<Object, Object> testListener = TestingRemovalListeners.nullRemovalListener(); in testSetRemovalListener() local 520 makeLocalCache(createCacheBuilder().removalListener(testListener)); in testSetRemovalListener() 521 assertSame(testListener, map.removalListener); in testSetRemovalListener()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderTest.java | 458 RemovalListener<Object, Object> testListener = nullRemovalListener(); in testRemovalListener_setTwice() local 459 CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().removalListener(testListener); in testRemovalListener_setTwice() 462 builder = builder.removalListener(testListener); in testRemovalListener_setTwice()
|
D | LocalCacheTest.java | 515 RemovalListener<Object, Object> testListener = TestingRemovalListeners.nullRemovalListener(); in testSetRemovalListener() local 517 makeLocalCache(createCacheBuilder().removalListener(testListener)); in testSetRemovalListener() 518 assertSame(testListener, map.removalListener); in testSetRemovalListener()
|