Chris Smith
d1fe7ee2d0
CommandParser unit test
git-svn-id: http://svn.dmdirc.com/trunk@3827 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
Chris Smith
dae092e1f8
Fix bizarre unit test breakage
git-svn-id: http://svn.dmdirc.com/trunk@3805 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
0e47e54b08
ConfigFile now escapes #
git-svn-id: http://svn.dmdirc.com/trunk@3789 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
Chris Smith
711ad6b0af
Added basic unit test for channel kicks
git-svn-id: http://svn.dmdirc.com/trunk@3731 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
Chris Smith
734bcb880a
Added ActionManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3663 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
4fecf78820
Basic PreferencesManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3643 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
Shane Mc Cormack
0474a234f6
Detect bitlbee, Fixes Issue 926
git-svn-id: http://svn.dmdirc.com/trunk@3508 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
2755b0f75d
Added unit test for some PreferencesSetting stuff
git-svn-id: http://svn.dmdirc.com/trunk@3499 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
Chris Smith
7134b44b7b
Added unit test for string action components
git-svn-id: http://svn.dmdirc.com/trunk@3497 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
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
před 16 roky
Chris Smith
55d09e5a1f
TestParser now overrides pingTimerTask
Fixes issue 901
git-svn-id: http://svn.dmdirc.com/trunk@3480 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 16 roky
Chris Smith
569454a89b
Additional MapList unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3422 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
13579c6d61
Unit tests for ConfigFile
git-svn-id: http://svn.dmdirc.com/trunk@3421 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
d82b7a01c1
TextFile and ConfigFile can now be initialised with a URI
Added basic unit test for TextFile
git-svn-id: http://svn.dmdirc.com/trunk@3418 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
Chris Smith
b67d2e0edb
Formatter unit tests
Fix NPE when formatting unused null references
git-svn-id: http://svn.dmdirc.com/trunk@3404 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
c8fe911f28
Added basic formatter unit test
git-svn-id: http://svn.dmdirc.com/trunk@3390 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
0a7eeff574
Added small initial test for Alias wrapper
git-svn-id: http://svn.dmdirc.com/trunk@3388 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
f9bdcbacff
Unit test for ReverseFileReader
git-svn-id: http://svn.dmdirc.com/trunk@3387 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
7b2537b7dc
Minor unit test additions for IgnoreList
git-svn-id: http://svn.dmdirc.com/trunk@3386 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
5323cc2617
Unit test for PluginInfo.checkOS
Fix bug in architecture checking
git-svn-id: http://svn.dmdirc.com/trunk@3385 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
355816bc63
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3350 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
add4e4dca4
Fixed bug where ignore list would convert some regexps to incorrect simple expressions, instead of throwing an exception.
The ignore list panel now validates its input
Added a new RegexValidator (to validate regexps) and ValidatorChain (to chain multiple validators together)
git-svn-id: http://svn.dmdirc.com/trunk@3315 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
1364f1655e
Parser unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3313 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
a37b66f895
Unit test for issue 758
git-svn-id: http://svn.dmdirc.com/trunk@3311 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
845363e5f2
Some basic list mode unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3309 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
d78703dbb3
RegexStringList unit test
git-svn-id: http://svn.dmdirc.com/trunk@3296 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky