Chris Smith
def43bc05b
Make ConfigManager package private.
Change-Id: I751cbc2354ddb3ea9a431d5b85eed72d9764fed9
Reviewed-on: http://gerrit.dmdirc.com/3081
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
a335bf1208
Use config interfaces where possible.
Change-Id: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Depends-On: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Reviewed-on: http://gerrit.dmdirc.com/2768
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
c87f4de60a
Stop IdentityManager initialising itself.
Instead, have Main provide the instance which becomes the
singleton. This allows us to inject dependencies to it, and
construct it using dagger later, while keeping all of the
code that calls the static getIdentityManager() method working.
Change-Id: I4ceaa062c84509bed66824f39cca8e76d25d131c
Reviewed-on: http://gerrit.dmdirc.com/2677
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Greg Holmes
2c1653bfc4
Move formatter.formatDuration to utils
Fixes CLIENT-41
Change-Id: I8742650e3f2801470446590a32922bef32995fb8
Depends-On: I8269aab84413d3865975a6ca15dc656a525895ea
Depends-On: I5010c1c77247579e586e20a11a1a9b7b73b81307
Reviewed-on: http://gerrit.dmdirc.com/1929
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
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 years ago
Chris Smith
ac937abce3
Format 0 second durations correctly
Fixes issue 4165
Unit test for issue 4165
Change-Id: I844da30cdcd5233b07ab8435673b0806fb206448
Reviewed-on: http://gerrit.dmdirc.com/1283
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
79bfaf84b5
Styliser unit tests
Change-Id: Ia66894a79e8b213a0a078a2eadbe11ad8eb7bd5c
Reviewed-on: http://gerrit.dmdirc.com/795
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
b3009f3843
Unit test fiddling
Remove unreachable/unused test code
Change-Id: I2bfd2d7d3f37065f218afa09a67c38e4e91e7a10
Reviewed-on: http://gerrit.dmdirc.com/468
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@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
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
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 years ago
Chris Smith
b67d2e0edb
Formatter unit tests
Fix NPE when formatting unused null references
git-svn-id: http://svn.dmdirc.com/trunk@3404 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
c8fe911f28
Added basic formatter unit test
git-svn-id: http://svn.dmdirc.com/trunk@3390 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
4546fa6bd9
Remove some deprecated Formatter methods
git-svn-id: http://svn.dmdirc.com/trunk@2613 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
0f0899b8a5
Added license header to all tests
git-svn-id: http://svn.dmdirc.com/trunk@2375 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
bb0222d083
Fixed unit tests
git-svn-id: http://svn.dmdirc.com/trunk@2362 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
b037edd900
Remove config.init from unit tests
git-svn-id: http://svn.dmdirc.com/trunk@2224 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
065ab57e1b
Tests are now compatible with older JUnit style
git-svn-id: http://svn.dmdirc.com/trunk@1845 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
6730587f89
More work on dummy UI
git-svn-id: http://svn.dmdirc.com/trunk@1844 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
83bc9d6152
Fixed tests again (was being norty last time)
git-svn-id: http://svn.dmdirc.com/trunk@1686 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
81fa9af04a
Updated tests to initialise the config before using it
git-svn-id: http://svn.dmdirc.com/trunk@1684 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
97957acc12
Unit test stuff
Fixed some problems with the formatter
git-svn-id: http://svn.dmdirc.com/trunk@1598 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago