Chris Smith
7c07f22077
Add new test harness class
Change-Id: Ib757d21e2619855308019c7bcec543c532851634
Reviewed-on: http://gerrit.dmdirc.com/1795
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
675c52357b
Rework how window closing works
Fixes CLIENT-82
Change-Id: I4ea9fbf6c939a5b16f15ade230255b948e210c2c
Depends-On: I97f44a9269288f876a7a71b412302cec4238d9d4
Reviewed-on: http://gerrit.dmdirc.com/1600
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
39693ea024
Rework how config sources handle invalid and disabled settings
Fixes CLIENT-46
Depends-On: I8434b810ba3ee5548467c3fd2b72faed4046a586
Change-Id: I79e9a19acf452c831ee6e671f50b54e8f674f2cd
Reviewed-on: http://gerrit.dmdirc.com/1569
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
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
b218425541
Fix unit tests not compiling
Change-Id: I1714342aa223c2cc9d6d995c36e90961804cb975
Reviewed-on: http://gerrit.dmdirc.com/1138
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
bec66870a7
Window titles are now handled by the core
Fixes issue 3996
Change-Id: I562e5db0da3af91b880cd98c9af11712750bf9f0
Reviewed-on: http://gerrit.dmdirc.com/1118
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: 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
ae480614fd
Fix writable frame container harness
Change-Id: I07bc51e40d5775439e6abf02bb7b0b8719675374
Reviewed-on: http://gerrit.dmdirc.com/924
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
a032a667eb
Move CipherUtils into config package
It's not a general purpose util, and will only be used by the config system.
Change-Id: I2d0ac5ea23d8b7d0fcda6e467ddcf4ac08bc520a
Reviewed-on: http://gerrit.dmdirc.com/731
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
db7fdb4d73
Unit test changes
Move parser and UI harness classes into respective modules
Change-Id: I9ffefddc27ea8ef5deb887a2b9ab400b77c0196e
Reviewed-on: http://gerrit.dmdirc.com/456
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
2855eebbe4
Update junit, replace mockito
Not sure why mockito was moved out of the main lib
Remove UI runner hacks for now (don't work with JUnit >4.1)
Change-Id: I88bfaa42da1273681f1b8415f8e7f59184ad2399
Reviewed-on: http://gerrit.dmdirc.com/357
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
450389ebe6
Fix broken unit tests
Change-Id: Ida646aa780dacbce74a6a942a455105f72654377
Reviewed-on: http://gerrit.dmdirc.com/218
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Reviewed-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
Shane Mc Cormack
e384423551
Desuck\!
15 years ago
Shane Mc Cormack
45543ec743
Fix ParserTest
15 years ago
Chris Smith
4d1685958b
Servers are now completely detached from IRC parser. Issue 2736.
15 years ago
Chris Smith
f55a6902f2
Issue 2736.
15 years ago
Chris Smith
3d572df7f8
Crazy callback abstraction
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
d2eed5cbf8
Lots of changes.
15 years ago
Chris Smith
038fdfbd8f
Abstract CommandInfos somewhat
15 years ago
Chris Smith
cc89540169
Move and rename all the parser interfaces
This results in supreme breakage
15 years ago
Chris Smith
13dc6e0542
Fix unit test shane broke
15 years ago
Chris Smith
5721d96614
Fix unit test. Issue 2410
15 years ago
Chris Smith
9b03397ef6
Initial work on unit test for profile manager dialog
15 years ago
Gregory Holmes
6dbacd1161
fix some unit tests, fix some other things i cant remember
15 years ago
Chris Smith
ee1e00a689
Unit test for issue 1674
15 years ago
Chris Smith
51eb754276
Fix unit test broken by parser changes.
15 years ago
Chris Smith
d451046d91
Some kind of stupid hacks to make the AMD tests work again
15 years ago
Chris Smith
85653883e9
Crazy unit test craziness
15 years ago
Chris Smith
9bcfb0302e
Start getting rid of stub parser classes
15 years ago
Chris Smith
3855f821f4
Get rid of TestInputWindow
15 years ago
Chris Smith
7826058c90
Mock SettingChangeListener instead of using a harness
15 years ago
Chris Smith
f7d6b6a0fa
Mock MessageTargets instead of using a harness
15 years ago
Chris Smith
302df8c64b
Remove TestPreferencesInterface in favour of mocking
15 years ago
Chris Smith
8d0b6c83a0
Replace TestFrameManager with a mock, make the WritableFrameContainer
harness close windows properly
15 years ago
Chris Smith
0e29292263
Get rid of TestConfigListener in favour of mocking them when needed
15 years ago
Chris Smith
b75ce907b0
Remove TestChangeListener in favour of mocking
15 years ago
Chris Smith
97899794af
Remove TestActionListener in favour of mocking one up
15 years ago
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Chris Smith
89ddbfdaa6
Fiddling with method deprecation
15 years ago
Chris Smith
41e6353563
Add hasOptionString and deprecate the public hasOption method (should be
made protected at a later stage)
15 years ago
Chris Smith
dd6d70c944
Fix broken unit test
15 years ago