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 >
vor 14 Jahren
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 >
vor 14 Jahren
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 >
vor 14 Jahren
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 >
vor 14 Jahren
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 >
vor 14 Jahren
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 >
vor 14 Jahren
Chris Smith
aefae882de
PreferencesCategory unit tests
vor 15 Jahren
Chris Smith
678e66a2a0
Unit tests for PreferencesManager.{save,dismiss}
vor 15 Jahren
Chris Smith
67723bd27e
Remove unneeded import which breaks test compilation (oops!)
vor 15 Jahren
Chris Smith
7826058c90
Mock SettingChangeListener instead of using a harness
vor 15 Jahren
Chris Smith
302df8c64b
Remove TestPreferencesInterface in favour of mocking
vor 15 Jahren
Chris Smith
cd627c22da
Replace AIC with mocked instance
vor 15 Jahren
Chris Smith
b75ce907b0
Remove TestChangeListener in favour of mocking
vor 15 Jahren
Chris Smith
97899794af
Remove TestActionListener in favour of mocking one up
vor 15 Jahren
Chris Smith
891d6d7dbc
Add mockito library
Add some minor validator tests
vor 15 Jahren
Chris Smith
a248ca7092
Test fixes
vor 15 Jahren
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
vor 15 Jahren
Chris Smith
3337772fe8
PreferencesSettings may no longer take a fallback
vor 15 Jahren
Chris Smith
b3af85eb82
Fix prefs manager test, maybe
vor 15 Jahren
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
vor 15 Jahren
Chris Smith
c370dc6fae
Unit test for above
git-svn-id: http://svn.dmdirc.com/trunk@4468 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
86523cf792
Misc unit testsa
git-svn-id: http://svn.dmdirc.com/trunk@4308 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
ed956b08ac
PreferencesManager and PreferencesSetting test now initialise the IdentityManager in their setUp methods, instead of in the test method, which somehow makes the IdentityManager magically work properly again. Issue 1106.
git-svn-id: http://svn.dmdirc.com/trunk@3989 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
f5d301589e
Add unit test for ActionGroupValidator that should've been made with it
Issue 1169, Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3971 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
28d7d2a3fe
URLProtocolValidator no longer alters http protocol or expects the steam protocol to not exist ¬_¬
git-svn-id: http://svn.dmdirc.com/trunk@3937 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Gregory Holmes
7fdba4fb4f
another stab at fixing the URLProtocolValidator unit test, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3917 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Gregory Holmes
763fd6351e
Added URLProtocolValidator unit test. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3915 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
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
vor 16 Jahren
Chris Smith
94dc05d6b1
PreferencesSetting unit testing
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3868 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
45a5a37d27
Preferences unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3863 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
4fecf78820
Basic PreferencesManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3643 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
2755b0f75d
Added unit test for some PreferencesSetting stuff
git-svn-id: http://svn.dmdirc.com/trunk@3499 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
355816bc63
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3350 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
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
vor 16 Jahren
Chris Smith
82ae588034
More unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3255 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Chris Smith
a2a6d2bf5a
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3249 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren