/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/chromium_org/chrome/utility/image_writer/ |
image_writer_unittest.cc | 56 class MockHandler : public ImageWriterHandler { 66 class VerifyingHandler : public MockHandler { 71 MockHandler::SendSucceeded(); 86 MockHandler mock_handler; 94 MockHandler mock_handler; 109 MockHandler mock_handler; 122 MockHandler mock_handler; 135 MockHandler mock_handler; 153 MockHandler mock_handler; 168 MockHandler mock_handler [all...] |
/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/chromium_org/net/http/ |
http_auth_controller_unittest.cc | 123 class MockHandler : public HttpAuthHandlerMock { 125 MockHandler(int expected_rv, HttpAuth::Scheme scheme) 182 new MockHandler(OK, HttpAuth::AUTH_SCHEME_MOCK), HttpAuth::AUTH_SERVER); 184 new MockHandler(ERR_UNEXPECTED, HttpAuth::AUTH_SCHEME_BASIC), 191 new MockHandler(ERR_UNEXPECTED, HttpAuth::AUTH_SCHEME_MOCK), 194 new MockHandler(ERR_UNEXPECTED, HttpAuth::AUTH_SCHEME_BASIC), 201 new MockHandler(ERR_UNEXPECTED, HttpAuth::AUTH_SCHEME_MOCK), 204 new MockHandler(OK, HttpAuth::AUTH_SCHEME_BASIC), 218 // Should only succeed if we are using the AUTH_SCHEME_MOCK MockHandler. 234 // Should only succeed if we are using the AUTH_SCHEME_BASIC MockHandler [all...] |
/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 | 39 import tests.api.org.xml.sax.support.MockHandler; 51 private MockHandler handler = new MockHandler(logger);
|
ParserAdapterTest.java | 40 import tests.api.org.xml.sax.support.MockHandler; 61 private MockHandler handler = new MockHandler(logger);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
DocumentBuilderTest.java | 31 import tests.api.org.xml.sax.support.MockHandler; 551 ErrorHandler handler = new MockHandler(logger); 572 ErrorHandler handler = new MockHandler(logger);
|