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 >
před 14 roky
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
před 15 roky
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
před 15 roky
Chris Smith
990797b148
Update some util unit tests
TextFile now throws a UOE if you try to delete a file if it was constructed with an InputStream (consistent with the behaviour of writeLines)
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3880 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
0fa4e23c8f
Implement ConfigFile.delete and TextFile.delete, and tests for them both
Added unit test for TextFile.writeLines
Fixes issue 1115, work on issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3853 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
1485c865bb
TextFiles/ConfigFiles can now be instansiated with InputStreams
Themes can now read metadata
Issue 1068
Fixes issue 1075 (dev error)
git-svn-id: http://svn.dmdirc.com/trunk@3759 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
d82b7a01c1
TextFile and ConfigFile can now be initialised with a URI
Added basic unit test for TextFile
git-svn-id: http://svn.dmdirc.com/trunk@3418 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
1d5630f8d7
My favourite hobby — unit tests!
git-svn-id: http://svn.dmdirc.com/trunk@3278 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
Chris Smith
a2a6d2bf5a
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3249 00569f92 -eb28-0410-84fd-f71c24880f
před 16 roky
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
před 16 roky
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
před 16 roky
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
před 17 roky
Chris Smith
0f0899b8a5
Added license header to all tests
git-svn-id: http://svn.dmdirc.com/trunk@2375 00569f92 -eb28-0410-84fd-f71c24880f
před 17 roky
Chris Smith
16657569c6
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@2155 00569f92 -eb28-0410-84fd-f71c24880f
před 17 roky