|
@@ -40,6 +40,7 @@ import java.util.List;
|
40
|
40
|
|
41
|
41
|
import javax.net.ssl.TrustManager;
|
42
|
42
|
|
|
43
|
+import org.junit.Ignore;
|
43
|
44
|
import org.junit.Test;
|
44
|
45
|
import static org.junit.Assert.*;
|
45
|
46
|
import static org.mockito.Mockito.*;
|
|
@@ -182,6 +183,17 @@ public class IRCParserTest {
|
182
|
183
|
assertEquals("Stupid notice", test.message);
|
183
|
184
|
}
|
184
|
185
|
|
|
186
|
+ @Test @Ignore
|
|
187
|
+ public void testPre001NickChange() throws CallbackNotFoundException {
|
|
188
|
+ final TestINoticeAuth test = new TestINoticeAuth();
|
|
189
|
+ final TestParser parser = new TestParser();
|
|
190
|
+ parser.getCallbackManager().addCallback("onNoticeAuth", test);
|
|
191
|
+ parser.sendConnectionStrings();
|
|
192
|
+ parser.injectLine(":chris!@ NICK :user2");
|
|
193
|
+
|
|
194
|
+ assertNull(test.message);
|
|
195
|
+ }
|
|
196
|
+
|
185
|
197
|
@Test
|
186
|
198
|
public void testNumeric() throws CallbackNotFoundException {
|
187
|
199
|
final TestINumeric test = new TestINumeric();
|