Gregory Holmes
7554ce3ce0
fixes unit test
15 years ago
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Chris Smith
7912d6fe02
Initial work on moving UI to a plugin
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Gregory Holmes
9c5045e528
random updates
15 years ago
Chris Smith
1c1a83ff09
Additional unit test
git-svn-id: http://svn.dmdirc.com/trunk@4433 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
3bf51de053
Intelligent linking: bracket matching code can now span hyperlinks
Fixes issue 1551
git-svn-id: http://svn.dmdirc.com/trunk@4432 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
01857f0506
Fixes issue 1466 (intelligent linking erroneously stripping )s)
git-svn-id: http://svn.dmdirc.com/trunk@4384 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
042a388378
Fixes issue 1450 (intelligent url linking linking protocols on their own)
git-svn-id: http://svn.dmdirc.com/trunk@4366 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
45cd47da04
Intelligent linking:
Merge regexps for single and double quotes
Improve quote regexp to not affect the start position of links, just the end
Add new regexp to ensure that links don't break out of containing quotes
Fixes issue 1445
git-svn-id: http://svn.dmdirc.com/trunk@4353 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
774f865dbe
(Disabled) unit tests for issue 1445
git-svn-id: http://svn.dmdirc.com/trunk@4351 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
60a0d447c1
Intelligent linking improvements:
+ is now allowed in schemes (e.g. svn+ssh://..)
/ is now a stop char for www. urls (e.g. /foo/bar/www.foo.com/foo won't link)
Fixes issue 1443
git-svn-id: http://svn.dmdirc.com/trunk@4348 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
abed7d6778
Added extensive unit testing for styliser (finally!)
git-svn-id: http://svn.dmdirc.com/trunk@4325 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
78ca5a7191
Intelligent linking now includes ! in trailing punct
Fixes issue 1372
git-svn-id: http://svn.dmdirc.com/trunk@4261 00569f92 -eb28-0410-84fd-f71c24880f
16 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
021ecde23a
Unsetting colours now reverts them (+ unit test)
Fixes issue 1136, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3900 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
e49ace7c80
Added unit test for custom colours
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3891 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
59b4a059bf
Update intelligent linking to include "?" in the trailing punctuation regex
Added a couple more test cases to test the trailing punctuation behaviour
git-svn-id: http://svn.dmdirc.com/trunk@3545 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
f946f7dd89
Pull the intelligent linking tests into their own parameterised test
git-svn-id: http://svn.dmdirc.com/trunk@3496 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
1d5630f8d7
My favourite hobby — unit tests!
git-svn-id: http://svn.dmdirc.com/trunk@3278 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
82ae588034
More unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3255 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
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 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
d177ce35f9
Styliser linking is now tested properly
git-svn-id: http://svn.dmdirc.com/trunk@2433 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
954cebc573
Fixed styliser unit test
git-svn-id: http://svn.dmdirc.com/trunk@2428 00569f92 -eb28-0410-84fd-f71c24880f
17 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
Shane Mc Cormack
df5c095765
Repackaged unit tests
git-svn-id: http://svn.dmdirc.com/trunk@1298 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
c9aa749bac
Moved unit tests
git-svn-id: http://svn.dmdirc.com/trunk@1297 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago