Chris Smith
b354ebdb70
Move old config interfaces into config folder.
Change-Id: I8d791451ead4b37f9181a9741e127cbc8b514d46
Depends-On: I94416680dfa9f0ee4896f5a6518889c6eb891909
Reviewed-on: http://gerrit.dmdirc.com/2754
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anos atrás
Chris Smith
861fe41dfb
Fix tests that don't work in parallel.
Make the ColourManager into a proper class so it can have
dependencies, just like a real boy.
Change-Id: Ib49f046f7dee6f240cb0970603b4fcd3d71f3cba
Reviewed-on: http://gerrit.dmdirc.com/2696
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anos atrás
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 anos atrás
Shane Mc Cormack
792f3cc7dc
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.
Change-Id: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Depends-On: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2520
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 anos atrás
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 anos atrás
Chris Smith
ebbd1daff5
Import fixing!
Change-Id: Ia90cb759b0777cf8d30eb6bfe30a5bece0105d24
Reviewed-on: http://gerrit.dmdirc.com/2281
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 anos atrás
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
Chris Smith
bfbb990796
Stop IdentityTest creating a dozen or so identities per run. Might fix
quite a few timeouts!
15 anos atrás
Chris Smith
0e29292263
Get rid of TestConfigListener in favour of mocking them when needed
15 anos atrás
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 anos atrás
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 anos atrás
Chris Smith
aa46720195
Fix broken unit tests
git-svn-id: http://svn.dmdirc.com/trunk@4829 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
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 anos atrás
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 anos atrás
Chris Smith
02eecebc72
Tests now use JUnit 4.x annotations
Removed useless imports and javadoc from tests
git-svn-id: http://svn.dmdirc.com/trunk@2376 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás
Chris Smith
0f0899b8a5
Added license header to all tests
git-svn-id: http://svn.dmdirc.com/trunk@2375 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás
Gregory Holmes
be20a2faaa
Renamed identities tests
git-svn-id: http://svn.dmdirc.com/trunk@1683 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás
Shane Mc Cormack
df5c095765
Repackaged unit tests
git-svn-id: http://svn.dmdirc.com/trunk@1298 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás
Shane Mc Cormack
c9aa749bac
Moved unit tests
git-svn-id: http://svn.dmdirc.com/trunk@1297 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás
Chris Smith
b8dde8630a
Fixed NPE in IdentityManager and fixed bug in the identity's unit test
git-svn-id: http://svn.dmdirc.com/trunk@864 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás
Chris Smith
ef6081e09e
Added unit test for Identity
Fixed bug where identity files were wiped every time buildIdentity() was used
git-svn-id: http://svn.dmdirc.com/trunk@822 00569f92 -eb28-0410-84fd-f71c24880f
17 anos atrás