/external/testng/src/test/java/test/listeners/ |
D | SuiteAndInvokedMethodListenerTest.java | 12 import test.listeners.SuiteAndInvokedMethodListenerTest.MyListener; 20 @Listeners(MyListener.class) 22 public static class MyListener implements IInvokedMethodListener, ISuiteListener { class in SuiteAndInvokedMethodListenerTest 27 public MyListener() { in MyListener() method in SuiteAndInvokedMethodListenerTest.MyListener 52 Assert.assertTrue(MyListener.m_before, "IInvokedMethodListener was not invoked"); in bothListenersShouldRun() 53 Assert.assertTrue(MyListener.m_start, "ISuiteListener was not invoked"); in bothListenersShouldRun()
|
D | SuiteAndConfigurationListenerTest.java | 13 import test.listeners.SuiteAndConfigurationListenerTest.MyListener; 21 @Listeners(MyListener.class) 23 public static class MyListener implements ISuiteListener, IConfigurationListener { class in SuiteAndConfigurationListenerTest 27 public MyListener() { in MyListener() method in SuiteAndConfigurationListenerTest.MyListener 55 … Assert.assertEquals(MyListener.started.get(), 1, "ISuiteListener was not invoked exactly once:"); in bothListenersShouldRun()
|
/external/testng/src/test/java/test/invokedmethodlistener/ |
D | InvokedMethodListenerTest.java | 25 private static void assertMethodCount(MyListener l) { in assertMethodCount() 32 MyListener l = new MyListener(); in withSuccess() 39 MyListener l = new MyListener(); in withFailure()
|
D | MyListener.java | 7 public class MyListener implements IInvokedMethodListener { class
|
/external/mockito/src/test/java/org/mockito/internal/framework/ |
D | DefaultMockitoFrameworkTest.java | 109 framework.addListener(new MyListener()); in prevents_duplicate_listeners_of_the_same_type() 114 framework.addListener(new MyListener()); in prevents_duplicate_listeners_of_the_same_type() 173 private static class MyListener implements MockitoListener {} class in DefaultMockitoFrameworkTest
|
/external/catch2/examples/ |
D | 210-Evt-EventListeners.cpp | 300 struct MyListener : Catch::TestEventListenerBase { struct 305 ~MyListener(); 370 CATCH_REGISTER_LISTENER( MyListener ) in CATCH_REGISTER_LISTENER() argument 373 MyListener::~MyListener() {} in CATCH_REGISTER_LISTENER()
|
/external/catch2/docs/ |
D | event-listeners.md | 28 struct MyListener : Catch::TestEventListenerBase { 40 CATCH_REGISTER_LISTENER( MyListener )
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTest.java | 1000 nf.removeListener(new MyListener()); in TestCoverage() 1002 nf.addListener(new MyListener()); in TestCoverage() 1003 nf.removeListener(new MyListener()); in TestCoverage() 1006 static class MyListener implements EventListener { class in ICUServiceTest 1015 return l instanceof MyListener; in acceptsListener()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUServiceTest.java | 1003 nf.removeListener(new MyListener()); in TestCoverage() 1005 nf.addListener(new MyListener()); in TestCoverage() 1006 nf.removeListener(new MyListener()); in TestCoverage() 1009 static class MyListener implements EventListener { class in ICUServiceTest 1018 return l instanceof MyListener; in acceptsListener()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenerCallQueueTest.java | 103 static final class MyListener { class in ListenerCallQueueTest 111 Object listener = new MyListener(); in testEnqueueAndDispatch_withLabeledExceptions()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenerCallQueueTest.java | 103 static final class MyListener { class in ListenerCallQueueTest 111 Object listener = new MyListener(); in testEnqueueAndDispatch_withLabeledExceptions()
|
/external/icu/icu4c/source/test/intltest/ |
D | icusvtst.cpp | 22 class MyListener : public EventListener { class 1506 nf.removeListener(new MyListener()); in testCoverage() 1508 nf.addListener(new MyListener()); in testCoverage() 1509 nf.removeListener(new MyListener()); in testCoverage()
|