Home
last modified time | relevance | path

Searched refs:MyListener (Results 1 – 12 of 12) sorted by relevance

/external/testng/src/test/java/test/listeners/
DSuiteAndInvokedMethodListenerTest.java12 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()
DSuiteAndConfigurationListenerTest.java13 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/
DInvokedMethodListenerTest.java25 private static void assertMethodCount(MyListener l) { in assertMethodCount()
32 MyListener l = new MyListener(); in withSuccess()
39 MyListener l = new MyListener(); in withFailure()
DMyListener.java7 public class MyListener implements IInvokedMethodListener { class
/external/mockito/src/test/java/org/mockito/internal/framework/
DDefaultMockitoFrameworkTest.java109 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/
D210-Evt-EventListeners.cpp300 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/
Devent-listeners.md28 struct MyListener : Catch::TestEventListenerBase {
40 CATCH_REGISTER_LISTENER( MyListener )
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java1000 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/
DICUServiceTest.java1003 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/
DListenerCallQueueTest.java103 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/
DListenerCallQueueTest.java103 static final class MyListener { class in ListenerCallQueueTest
111 Object listener = new MyListener(); in testEnqueueAndDispatch_withLabeledExceptions()
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp22 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()