Chris Smith
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
2edf699e02
Introduce command contexts.
Fixes issue 4152
Fixes issue 4002
Change-Id: I664124ecb0994a808e2de359a38507c3b5f16452
Reviewed-on: http://gerrit.dmdirc.com/1250
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
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
Chris Smith
5334959656
Commands now use containers not windows
Fixes issue 3998
Change-Id: I901ed80272a445f2bd303a01e842e6f50cc5ae04
Reviewed-on: http://gerrit.dmdirc.com/1116
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@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
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
Chris Smith
1a248277ae
Fix /mode command unit test
Change-Id: I30be0d8d9431fbff78ed1bbc0e3e56c19899f8ec
Reviewed-on: http://gerrit.dmdirc.com/113
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
32cf9f348f
Update unit tests for URI changes
Change-Id: I0dd005540f126b40c4d7f61384236ec21cfe5730
Reviewed-on: http://gerrit.dmdirc.com/57
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
f55a6902f2
Issue 2736.
15 years ago
Chris Smith
ed4593bf1e
Minor tidying, unbreak unit tests (apparently refactors don't apply to them?!)
15 years ago
Chris Smith
1b1dcbb8ce
Under 300 errors!
15 years ago
Chris Smith
54125d2f8e
Parser abstraction. What more do you want me to say?
15 years ago
Chris Smith
038fdfbd8f
Abstract CommandInfos somewhat
15 years ago
Chris Smith
c459267c1e
Added unit test for /kick
15 years ago
Chris Smith
ec1be119f6
Minor unit test changes
15 years ago
Chris Smith
a3805efd4f
/part unit test
15 years ago
Chris Smith
94b5c835f1
Add junitreports to .gitignore
Add unit test for /names command
15 years ago
Chris Smith
a6b420b787
Add unit test for /mode and fix bug with external invocations not
working (oops!)
15 years ago
Chris Smith
504d813f06
Test /server command execution
15 years ago
Chris Smith
3855f821f4
Get rid of TestInputWindow
15 years ago
Chris Smith
f7d6b6a0fa
Mock MessageTargets instead of using a harness
15 years ago
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Chris Smith
c33fd01752
Initial work on moving to CommandArguments
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Chris Smith
dae7e615ae
/server and /newserver now validate their ports
Issue 1106, Fixes issue 1172
git-svn-id: http://svn.dmdirc.com/trunk@3970 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
d1fe7ee2d0
CommandParser unit test
git-svn-id: http://svn.dmdirc.com/trunk@3827 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
a957a8cb10
Unit tests++
git-svn-id: http://svn.dmdirc.com/trunk@3809 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
8706edabbd
Added tests for a bunch of commands to ensure they output usage instructions when passed too few args
Added test to check that each command that can be shown in /help starts its help text with the command name
git-svn-id: http://svn.dmdirc.com/trunk@3494 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
9483b314dc
Couple of test cases
git-svn-id: http://svn.dmdirc.com/trunk@3248 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
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
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