Searched refs:listenerInstance (Results 1 – 3 of 3) sorted by relevance
26 private boolean isInstance(IInvokedMethodListener listenerInstance) { in isInstance() argument27 return m_matchingInterface.isInstance(listenerInstance); in isInstance()30 public static InvokedMethodListenerSubtype fromListener(IInvokedMethodListener listenerInstance) { in fromListener() argument31 if (EXTENDED_LISTENER.isInstance(listenerInstance)) { in fromListener()34 else if (SIMPLE_LISTENER.isInstance(listenerInstance)) { in fromListener()38 + " instance: " + listenerInstance.getClass().getName() + "."); in fromListener()
59 public void invokeListener(IInvokedMethodListener listenerInstance, in invokeListener() argument61 final InvocationStrategy strategy = obtainStrategyFor(listenerInstance, m_listenerMethod); in invokeListener()62 strategy.callMethod(listenerInstance, invokedMethod, m_testResult, m_testContext); in invokeListener()65 private InvocationStrategy obtainStrategyFor(IInvokedMethodListener listenerInstance, in obtainStrategyFor() argument68 .fromListener(listenerInstance); in obtainStrategyFor()
42 Object listenerInstance = new Object(); in testAddAndExecute() local44 new ListenerCallQueue<Object>(listenerInstance, directExecutor()); in testAddAndExecute()57 Object listenerInstance = new Object(); in testAddAndExecute_withExceptions() local59 new ListenerCallQueue<Object>(listenerInstance, directExecutor()); in testAddAndExecute_withExceptions()