/external/mockito/src/org/mockito/plugins/ |
MockMaker.java | 8 import org.mockito.invocation.MockHandler; 35 * @see org.mockito.invocation.MockHandler 54 * @param handler See {@link org.mockito.invocation.MockHandler}. 63 MockHandler handler 68 * because the work on the {@link MockHandler} api is not completed. 76 MockHandler getHandler(Object mock); 94 MockHandler newHandler,
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
HandlerTest.java | 73 MockHandler h = new MockHandler(); 86 p.put("java.util.logging.MockHandler.level", "FINE"); 88 .put("java.util.logging.MockHandler.filter", className 92 p.put("java.util.logging.MockHandler.encoding", "utf-8"); 97 "java.util.logging.MockHandler.level"), "FINE"); 99 "java.util.logging.MockHandler.encoding"), "utf-8"); 100 MockHandler h = new MockHandler(); 113 MockHandler h = new MockHandler() [all...] |
LoggerTest.java | 75 sharedLogger.addHandler(new MockHandler()); 338 pLog.addHandler(new MockHandler()); 538 pLog.addHandler(new MockHandler()); 565 MockHandler h = new MockHandler(); 579 MockHandler h = new MockHandler(); 607 MockHandler h = new MockHandler(); 621 MockHandler h = new MockHandler() [all...] |
XMLFormatterTest.java | 40 MockHandler handler = null; 47 handler = new MockHandler(); 221 public static class MockHandler extends Handler {
|
LogRecordTest.java | 140 MockHandler handler = new MockHandler(); 366 public static class MockHandler extends Handler {
|
/external/mockito/src/org/mockito/invocation/ |
MockHandler.java | 19 public interface MockHandler extends Serializable {
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockHandler.java | 25 public class MockHandler extends Handler {
|
/external/mockito/src/org/mockito/internal/creation/ |
CglibMockMaker.java | 11 import org.mockito.invocation.MockHandler; 21 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { 28 private InternalMockHandler cast(MockHandler handler) { 30 throw new MockitoException("At the moment you cannot provide own implementations of MockHandler." + 36 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { 40 public MockHandler getHandler(Object mock) {
|
MethodInterceptorFilter.java | 19 import org.mockito.invocation.MockHandler; 64 public MockHandler getHandler() {
|
/external/mockito/src/org/mockito/internal/ |
InternalMockHandler.java | 10 import org.mockito.invocation.MockHandler;
16 public interface InternalMockHandler<T> extends MockHandler {
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
InvocationHandlerAdapter.java | 27 import org.mockito.invocation.MockHandler; 34 private MockHandler handler; 37 public InvocationHandlerAdapter(MockHandler handler) { 53 public MockHandler getHandler() { 57 public void setHandler(MockHandler handler) {
|
DexmakerMockMaker.java | 26 import org.mockito.invocation.MockHandler; 37 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { 73 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { 78 public MockHandler getHandler(Object mock) {
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/ |
JDK14AdapterLoggerNameTest.java | 34 private MockHandler mockHandler; 39 mockHandler = new MockHandler(); 41 logger.addHandler(mockHandler); 71 assertNotNull("no log record", mockHandler.record); 72 assertNotNull("missing logger name", mockHandler.record.getLoggerName()); 75 private class MockHandler extends java.util.logging.Handler {
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldXMLFormatterTest.java | 30 MockHandler handler = null; 36 handler = new MockHandler(); 69 public static class MockHandler extends Handler {
|
OldLogManagerTest.java | 48 handler = new MockHandler(); 50 props.put("handlers", className + "$MockHandler " + className + "$MockHandler"); 232 public static class MockHandler extends Handler { 235 public MockHandler() {
|
OldMemoryHandlerTest.java | 65 props.put("java.util.logging.MemoryHandler.target", baseClassName + "$MockHandler"); 90 public static class MockHandler extends Handler {
|
OldLoggerTest.java | 141 pLog.addHandler(new MockHandler()); 219 public static class MockHandler extends Handler {
|
/external/mockito/src/org/mockito/internal/util/ |
MockUtil.java | 13 import org.mockito.invocation.MockHandler;
30 MockHandler mockHandler = new MockHandlerFactory().create(settings);
32 T mock = mockMaker.createMock(settings, mockHandler);
45 MockHandler newHandler = new MockHandlerFactory().create(settings);
|
/external/mockito/src/org/mockito/internal/handler/ |
InvocationNotifierHandler.java | 12 import org.mockito.invocation.MockHandler;
24 * Also imposterize MockHandlerImpl, delegate all call of InternalMockHandler to the real mockHandler
26 class InvocationNotifierHandler<T> implements MockHandler, InternalMockHandler<T> {
29 private InternalMockHandler<T> mockHandler;
31 public InvocationNotifierHandler(InternalMockHandler<T> mockHandler, MockCreationSettings settings) {
32 this.mockHandler = mockHandler;
38 Object returnedValue = mockHandler.handle(invocation);
69 return mockHandler.getMockSettings();
73 return mockHandler.voidMethodStubbable(mock); [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
HandlerTest.java | 41 private final MockHandler mHandler1 = new MockHandler(Looper.getMainLooper()); 405 MockHandler handler = new MockHandler(); 417 MockHandler handler = new MockHandler(); 470 * MockHandler 472 private class MockHandler extends Handler { 476 MockHandler() { 480 MockHandler(Looper looper) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
MockHandler.java | 35 public class MockHandler implements ContentHandler, DTDHandler, DocumentHandler, 40 public MockHandler(MethodLogger logger) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
XMLReaderAdapterTest.java | 25 import org.apache.harmony.tests.org.xml.sax.support.MockHandler; 50 private MockHandler handler = new MockHandler(logger);
|
ParserAdapterTest.java | 24 import org.apache.harmony.tests.org.xml.sax.support.MockHandler; 60 private MockHandler handler = new MockHandler(logger);
|
XMLFilterImplTest.java | 25 import org.apache.harmony.tests.org.xml.sax.support.MockHandler; 51 private MockHandler handler = new MockHandler(logger);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
DocumentBuilderTest.java | 22 import org.apache.harmony.tests.org.xml.sax.support.MockHandler; 554 ErrorHandler handler = new MockHandler(logger); 575 ErrorHandler handler = new MockHandler(logger);
|