Chris Smith
00c1d586cd
Unit test for issue 1583
git-svn-id: http://svn.dmdirc.com/trunk@4715 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
0ef104d68b
Rename UITest to UITestIface so JUnit doesn't try to run it as a test (despite it being an interface...)
Some new AED tests
git-svn-id: http://svn.dmdirc.com/trunk@4709 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
c85a6d6018
Add a custom JUnit runner for UI tests that catches FEST-Swing's ActionFailedException and retries the test up to 5 times
Remove delay between test events
git-svn-id: http://svn.dmdirc.com/trunk@4708 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Gregory Holmes
6f191dec3c
fix the test case, needs more work testing the other items now
git-svn-id: http://svn.dmdirc.com/trunk@4595 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
d0a27e202d
AMD/AED unit tests
Remove ButtonTextFinder util in favour of JButtonByTextMatcher
git-svn-id: http://svn.dmdirc.com/trunk@4524 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
1101bc1f6a
AMD unit test now clears up after itself properly
Check that newly added groups are selected, rather than forcing the selection ourself
git-svn-id: http://svn.dmdirc.com/trunk@4517 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
975fc37ed2
Increase delay between events in AMD test to try and fix intermittent bug
git-svn-id: http://svn.dmdirc.com/trunk@4495 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
0a934797f7
AMD unit testing++
git-svn-id: http://svn.dmdirc.com/trunk@4469 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
c97d9c495c
And without dodgy waiting?
git-svn-id: http://svn.dmdirc.com/trunk@4465 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
168a9e348e
Let's try tha
git-svn-id: http://svn.dmdirc.com/trunk@4464 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
47ad39757c
Let's try unit testing the AMD again!!!
git-svn-id: http://svn.dmdirc.com/trunk@4463 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
1c1a83ff09
Additional unit test
git-svn-id: http://svn.dmdirc.com/trunk@4433 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
Chris Smith
a1695eb9ab
I give up
git-svn-id: http://svn.dmdirc.com/trunk@4431 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
42aa5b977d
Lame hacks++
git-svn-id: http://svn.dmdirc.com/trunk@4430 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
a56f9cd7a2
Lame hacks++
git-svn-id: http://svn.dmdirc.com/trunk@4429 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
e406e35525
10th or so time lucky?
git-svn-id: http://svn.dmdirc.com/trunk@4428 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
8886f926e8
grr
git-svn-id: http://svn.dmdirc.com/trunk@4427 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
3a429f3246
Add debugging to annoying unit testn
git-svn-id: http://svn.dmdirc.com/trunk@4425 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
1ccf4e7bd6
Disable breaking bits of test until I can look at it tomorrow
git-svn-id: http://svn.dmdirc.com/trunk@4424 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
03b6295816
ActionManagerTest now removes its groups when the test has finished, to appease the grand muppet
ActionsManagerDialogTest also does the same, and uses the ClassFinder harness instead of an AIC
git-svn-id: http://svn.dmdirc.com/trunk@4423 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
0721852c48
Some ui test harnesses
Crazy ass AMD test
git-svn-id: http://svn.dmdirc.com/trunk@4422 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
1d76875ef0
Added crazy mainframe unit test, and fest libs to test it. Incoming bamboo breakage!
git-svn-id: http://svn.dmdirc.com/trunk@4420 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
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 lat temu
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 lat temu
Chris Smith
774f865dbe
(Disabled) unit tests for issue 1445
git-svn-id: http://svn.dmdirc.com/trunk@4351 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
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 lat temu
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 lat temu
Chris Smith
cae8773e08
Using nulls in unit tests is all well and good until you go and add code which tries to dereference them.
git-svn-id: http://svn.dmdirc.com/trunk@4207 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
8fbd16a57e
WindowManager unit test (issue 1106)
git-svn-id: http://svn.dmdirc.com/trunk@3957 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
f3f2730394
Format UIUtilities test to be consistent with other tests
git-svn-id: http://svn.dmdirc.com/trunk@3913 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Gregory Holmes
9881776e39
Added UIUtilities unit test. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3912 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
Chris Smith
aeebbf0c6a
Additional IgnoreList unit tests
ProcessModeTest now tests numeric 324 (channel mode discovery)
ProcessNamesTest now tests nicks with multiple and no channel modes
ArrayListTransferHandlerTest now tests copying as well as moving
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3906 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
Chris Smith
ecd734e147
Update ArrayListTransferHandlerTest to test new behaviour
git-svn-id: http://svn.dmdirc.com/trunk@3896 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
fb1fae4186
Added unit tests for ArrayListTransfer*
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3893 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
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 lat temu
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 lat temu
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 lat temu
Chris Smith
c8fe911f28
Added basic formatter unit test
git-svn-id: http://svn.dmdirc.com/trunk@3390 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
1d5630f8d7
My favourite hobby — unit tests!
git-svn-id: http://svn.dmdirc.com/trunk@3278 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
Chris Smith
1a352f8726
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3260 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
Chris Smith
82ae588034
More unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3255 00569f92 -eb28-0410-84fd-f71c24880f
16 lat temu
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 lat temu
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 lat temu