Chris Smith
a30304a786
Action unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3869 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
94dc05d6b1
PreferencesSetting unit testing
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3868 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Chris Smith
45a5a37d27
Preferences unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3863 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Chris Smith
ffe8575500
Action wrappers now extend action groups
Groups now encapsulate instead of extending their ArrayLists, to limit the number of ways it can be modified
Various resulting tweaks
Fixes issue 631
git-svn-id: http://svn.dmdirc.com/trunk@3859 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
0fa4e23c8f
Implement ConfigFile.delete and TextFile.delete, and tests for them both
Added unit test for TextFile.writeLines
Fixes issue 1115, work on issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3853 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
43aa4cb0f9
Repurpose testRemoveInvitesOnDisconnect to testRemoveInvitesOnSocketClosed
Fixes issue 701
git-svn-id: http://svn.dmdirc.com/trunk@3849 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
4d7a550715
Add another annoyingly bitchy quoting test for the ident client
git-svn-id: http://svn.dmdirc.com/trunk@3846 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
0620ade150
Added an extra assert to IdentClientTest.testNonNumericPort to catch inappropriate quoting
git-svn-id: http://svn.dmdirc.com/trunk@3845 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Shane Mc Cormack
d3e1eee8fd
Fix unit test (issue 1098)
git-svn-id: http://svn.dmdirc.com/trunk@3841 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
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 år sedan
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 år sedan
Chris Smith
85f7ec82e3
Action unit test
git-svn-id: http://svn.dmdirc.com/trunk@3828 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
d1fe7ee2d0
CommandParser unit test
git-svn-id: http://svn.dmdirc.com/trunk@3827 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
6ee51f5e65
Refactor IdentClient slightly
Add unit test for ident responses
git-svn-id: http://svn.dmdirc.com/trunk@3817 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
029ded545e
Add messages to the ActionEventsTest to figure out which is failing
git-svn-id: http://svn.dmdirc.com/trunk@3807 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
dae092e1f8
Fix bizarre unit test breakage
git-svn-id: http://svn.dmdirc.com/trunk@3805 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
0e47e54b08
ConfigFile now escapes #
git-svn-id: http://svn.dmdirc.com/trunk@3789 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
8905c5cab0
ConfigFile now escapes/unescapes content vaguely sensibly, although it still doesn't like =s
git-svn-id: http://svn.dmdirc.com/trunk@3786 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
466200a6e1
Update config file test to cover odd things like :, =, \r, \n, \
git-svn-id: http://svn.dmdirc.com/trunk@3785 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
1485c865bb
TextFiles/ConfigFiles can now be instansiated with InputStreams
Themes can now read metadata
Issue 1068
Fixes issue 1075 (dev error)
git-svn-id: http://svn.dmdirc.com/trunk@3759 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
62e107af7a
FrameContainers now manage ConfigManagers instead of requiring their descendents to implement a getConfigManager method
git-svn-id: http://svn.dmdirc.com/trunk@3739 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Chris Smith
9a97f59854
Fix CME caused by the previous fix
Added unit test for renaming action groups that contain actions
git-svn-id: http://svn.dmdirc.com/trunk@3673 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
2348dd949e
ActionManagerTest now deletes test dirs before running
ActionManager.makeGroup no longer fails if the group directory already exists on disk, and now throws an IllegalArgumentException if directory creation is needed and fails
Fixes issue 1014
git-svn-id: http://svn.dmdirc.com/trunk@3670 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
034eac4543
Tidied up ActionModel.trigger and separated some of it into ActionModel.test so it can be unit tested
git-svn-id: http://svn.dmdirc.com/trunk@3665 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
6c5ed5c123
Added Action unit test
Fixed actions not creating directories as expected (thus group renaming not working as expected)
git-svn-id: http://svn.dmdirc.com/trunk@3664 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
734bcb880a
Added ActionManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3663 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
4fecf78820
Basic PreferencesManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3643 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Chris Smith
fa6b78251b
Add unit test for DCC plugin's ip<->long methods
git-svn-id: http://svn.dmdirc.com/trunk@3632 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
e460dddf94
IrcAddress now parses the query and fragment parts of URIs
Fixes issue 944
Added unit test to test behaviour described in 944
git-svn-id: http://svn.dmdirc.com/trunk@3560 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
59b4a059bf
Update intelligent linking to include "?" in the trailing punctuation regex
Added a couple more test cases to test the trailing punctuation behaviour
git-svn-id: http://svn.dmdirc.com/trunk@3545 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Shane Mc Cormack
0474a234f6
Detect bitlbee, Fixes Issue 926
git-svn-id: http://svn.dmdirc.com/trunk@3508 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
2755b0f75d
Added unit test for some PreferencesSetting stuff
git-svn-id: http://svn.dmdirc.com/trunk@3499 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
6a757227b0
Added unit test to ensure action comparisons have valid names
git-svn-id: http://svn.dmdirc.com/trunk@3498 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
7134b44b7b
Added unit test for string action components
git-svn-id: http://svn.dmdirc.com/trunk@3497 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
f946f7dd89
Pull the intelligent linking tests into their own parameterised test
git-svn-id: http://svn.dmdirc.com/trunk@3496 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
8706edabbd
Added tests for a bunch of commands to ensure they output usage instructions when passed too few args
Added test to check that each command that can be shown in /help starts its help text with the command name
git-svn-id: http://svn.dmdirc.com/trunk@3494 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Gregory Holmes
75d0438bdc
Fixes issue 887: Cipher utils doesn't work
Added Base64 Encoding/Decoding class (http://www.migcomponents.com/ )
git-svn-id: http://svn.dmdirc.com/trunk@3471 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
4a94398035
Made cipher utils a singleton instead of having loads of static methods/properties
Fixed some stupid mistakes in cipher utils
Added basic cipher utils unit test (which fails)
git-svn-id: http://svn.dmdirc.com/trunk@3470 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
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 år sedan
Chris Smith
54236284a0
IrcAddress now uses URI to parse URLs. This means that encoded characters are now decoded properly.
Fixes issue 763.
git-svn-id: http://svn.dmdirc.com/trunk@3451 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan
Chris Smith
24ba8d268f
IrcAddress now ignores trailing "isnick", "needkey" and "needpass" strings
Issue 763
git-svn-id: http://svn.dmdirc.com/trunk@3448 00569f92 -eb28-0410-84fd-f71c24880f
16 år sedan