Chris Smith
f4bbdb48fe
Massive window changes.
Highlights:
- FrameContainers are now generic, according to their window type
- Writable frame containers now handle their tab completers
- Redirect plugin works again
- Windows are no longer actively requested from the UI; the UI
creates and adds them in response to events from the WindowManager
fixes issue 3997, fixes issue 4000, fixes issue 4012, fixes issue 4030
fixes issue 4027, fixes issue 4028, fixes issue 4029, fixes issue 4031
fixes issue 4032, fixes issue 4033
Change-Id: Ife307728e46bd3b6dcd189be6886ab8b6fbd9212
Reviewed-on: http://gerrit.dmdirc.com/1144
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Greboid
7b0c1f8cc3
Work on opening windows in the background
issue 141
issue 3570
Change-Id: Iafe1ca912fceec5f5251cf0bdbe539a93e625dbd
Reviewed-on: http://gerrit.dmdirc.com/1131
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
6588c4d9f8
Fix broken unit test
Change-Id: I466b5203c8455f7717f9bfe502d3aca7aa6c6d74
Reviewed-on: http://gerrit.dmdirc.com/1111
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
05fa4bf932
Channel linking improvements for commas
Fixes issue 3864
Unit test for issue 3864
Change-Id: Ie025d404d2d4eb80bc66aa0b7540ae67810907c9
Reviewed-on: http://gerrit.dmdirc.com/983
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
5c3b562ea5
Styliser method to get string between unstyled indicies
Fixes issue 2199
Unit test for issue 2199
Change-Id: I270fa7265766536f578d5a06c2e3fc274b61e37c
Reviewed-on: http://gerrit.dmdirc.com/753
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
0542faba35
Move URLHandler to ui.core.util
Change-Id: I42463f20214c269e4bed0f7a93f52dc80b83088c
Reviewed-on: http://gerrit.dmdirc.com/729
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
aec3c6373e
Misc channel linking unit test
Change-Id: I47688db87940a12fe13d2e24e3182154b7cbafa7
Reviewed-on: http://gerrit.dmdirc.com/540
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
37f092d1f2
Intelligent linking for channels
Fixes issue 1612
Change-Id: I26894e6c70ea34ea045d1c8b8149f0437d7e09b7
Reviewed-on: http://gerrit.dmdirc.com/534
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
a130e303c0
Update unit tests for Styliser changes
Change-Id: I8629a358ac76ae6017d7eef1231e358ffaa63e9d
Reviewed-on: http://gerrit.dmdirc.com/529
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
937b0a8f4a
Unit test for issue 3248
Change-Id: I003905af436e4cd97a46b49392db8acef7c4f84e
Reviewed-on: http://gerrit.dmdirc.com/469
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-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
Chris Smith
b6e02f0a30
Fix some unit tests
Change-Id: I2f14be0cecbc842b23dc3c99b5df257b8e6b0d53
Reviewed-on: http://gerrit.dmdirc.com/390
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
13937bd9ef
Update unit tests
TestParser now uses a URI constructor
Two parameterised tests no longer call IdentityManager.load() on every
parameter, as this tends to exhaust our file handle limit as the files
aren't closed quickly enough by Java...
Change-Id: I6a0e0992ffb409a66d06afe35e58cdf3878f7661
Reviewed-on: http://gerrit.dmdirc.com/356
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Gregory Holmes
187d17230c
Fix the unit tests shane broke
Change-Id: I03af2311e541d60711d2cc801128764fe384d6e7
Reviewed-on: http://gerrit.dmdirc.com/206
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Gregory Holmes <greboid@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
Greboid
b31dec4b6f
fixes issue 3036: Alter StyliserStylesTest to avoid Line class, make Line class package private
Change-Id: I8943d04c563a05a7f3643cafb9065f49aa3eec91
Reviewed-on: http://gerrit.dmdirc.com/8
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
15 years ago
Chris Smith
1b2ec9d230
Fix broken unit test
15 years ago
Chris Smith
2d9edc7605
Remove tabcompletionstyletest, as it's now an interface
15 years ago
Chris Smith
8d0b6c83a0
Replace TestFrameManager with a mock, make the WritableFrameContainer
harness close windows properly
15 years ago
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
Gregory Holmes
83dbe899fa
fixes issue 1966
15 years ago
Gregory Holmes
ef624a9dfb
Fix unit test for previous commit
15 years ago
Gregory Holmes
d07cb73e8a
fix ssl certificate unit test
16 years ago
Gregory Holmes
4c1b87ff41
issue 52
16 years ago
Chris Smith
bdadc7021e
Fine, disable tests
git-svn-id: http://svn.dmdirc.com/trunk@4846 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
4051c9d814
Random delays to prevent possible timing issues?
(aka, "I don't know what's wrong, so let's sleep randomly")
git-svn-id: http://svn.dmdirc.com/trunk@4844 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
b7115231ab
Refactor InputTextFrame to separate clipboard interfacing from paste logic
Tests for ITF no longer need a clipboard
Does not impact functionality
git-svn-id: http://svn.dmdirc.com/trunk@4843 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
100ee42985
Unit test for issue 1845
git-svn-id: http://svn.dmdirc.com/trunk@4842 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
82067938d3
Adding files probably helps
git-svn-id: http://svn.dmdirc.com/trunk@4841 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
1e90086491
Moved JRadioButtonByTextMatcher into the harness package, where it should be
git-svn-id: http://svn.dmdirc.com/trunk@4839 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
b5737ff0a6
enabled unit test on SSL certificate dialog
git-svn-id: http://svn.dmdirc.com/trunk@4815 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
aba374e63a
Partial unit testing for our latest broken dialog
git-svn-id: http://svn.dmdirc.com/trunk@4812 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
a2b4513da5
Unit test for issue 1783
git-svn-id: http://svn.dmdirc.com/trunk@4742 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
2d32b2345c
Unit test for issue 1788
git-svn-id: http://svn.dmdirc.com/trunk@4740 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
62fd97005b
Unit test issue 1768
UI test runner now unwraps invocation target exceptions properly
git-svn-id: http://svn.dmdirc.com/trunk@4738 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
00c1d586cd
Unit test for issue 1583
git-svn-id: http://svn.dmdirc.com/trunk@4715 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Chris Smith
0a934797f7
AMD unit testing++
git-svn-id: http://svn.dmdirc.com/trunk@4469 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
c97d9c495c
And without dodgy waiting?
git-svn-id: http://svn.dmdirc.com/trunk@4465 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
168a9e348e
Let's try tha
git-svn-id: http://svn.dmdirc.com/trunk@4464 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago