|
@@ -343,15 +343,6 @@ public class IRCParserTest {
|
343
|
343
|
anyString(), anyString());
|
344
|
344
|
}
|
345
|
345
|
|
346
|
|
- @Test
|
347
|
|
- public void testIllegalPort1() throws URISyntaxException {
|
348
|
|
- final TestParser tp = new TestParser(new MyInfo(), new URI("irc://127.0.0.1:0/"));
|
349
|
|
- final ConnectErrorListener tiei = mock(ConnectErrorListener.class);
|
350
|
|
- tp.getCallbackManager().addCallback(ConnectErrorListener.class, tiei);
|
351
|
|
- tp.runSuper();
|
352
|
|
- verify(tiei).onConnectError(same(tp), (ParserError) anyObject());
|
353
|
|
- }
|
354
|
|
-
|
355
|
346
|
@Test
|
356
|
347
|
public void testIllegalPort2() throws URISyntaxException {
|
357
|
348
|
final TestParser tp = new TestParser(new MyInfo(), new URI("irc://127.0.0.1:65570/"));
|