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 years ago
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 years ago
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 years ago
Chris Smith
774f865dbe
(Disabled) unit tests for issue 1445
git-svn-id: http://svn.dmdirc.com/trunk@4351 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
16f1b1efe4
Fix stupid unit test name
git-svn-id: http://svn.dmdirc.com/trunk@4337 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ebc1e5722c
Added ChannelClientInfo unit test
git-svn-id: http://svn.dmdirc.com/trunk@4336 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
bb72f53946
Add unit test for issue 1420
git-svn-id: http://svn.dmdirc.com/trunk@4335 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
43d0ae8efe
Unit test for issue 1410
git-svn-id: http://svn.dmdirc.com/trunk@4318 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
86523cf792
Misc unit testsa
git-svn-id: http://svn.dmdirc.com/trunk@4308 00569f92 -eb28-0410-84fd-f71c24880f
16 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
528a24c637
ServerTest tests now use a TestParserFactory so they don't spam connect/disconnects stupidly fast
Added ChannelInfo unit tests to cover some mode setting behaviour
git-svn-id: http://svn.dmdirc.com/trunk@4305 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
f6a763bf99
Unit tests for issues 1391 and 1392 (and URLHandler in general)
Fix issue 1392 (various problems with quotes in URLs)
git-svn-id: http://svn.dmdirc.com/trunk@4288 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
5a263efc55
Added some basic logging plugin unit tests
git-svn-id: http://svn.dmdirc.com/trunk@4273 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
4daf219085
Added ActionListener and ParserFactory implementations to test harness package, and rejiggled TestParser a bit
Added a test for Server's parsing of numerics
git-svn-id: http://svn.dmdirc.com/trunk@4259 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
72bc4b6c66
Whoops. Fear the typo
git-svn-id: http://svn.dmdirc.com/trunk@4254 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
93a574362f
Parser unit tests. Fear the broken logic.
git-svn-id: http://svn.dmdirc.com/trunk@4253 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
dd3525ac71
Plugin unit tests
git-svn-id: http://svn.dmdirc.com/trunk@4249 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Shane Mc Cormack
fd631b77b7
Forgetting to save ftl. (Issue 1369)
git-svn-id: http://svn.dmdirc.com/trunk@4247 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Shane Mc Cormack
150539df55
Update tests to work with new PIs (Issue 1369)
git-svn-id: http://svn.dmdirc.com/trunk@4246 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
65fd3d686b
/me wonders if the plugin system was designed to be hard to unit test
git-svn-id: http://svn.dmdirc.com/trunk@4242 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
565e6c7f67
PluginInfo unit tests
git-svn-id: http://svn.dmdirc.com/trunk@4241 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago
Chris Smith
335e9c3629
Redo the Identity/ConfigManager get options so they use maps where appropriate, rather than stupid string building
Remove all deprecated Identity/ConfigManager methods
Fixes issue 1335
git-svn-id: http://svn.dmdirc.com/trunk@4200 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Shane Mc Cormack
3b985a18b3
Fix build.
Some code tidying (issue 1274)
git-svn-id: http://svn.dmdirc.com/trunk@4158 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
4eddb50f9c
Update unit test for new update component behaviour
git-svn-id: http://svn.dmdirc.com/trunk@4135 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
90b24d3077
Handle url handlers (heh) with quotes in properly.
Issue 1228
git-svn-id: http://svn.dmdirc.com/trunk@4064 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
2f4dcd468f
Make the way identities are migrated much more sensible.
Issue 1122
git-svn-id: http://svn.dmdirc.com/trunk@4006 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
47ceae6b4b
ConfigFile now extends TextFile instead of wrapping it rather oddly (groundwork for fixing issue 1154)
Fixed a couple of deprecated method uses in Server
Removed deprecated TextFile constructor
git-svn-id: http://svn.dmdirc.com/trunk@4005 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ed956b08ac
PreferencesManager and PreferencesSetting test now initialise the IdentityManager in their setUp methods, instead of in the test method, which somehow makes the IdentityManager magically work properly again. Issue 1106.
git-svn-id: http://svn.dmdirc.com/trunk@3989 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
c0704ef0c2
Random parsery unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3974 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
56e7336994
Unit test for parser port range checking
Issue 1171, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3973 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
73bd375b4e
Unit test for ParserError.isUserError
Issue 1161, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3972 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
f5d301589e
Add unit test for ActionGroupValidator that should've been made with it
Issue 1169, Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3971 00569f92 -eb28-0410-84fd-f71c24880f
16 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
Shane Mc Cormack
3bb58919dd
ChannelInfo mode optimisation (Also optimised ClientInfo)
Fixes issue 1109
Fixes issue 1108
git-svn-id: http://svn.dmdirc.com/trunk@3958 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
8fbd16a57e
WindowManager unit test (issue 1106)
git-svn-id: http://svn.dmdirc.com/trunk@3957 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
df80eedbf0
Additional ActionModel unit test
git-svn-id: http://svn.dmdirc.com/trunk@3954 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
Chris Smith
28d7d2a3fe
URLProtocolValidator no longer alters http protocol or expects the steam protocol to not exist ¬_¬
git-svn-id: http://svn.dmdirc.com/trunk@3937 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ca93bf333a
Added basic unit test for VLC plugin
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3926 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Shane Mc Cormack
fa0479c38e
Unignore unit test.
Issue 1141
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3925 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
0543899fed
Removed NullCallbacksTest, as the behaviour it tests is no longer present or needed (issue 1106)
Reworked the way the parser's callbackmanager.getCallbackType method works - instead of returning null if the callback type doesn't exist (which shouldn't happen in normal behaviour), it throws an exception
git-svn-id: http://svn.dmdirc.com/trunk@3922 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
fd4d184068
Added processNickTest. Uncomment failing ChannelInfo tests and @Ignore them instead
git-svn-id: http://svn.dmdirc.com/trunk@3918 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
7fdba4fb4f
another stab at fixing the URLProtocolValidator unit test, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3917 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
763fd6351e
Added URLProtocolValidator unit test. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3915 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
7d772cb5e7
Add DoubleMap unit test
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3914 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
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 years ago