Chris Smith
976551bc89
Unit test fiddling
15 anos atrás
Chris Smith
a9bfd55072
I wonder why that was ignored. If things explode, blame DF!
15 anos atrás
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 anos atrás
Chris Smith
06685dc561
Fix IRC Address test
15 anos atrás
Chris Smith
7912d6fe02
Initial work on moving UI to a plugin
15 anos atrás
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 anos atrás
Chris Smith
fe13008365
Ignore IrcAddressTest.Connect as it seems to break the jvm now(?!)
15 anos atrás
Chris Smith
366b474e7a
Add unit test for RollingList
git-svn-id: http://svn.dmdirc.com/trunk@4418 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
f6a763bf99
Unit tests for issues 1391 and 1392 (and URLHandler in general)
Fix issue 1392 (various problems with quotes in URLs)
git-svn-id: http://svn.dmdirc.com/trunk@4288 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
90b24d3077
Handle url handlers (heh) with quotes in properly.
Issue 1228
git-svn-id: http://svn.dmdirc.com/trunk@4064 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
47ceae6b4b
ConfigFile now extends TextFile instead of wrapping it rather oddly (groundwork for fixing issue 1154)
Fixed a couple of deprecated method uses in Server
Removed deprecated TextFile constructor
git-svn-id: http://svn.dmdirc.com/trunk@4005 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
7d772cb5e7
Add DoubleMap unit test
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3914 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
971603925a
Extra ConfigFile test cases. Removed some superfluous conditionals in ConfigFile.
issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3889 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
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
16 anos atrás
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
16 anos atrás
Chris Smith
0e47e54b08
ConfigFile now escapes #
git-svn-id: http://svn.dmdirc.com/trunk@3789 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
8905c5cab0
ConfigFile now escapes/unescapes content vaguely sensibly, although it still doesn't like =s
git-svn-id: http://svn.dmdirc.com/trunk@3786 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
466200a6e1
Update config file test to cover odd things like :, =, \r, \n, \
git-svn-id: http://svn.dmdirc.com/trunk@3785 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
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
16 anos atrás
Chris Smith
e460dddf94
IrcAddress now parses the query and fragment parts of URIs
Fixes issue 944
Added unit test to test behaviour described in 944
git-svn-id: http://svn.dmdirc.com/trunk@3560 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Gregory Holmes
75d0438bdc
Fixes issue 887: Cipher utils doesn't work
Added Base64 Encoding/Decoding class (http://www.migcomponents.com/ )
git-svn-id: http://svn.dmdirc.com/trunk@3471 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
4a94398035
Made cipher utils a singleton instead of having loads of static methods/properties
Fixed some stupid mistakes in cipher utils
Added basic cipher utils unit test (which fails)
git-svn-id: http://svn.dmdirc.com/trunk@3470 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
54236284a0
IrcAddress now uses URI to parse URLs. This means that encoded characters are now decoded properly.
Fixes issue 763.
git-svn-id: http://svn.dmdirc.com/trunk@3451 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
24ba8d268f
IrcAddress now ignores trailing "isnick", "needkey" and "needpass" strings
Issue 763
git-svn-id: http://svn.dmdirc.com/trunk@3448 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
569454a89b
Additional MapList unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3422 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
13579c6d61
Unit tests for ConfigFile
git-svn-id: http://svn.dmdirc.com/trunk@3421 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
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
16 anos atrás
Chris Smith
e8d443b1e7
Bet you can't guess what these are!
Hint: they being with "un" and end in "sts" (and aren't "unisex vests")
git-svn-id: http://svn.dmdirc.com/trunk@3263 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás
Chris Smith
82ae588034
More unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3255 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
Chris Smith
0342f857ef
Added EquatableWeakReference to make up for Sun's crap (Weak)Reference implementation
Added unit tests for MapList and WeakList
git-svn-id: http://svn.dmdirc.com/trunk@2872 00569f92 -eb28-0410-84fd-f71c24880f
16 anos atrás