Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Shane Mc Cormack
4edc853bbf
Desingleton PluginManager (and as a side-effect, ServerManager).
Depends-On: I72fe837b5ea2352ae0c695948336efcdd92c09c8
Change-Id: I4a3d9b78a5f80aab0330d0906e8c76d00813c97c
Reviewed-on: http://gerrit.dmdirc.com/2523
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Shane Mc Cormack
792f3cc7dc
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.
Change-Id: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Depends-On: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2520
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Chris Smith
345fe77ea7
Ignore or remove tests that fail in a headless env
These need to be rewritten so the dependencies are mocked out
Change-Id: Id8890637da5483efaa112db7613e61fba366e878
Reviewed-on: http://gerrit.dmdirc.com/2378
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
41304ccecb
More deprecation fixes
Change-Id: If418fcbcafa64857e6a656bee08fef7399b6a2e3
Reviewed-on: http://gerrit.dmdirc.com/2280
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
acdd8268bc
Remove deprecations.
Depends-On: Ic938a7785a30477f47074e574ec8311723d803a9
Change-Id: I5ebf0bd52682cd0b1798d1b1b54353e5e65e793f
Reviewed-on: http://gerrit.dmdirc.com/1838
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.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
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
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
0487e3fddf
Fix failing unit test
Change-Id: Iaa0100a881d01e99e8b5f8aef86749bd47a851b7
Reviewed-on: http://gerrit.dmdirc.com/1043
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
19f343c2c6
Stop using Server.getName() for identities etc
Fixes issue 3938
Change-Id: I57b7de0d981d86a4ba26c4acbadec63dbcc3a623
Reviewed-on: http://gerrit.dmdirc.com/1033
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@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
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
3e8d7c6ea2
Servers no longer autoconnect.
Fixes issue 2227; fixes issue 2807 (dev error)
15 years ago
Chris Smith
f55a6902f2
Issue 2736.
15 years ago
Chris Smith
043966febb
Fixes issue 2604
Unit test for issue 2604
15 years ago
Chris Smith
976551bc89
Unit test fiddling
15 years ago
Chris Smith
cea2afb264
Extra tests for ServerManager
15 years ago
Chris Smith
ec1be119f6
Minor unit test changes
15 years ago
Chris Smith
2165faa4cd
Fix some tests post UI changes
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
Chris Smith
ba1bc66ddd
TestParser and TestParserFactory can now fiddle a network name into the 005s
ServerManager unit tests now use TestParser to prevent rapid connection/disconnection to illegal addresses
Added unit test for ServerManager.getServersByNetwork
git-svn-id: http://svn.dmdirc.com/trunk@4307 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
c8400c2a53
Unit tests (ServerManager, Process004005, ProcessJoin)
Tidied up some logic in ConditionTree, and removed unneccesary asserts
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3949 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
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
2a24cde6ef
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@2157 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
98d5f11727
Server Manager Test now forces the dummy UI by default
git-svn-id: http://svn.dmdirc.com/trunk@1851 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
Gregory Holmes
be20a2faaa
Renamed identities tests
git-svn-id: http://svn.dmdirc.com/trunk@1683 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
3c89ed5977
Unit test fix for window changes
git-svn-id: http://svn.dmdirc.com/trunk@1554 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
c3b393f3ab
Added unit test for Update
Updated ServerManagerTest to junit 4 and added test for numServers/getServers
git-svn-id: http://svn.dmdirc.com/trunk@1443 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
Chris Smith
a0688b57a8
Fixed the ServerManager unit test to use profile 0 not 1
git-svn-id: http://svn.dmdirc.com/trunk@771 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
311810fd55
Added some unit testing for ServerManager. Fixed scope in Styliser to allow tests to run...
git-svn-id: http://svn.dmdirc.com/trunk@759 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago