Chris Smith
a032a667eb
Move CipherUtils into config package
It's not a general purpose util, and will only be used by the config system.
Change-Id: I2d0ac5ea23d8b7d0fcda6e467ddcf4ac08bc520a
Reviewed-on: http://gerrit.dmdirc.com/731
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 년 전
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 년 전
Gregory Holmes
450389ebe6
Fix broken unit tests
Change-Id: Ida646aa780dacbce74a6a942a455105f72654377
Reviewed-on: http://gerrit.dmdirc.com/218
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 년 전
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 년 전
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 년 전
Chris Smith
aefae882de
PreferencesCategory unit tests
15 년 전
Chris Smith
678e66a2a0
Unit tests for PreferencesManager.{save,dismiss}
15 년 전
Chris Smith
bfbb990796
Stop IdentityTest creating a dozen or so identities per run. Might fix
quite a few timeouts!
15 년 전
Chris Smith
67723bd27e
Remove unneeded import which breaks test compilation (oops!)
15 년 전
Chris Smith
7826058c90
Mock SettingChangeListener instead of using a harness
15 년 전
Chris Smith
302df8c64b
Remove TestPreferencesInterface in favour of mocking
15 년 전
Chris Smith
0e29292263
Get rid of TestConfigListener in favour of mocking them when needed
15 년 전
Chris Smith
cd627c22da
Replace AIC with mocked instance
15 년 전
Chris Smith
b75ce907b0
Remove TestChangeListener in favour of mocking
15 년 전
Chris Smith
97899794af
Remove TestActionListener in favour of mocking one up
15 년 전
Chris Smith
891d6d7dbc
Add mockito library
Add some minor validator tests
15 년 전
Chris Smith
a248ca7092
Test fixes
15 년 전
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 년 전
Chris Smith
f691e7ad16
Remove now-useless tests
15 년 전
Chris Smith
3337772fe8
PreferencesSettings may no longer take a fallback
15 년 전
Chris Smith
b3af85eb82
Fix prefs manager test, maybe
15 년 전
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 년 전
Chris Smith
aa46720195
Fix broken unit tests
git-svn-id: http://svn.dmdirc.com/trunk@4829 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
c370dc6fae
Unit test for above
git-svn-id: http://svn.dmdirc.com/trunk@4468 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
86523cf792
Misc unit testsa
git-svn-id: http://svn.dmdirc.com/trunk@4308 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
335e9c3629
Redo the Identity/ConfigManager get options so they use maps where appropriate, rather than stupid string building
Remove all deprecated Identity/ConfigManager methods
Fixes issue 1335
git-svn-id: http://svn.dmdirc.com/trunk@4200 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
2f4dcd468f
Make the way identities are migrated much more sensible.
Issue 1122
git-svn-id: http://svn.dmdirc.com/trunk@4006 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
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
16 년 전
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
16 년 전
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
16 년 전
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
16 년 전
Gregory Holmes
763fd6351e
Added URLProtocolValidator unit test. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3915 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
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 년 전
Chris Smith
134e1a33fa
Identities initialised using streams now require two to be passed, as there doesn't seem to be a reliable way to read one twice...
Fixes issue 1123
Fixes issue 1124
Fixes issue 1125
git-svn-id: http://svn.dmdirc.com/trunk@3878 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
b63bad4464
Identities are once again being migrated properly
Fixes issue 1122
git-svn-id: http://svn.dmdirc.com/trunk@3876 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
94dc05d6b1
PreferencesSetting unit testing
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3868 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
45a5a37d27
Preferences unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3863 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
dae092e1f8
Fix bizarre unit test breakage
git-svn-id: http://svn.dmdirc.com/trunk@3805 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
4fecf78820
Basic PreferencesManager unit test
git-svn-id: http://svn.dmdirc.com/trunk@3643 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
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 년 전
Chris Smith
355816bc63
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3350 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
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
16 년 전
Chris Smith
3e1c99dcd5
Testy!
git-svn-id: http://svn.dmdirc.com/trunk@3261 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
1a352f8726
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3260 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
82ae588034
More unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3255 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
Chris Smith
a2a6d2bf5a
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3249 00569f92 -eb28-0410-84fd-f71c24880f
16 년 전
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 년 전
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 년 전