Chris Smith
10ad8f480d
Move validators out of config.prefs.validator
Fixes issue 4253
Change-Id: Ibb46a6a1ba5c62d525b65f55d39632b82e335539
Reviewed-on: http://gerrit.dmdirc.com/1455
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
5d584f2068
Style fixes
Change-Id: Idffa6c2559bcc2112c9657b15349aa80579ab83a
Reviewed-on: http://gerrit.dmdirc.com/1336
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
b1f3c9ae79
Action substitutor now escapes component results
Fixes issue 3965
Unit test for issue 3965
Change-Id: Iaea35d8b38b9f42450fa211177baa8417bd45e25
Reviewed-on: http://gerrit.dmdirc.com/1083
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
cca25e47e9
Minor random unit test changes
Change-Id: I8664f3e95f513642194cf5f96fb8b2d556cff7d1
Reviewed-on: http://gerrit.dmdirc.com/1070
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
9d6d8ca3d3
Minor action substitutor changes
Keep patterns statically compiled for efficiency
Better separation of server components and undefined config subs
Fixes issue 3961
Change-Id: Ib500352d03ba42400242002822908a1957003089
Reviewed-on: http://gerrit.dmdirc.com/1067
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
06dc20795b
Action packs can have non-numeric versions
Fixes issue 3943
Depends-On: I9f769f243178022528da65fe4c15abbd62d9e49c
Change-Id: I1419fa74d8da7f3f5d96a00dea559329db008b0e
Reviewed-on: http://gerrit.dmdirc.com/1047
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
dd61b6cd8a
New actions substitutor.
Squashed commit of the following:
commit 81c3cb41fe
Author: Chris Smith <chris@dmdirc.com >
Date: Sun Feb 28 21:13:03 2010 +0000
Fix a couple of escaping edge cases
Change-Id: I8cd9c3493a932039b7bae704c522f79778946d55
commit cde2d943dc
Author: Chris Smith <chris@dmdirc.com >
Date: Thu Feb 25 05:51:38 2010 +0000
Working actions substitutor replacement
Fixes issue 3804
Change-Id: Id714c47d599815461826f403942bfe490ac587ff
commit f450ce592a
Author: Chris Smith <chris@dmdirc.com >
Date: Thu Feb 25 00:01:55 2010 +0000
Support for config and server substitutions
Change-Id: I0b10332f340212d05ac478d4025ee557d2e66351
commit 4d2357a28f
Author: Chris Smith <chris@dmdirc.com >
Date: Tue Feb 23 21:41:54 2010 +0000
Implement word and component substitutions
Change-Id: I120f50e6eec3dc968beff42d79c0171a5908155e
commit 0bb9fbb970
Author: Chris Smith <chris@dmdirc.com >
Date: Mon Jan 25 21:32:00 2010 +0000
Unit test for actions substitutor
Change-Id: I4d8b2084f7b78cf2b30f0409e1a7fdfe5a9ee5aa
Reviewed-on: http://gerrit.dmdirc.com/927
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
336b4ec6e1
Condition tree unit tests
Change-Id: I5b380ba8caccf67c81fd8d644320b310391bcf3d
Reviewed-on: http://gerrit.dmdirc.com/796
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
3fb1492b70
Unit tests
Change-Id: I0c1d6b4c0e1f60fb2be483dc23dfdf96928a6fbb
Reviewed-on: http://gerrit.dmdirc.com/798
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
fe88a1cdfe
Action manager test now loads actions properly
Fixes issue 3646, fixes issue 3647
Change-Id: Ib19add4d3d82bc86db9e976a5a50031c2ac58eea
Reviewed-on: http://gerrit.dmdirc.com/670
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
b6e02f0a30
Fix some unit tests
Change-Id: I2f14be0cecbc842b23dc3c99b5df257b8e6b0d53
Reviewed-on: http://gerrit.dmdirc.com/390
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Gregory Holmes
187d17230c
Fix the unit tests shane broke
Change-Id: I03af2311e541d60711d2cc801128764fe384d6e7
Reviewed-on: http://gerrit.dmdirc.com/206
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
3e65963c5f
Fix broken unit test
15 years ago
Chris Smith
08d63612fa
Well that was hard to fix
15 years ago
Chris Smith
85653883e9
Crazy unit test craziness
15 years ago
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Chris Smith
3337772fe8
PreferencesSettings may no longer take a fallback
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Chris Smith
b5d7b75ad9
Unit test for issue 1849
git-svn-id: http://svn.dmdirc.com/trunk@4836 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
0382f0423e
Unit test issue 1734
git-svn-id: http://svn.dmdirc.com/trunk@4737 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
eceab34120
Fix unit test
git-svn-id: http://svn.dmdirc.com/trunk@4650 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
03b6295816
ActionManagerTest now removes its groups when the test has finished, to appease the grand muppet
ActionsManagerDialogTest also does the same, and uses the ClassFinder harness instead of an AIC
git-svn-id: http://svn.dmdirc.com/trunk@4423 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
86523cf792
Misc unit testsa
git-svn-id: http://svn.dmdirc.com/trunk@4308 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
47ceae6b4b
ConfigFile now extends TextFile instead of wrapping it rather oddly (groundwork for fixing issue 1154)
Fixed a couple of deprecated method uses in Server
Removed deprecated TextFile constructor
git-svn-id: http://svn.dmdirc.com/trunk@4005 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
df80eedbf0
Additional ActionModel unit test
git-svn-id: http://svn.dmdirc.com/trunk@3954 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
7ce57885a1
Add a bunch more edge cases to ConditionTreeTest
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3884 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
a30304a786
Action unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3869 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
85f7ec82e3
Action unit test
git-svn-id: http://svn.dmdirc.com/trunk@3828 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Chris Smith
734bcb880a
Added ActionManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3663 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
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 years ago
Chris Smith
0a7eeff574
Added small initial test for Alias wrapper
git-svn-id: http://svn.dmdirc.com/trunk@3388 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
4cc857a36c
++(unit tests)
git-svn-id: http://svn.dmdirc.com/trunk@3279 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
1d5630f8d7
My favourite hobby — unit tests!
git-svn-id: http://svn.dmdirc.com/trunk@3278 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
a2a6d2bf5a
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3249 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
22da935fa0
some work on issue 685: EDT violations
Fixed ActionGroupTest
git-svn-id: http://svn.dmdirc.com/trunk@3228 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
7b740faf95
Fix some minor bugs with ActionCondition's equals/hashcode methods
Add three new unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3145 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ebe7d49952
Update test case
git-svn-id: http://svn.dmdirc.com/trunk@2903 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
847ac86f84
Added new IgnoreList class
Tests now work with stupid versions of JUnit, like 3.x
git-svn-id: http://svn.dmdirc.com/trunk@2674 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago