Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 gadus atpakaļ
Chris Smith
33bae9d01d
Rename PreferencesManager to PreferencesDialogModel
Change-Id: Ied76e21fbf72039d47ec2b35b236149c13941645
Depends-On: Ia126a15b60e54c08c1e780676fe363821e9b7518
Reviewed-on: http://gerrit.dmdirc.com/1591
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 gadus atpakaļ
Chris Smith
39693ea024
Rework how config sources handle invalid and disabled settings
Fixes CLIENT-46
Depends-On: I8434b810ba3ee5548467c3fd2b72faed4046a586
Change-Id: I79e9a19acf452c831ee6e671f50b54e8f674f2cd
Reviewed-on: http://gerrit.dmdirc.com/1569
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 gadus atpakaļ
Chris Smith
eafec02238
Make preferences manager use current UI
Fixes issue 4415
Change-Id: I52c7f76361f8b2fe4ebd38b00795e28ca4eee9e5
Reviewed-on: http://gerrit.dmdirc.com/1460
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
Chris Smith
fc78513b1a
Fix config target unit test
Change-Id: I138e3023f0f92edb1c43520628fd58d9f55e9fa8
Reviewed-on: http://gerrit.dmdirc.com/1236
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
Chris Smith
aefae882de
PreferencesCategory unit tests
15 gadus atpakaļ
Chris Smith
678e66a2a0
Unit tests for PreferencesManager.{save,dismiss}
15 gadus atpakaļ
Chris Smith
bfbb990796
Stop IdentityTest creating a dozen or so identities per run. Might fix
quite a few timeouts!
15 gadus atpakaļ
Chris Smith
67723bd27e
Remove unneeded import which breaks test compilation (oops!)
15 gadus atpakaļ
Chris Smith
7826058c90
Mock SettingChangeListener instead of using a harness
15 gadus atpakaļ
Chris Smith
302df8c64b
Remove TestPreferencesInterface in favour of mocking
15 gadus atpakaļ
Chris Smith
0e29292263
Get rid of TestConfigListener in favour of mocking them when needed
15 gadus atpakaļ
Chris Smith
cd627c22da
Replace AIC with mocked instance
15 gadus atpakaļ
Chris Smith
b75ce907b0
Remove TestChangeListener in favour of mocking
15 gadus atpakaļ
Chris Smith
97899794af
Remove TestActionListener in favour of mocking one up
15 gadus atpakaļ
Chris Smith
891d6d7dbc
Add mockito library
Add some minor validator tests
15 gadus atpakaļ
Chris Smith
a248ca7092
Test fixes
15 gadus atpakaļ
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 gadus atpakaļ
Chris Smith
f691e7ad16
Remove now-useless tests
15 gadus atpakaļ
Chris Smith
3337772fe8
PreferencesSettings may no longer take a fallback
15 gadus atpakaļ
Chris Smith
b3af85eb82
Fix prefs manager test, maybe
15 gadus atpakaļ
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 gadus atpakaļ
Chris Smith
aa46720195
Fix broken unit tests
git-svn-id: http://svn.dmdirc.com/trunk@4829 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
Chris Smith
c370dc6fae
Unit test for above
git-svn-id: http://svn.dmdirc.com/trunk@4468 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
Chris Smith
86523cf792
Misc unit testsa
git-svn-id: http://svn.dmdirc.com/trunk@4308 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
Gregory Holmes
763fd6351e
Added URLProtocolValidator unit test. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3915 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
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 gadus atpakaļ
Chris Smith
94dc05d6b1
PreferencesSetting unit testing
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3868 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
Chris Smith
45a5a37d27
Preferences unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3863 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
Chris Smith
dae092e1f8
Fix bizarre unit test breakage
git-svn-id: http://svn.dmdirc.com/trunk@3805 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
16 gadus atpakaļ