Searched defs:handler (Results 1 - 6 of 6) sorted by relevance
/javamail/mail/src/test/java/com/sun/mail/imap/ |
H A D | IMAPCloseFailureTest.java | 96 public void testClose(IMAPHandler handler) { argument 99 server = new TestServer(handler);
|
H A D | IMAPLoginReferralTest.java | 148 private void test(IMAPHandler handler) { argument 151 server = new TestServer(handler);
|
H A D | IMAPFetchProfileTest.java | 85 public void test(Folder folder, IMAPHandlerFetch handler) argument 93 public void test(Folder folder, IMAPHandlerFetch handler) 99 assertTrue(handler.saw("INTERNALDATE")); 100 handler.reset(); 102 assertFalse(handler.saw("INTERNALDATE")); 120 public void test(Folder folder, IMAPHandlerFetch handler) 126 assertTrue(handler.saw("INTERNALDATE")); 127 handler.reset(); 129 assertFalse(handler.saw("INTERNALDATE")); 147 public void test(Folder folder, IMAPHandlerFetch handler) 166 testWithHandler(IMAPTest test, IMAPHandlerFetch handler) argument [all...] |
H A D | IMAPIdleManagerTest.java | 91 private void testSuccess(IMAPHandlerIdle handler) { argument 95 server = new TestServer(handler); 115 handler.waitForIdle(); 185 private void testFailure(IMAPHandlerIdle handler, boolean setTimeout) { argument 189 server = new TestServer(handler); 211 handler.waitForIdle(); 244 * Base class for custom handler. 257 * Custom handler. Respond to DONE with a single packet containing 261 // must be static because handler is cloned for each connection 278 * Custom handler [all...] |
H A D | IMAPUidExpungeTest.java | 74 public void test(Folder folder, IMAPHandlerExpunge handler) argument 82 public void test(Folder folder, IMAPHandlerExpunge handler) 86 assertEquals(1, handler.getSeqNum()); 105 public void test(Folder folder, IMAPHandlerExpunge handler) 109 assertEquals(2, handler.getSeqNum()); 128 public void test(Folder folder, IMAPHandlerExpunge handler) 133 assertEquals(2, handler.getSeqNum()); 135 assertEquals(3, handler.getSeqNum()); 156 public void test(Folder folder, IMAPHandlerExpunge handler) 161 assertEquals(2, handler 416 testWithHandler(IMAPTest test, IMAPHandlerExpunge handler) argument [all...] |
/javamail/mail/src/test/java/com/sun/mail/test/ |
H A D | TestServer.java | 67 /** Protocol handler. */ 68 private final ProtocolHandler handler; field in class:TestServer 73 * @param handler the protocol handler 75 public TestServer(final ProtocolHandler handler) throws IOException { argument 76 this(handler, false); 82 * @param handler the protocol handler 85 public TestServer(final ProtocolHandler handler, final boolean isSSL) argument 87 this.handler [all...] |
Completed in 38 milliseconds