Shane Mc Cormack
3b985a18b3
Fix build.
Some code tidying (issue 1274)
git-svn-id: http://svn.dmdirc.com/trunk@4158 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
c0704ef0c2
Random parsery unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3974 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
56e7336994
Unit test for parser port range checking
Issue 1171, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3973 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
73bd375b4e
Unit test for ParserError.isUserError
Issue 1161, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3972 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Shane Mc Cormack
3bb58919dd
ChannelInfo mode optimisation (Also optimised ClientInfo)
Fixes issue 1109
Fixes issue 1108
git-svn-id: http://svn.dmdirc.com/trunk@3958 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
c8400c2a53
Unit tests (ServerManager, Process004005, ProcessJoin)
Tidied up some logic in ConditionTree, and removed unneccesary asserts
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3949 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Shane Mc Cormack
fa0479c38e
Unignore unit test.
Issue 1141
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3925 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
0543899fed
Removed NullCallbacksTest, as the behaviour it tests is no longer present or needed (issue 1106)
Reworked the way the parser's callbackmanager.getCallbackType method works - instead of returning null if the callback type doesn't exist (which shouldn't happen in normal behaviour), it throws an exception
git-svn-id: http://svn.dmdirc.com/trunk@3922 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
fd4d184068
Added processNickTest. Uncomment failing ChannelInfo tests and @Ignore them instead
git-svn-id: http://svn.dmdirc.com/trunk@3918 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
2ad9ce2407
Refactor the unit tests so all supporting classes/harnesses are in com.dmdirc.harnesses, instead of dotted around as inner classes
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3908 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
aeebbf0c6a
Additional IgnoreList unit tests
ProcessModeTest now tests numeric 324 (channel mode discovery)
ProcessNamesTest now tests nicks with multiple and no channel modes
ArrayListTransferHandlerTest now tests copying as well as moving
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3906 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
edfbc5fdf2
Parser now sends queued channel modes as soon as the max number is reached, rather than waiting for the next one
Fixes issue 1107
git-svn-id: http://svn.dmdirc.com/trunk@3905 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
ec307fc146
IRCStringConverter unit test (mostly extracted from the main IRCParser test)
issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3888 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
b025510fb0
Fixed failing unit tests, and fixed NPE in prefs setting
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3866 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
bd84d1c053
Parser unit tests (process modes)
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3862 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
85f04fda6a
Added some tests for ChannelInfo mode sending (mainly testing behaviour that isn't yet implemented)
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3844 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
d97055ffc7
Added another test for ProcessQuit, and some extra asserts to make sure clients are added/removed properly
Added tests for parser processing of parts
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3840 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
7dff3b5492
Added unit test for parser quit processing
git-svn-id: http://svn.dmdirc.com/trunk@3830 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
71bddf4451
Added unit test for parser topic processing
git-svn-id: http://svn.dmdirc.com/trunk@3829 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
711ad6b0af
Added basic unit test for channel kicks
git-svn-id: http://svn.dmdirc.com/trunk@3731 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
ca3867f84c
Updated ChannelInfo unit test for parser method rename
git-svn-id: http://svn.dmdirc.com/trunk@3641 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Shane Mc Cormack
0474a234f6
Detect bitlbee, Fixes Issue 926
git-svn-id: http://svn.dmdirc.com/trunk@3508 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
55d09e5a1f
TestParser now overrides pingTimerTask
Fixes issue 901
git-svn-id: http://svn.dmdirc.com/trunk@3480 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
479980d4a6
ChannelInfo unit tests no longer check the number of lines, just that the first line is as-expected.
Fixes issue 679
git-svn-id: http://svn.dmdirc.com/trunk@3457 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
9c3dcc408b
Add failure reasons for ChannelInfo tests that seem to fail randomly
git-svn-id: http://svn.dmdirc.com/trunk@3416 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
355816bc63
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3350 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
1364f1655e
Parser unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3313 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
a37b66f895
Unit test for issue 758
git-svn-id: http://svn.dmdirc.com/trunk@3311 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
845363e5f2
Some basic list mode unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3309 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
d78703dbb3
RegexStringList unit test
git-svn-id: http://svn.dmdirc.com/trunk@3296 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
61a272e7cf
Parser unit tests.
Removed pointless SVN info methods from parser classes
git-svn-id: http://svn.dmdirc.com/trunk@3295 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
92a2acab25
Parser unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3293 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
37e97c5e39
Some parser unit testing
git-svn-id: http://svn.dmdirc.com/trunk@3287 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
4e65b5642a
Some parser unit testing
git-svn-id: http://svn.dmdirc.com/trunk@3286 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
75f7f3e31f
Some parser unit testing
git-svn-id: http://svn.dmdirc.com/trunk@3285 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
fc3d7d1a33
Some parser unit testing
git-svn-id: http://svn.dmdirc.com/trunk@3284 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
e8d443b1e7
Bet you can't guess what these are!
Hint: they being with "un" and end in "sts" (and aren't "unisex vests")
git-svn-id: http://svn.dmdirc.com/trunk@3263 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
82ae588034
More unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3255 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
a2a6d2bf5a
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3249 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Shane Mc Cormack
d44d09b8e8
Fixed issue 653
git-svn-id: http://svn.dmdirc.com/trunk@3177 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
8fd63d63b5
Added unit test for IRC Parser case conversion
git-svn-id: http://svn.dmdirc.com/trunk@3175 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Shane Mc Cormack
882e9e735d
Updated copyright header on all files.
2006-2007 -> 2006-2008
git-svn-id: http://svn.dmdirc.com/trunk@3151 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Shane Mc Cormack
9eae9f9557
Readded "extends junit.framework.TestCase" to all Tests to make them still work on ant 1.6.5
git-svn-id: http://svn.dmdirc.com/trunk@2657 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
02eecebc72
Tests now use JUnit 4.x annotations
Removed useless imports and javadoc from tests
git-svn-id: http://svn.dmdirc.com/trunk@2376 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten
Chris Smith
0f0899b8a5
Added license header to all tests
git-svn-id: http://svn.dmdirc.com/trunk@2375 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten
Chris Smith
2a24cde6ef
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@2157 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten
Chris Smith
16657569c6
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@2155 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten
Chris Smith
d26579cdc8
Add unit test for the parser's tokeniser
git-svn-id: http://svn.dmdirc.com/trunk@2144 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten
Shane Mc Cormack
f0cedcd4ed
Fixed IRCParserTest unittest
Updated Setup.exe
git-svn-id: http://svn.dmdirc.com/trunk@2029 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten
Chris Smith
065ab57e1b
Tests are now compatible with older JUnit style
git-svn-id: http://svn.dmdirc.com/trunk@1845 00569f92 -eb28-0410-84fd-f71c24880f
17 vuotta sitten