Greg Holmes
20d6006a8b
Stop using package private method.
9 роки тому
Greg Holmes
b658d2d786
Add tests + fix profiles migrator.
9 роки тому
Greg Holmes
4195eb0ce8
Add tests for new ProfileManager method.
9 роки тому
Greg Holmes
8829be2e38
Mildly improve Profile model test.
9 роки тому
Greg Holmes
9404939c23
Fix unit tests.
9 роки тому
Greg Holmes
1c95501d9b
Fix failing test.
9 роки тому
Greg Holmes
8e9c2cee1a
Switch to Profiles.
9 роки тому
Greg Holmes
570d0910e3
Add events to ProfileManager, add tests.
9 роки тому
Greg Holmes
90951a7c36
Make some changed to the model to make a dialog workable.
9 роки тому
Greg Holmes
6b778e3b80
Add a mutableprofile and update the model a bit.
9 роки тому
Greg Holmes
27429cc063
Fix unit test.
Fix hand written YAML being rubbish.
Fix bad reading caused by bad YAML.
Generify asList casting.
9 роки тому
Greg Holmes
5242fca351
Improve tests, tidy up a little.
9 роки тому
Greg Holmes
624a8754fa
Add new Profile wrapper and basic store.
9 роки тому
Greg Holmes
f441f22daf
Move wrapper back.
Will write a new wrapper for the new model.
9 роки тому
Chris Smith
e128a5a9ad
Move messages package to ui.messages.sink
9 роки тому
Greg Holmes
cca99ffc1e
Change package.
9 роки тому
Greg Holmes
c0388b7bbc
Move Profile wrapper.
9 роки тому
Chris Smith
96323f56ea
Let ConfigBinders take a default domain.
This allows a default domain to be specified on a config binder,
which will allow plugins to use @ConfigBinding with their dynamic
domains.
9 роки тому
Greg Holmes
068941aa04
Fix unit test failing on windows.
9 роки тому
Chris Smith
c8ec0f77f9
Some OptionalConnection work.
Deprecate getConnection, fix CustomWindow's getOptionalConnection
returning null, change a couple of usages.
9 роки тому
Greg Holmes
5fbae6924b
Remove horrible hack.
9 роки тому
Greg Holmes
169b533be7
Add Unit test for MutableAutoCommand.
Also modify to check for equality between AutoCommand and MutableAutoCommand
9 роки тому
Greg Holmes
66a9f83c47
Add MutableAutoCommandTest
9 роки тому
Greg Holmes
245880962b
Add getOptionalConnection.
9 роки тому
Chris Smith
fbc50fb300
Fix tests.
9 роки тому
Chris Smith
d48b9e9f4b
Add tests for EventPropertyManager.
9 роки тому
Chris Smith
609bd1e94e
More formatter work.
Implement functions, add test.
Functions don't hugely need to be optional, we can just carry on
if the function is invalid.
9 роки тому
Chris Smith
7a2bec2538
Some work on event formatting.
Get properties by reflection. Use Optional as things can fail.
9 роки тому
Greg Holmes
e5f331f1b2
Add some methods to AutoCommandManager
9 роки тому
Chris Smith
f2f89a9c9f
Change optionals.
9 роки тому
Greg Holmes
8625562eaf
Switch to j8 Optional.
9 роки тому
Greg Holmes
8402f9acc7
Remove StatusBar.
9 роки тому
Greg Holmes
bc39d2c3af
Remove some statusbar manager uses.
9 роки тому
Chris Smith
04a20bade3
Make PluginMetaData use a Path for the plugin.
Make URLBuilder accept 'file:/..' URLs, which it used to like
prefixing with 'file://' again...
9 роки тому
Chris Smith
c5440b1144
Fix command tab completion in global window.
The way this works is icky, but the fix for the actual issue
is fairly straight forward.
Fixes #41
9 роки тому
Chris Smith
164680c001
Fix failures caused by static factory.
Can't register it separately for each test, as it'll just end up
using the first one. And the API doesn't let you remove factories :(
9 роки тому
Chris Smith
9b6133fa9a
Add some unit tests for ErrorReporter.
9 роки тому
Chris Smith
b05b3fda15
Change some more files to paths.
The updater code is horrid. In most cases I've just bailed out by
converting to a file.
Issue #24
9 роки тому
Chris Smith
10e207709c
Add normalise method to line position, unit test.
This is used by the TextPane Canvas. Makes sense to pull the
behaviour out and test it.
9 роки тому
Chris Smith
aa8437afbf
Start adding some ServerEventHandler tests.
Change-Id: I84ee00fedc3096de4ac500bf63a54d2b13209fe9
Reviewed-on: http://gerrit.dmdirc.com/4077
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Chris Smith
0d04b2f5bd
Add some more IdentityManager tests
Change-Id: Id7c65bb82cebaa33ef1642702a72465930e6bdf6
Reviewed-on: http://gerrit.dmdirc.com/4050
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Chris Smith
252f6702d1
Fix IdentityManager extraction, test.
Change-Id: Iad1d54ecebb7b3e5d13318ca2550ebc540cbd62b
Reviewed-on: http://gerrit.dmdirc.com/4044
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Chris Smith
b107fb8785
Start adding IdentityManager tests.
Change-Id: I66c8a3500310d214756f0c19a0fc26883d2da440
Reviewed-on: http://gerrit.dmdirc.com/4037
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Chris Smith
68fe71042b
Don't depend on the IRC parser...
Sensible build systems break when we do this! :)
Change-Id: I7ebd886556377ffaa002d8148a61399f8f97f981
Reviewed-on: http://gerrit.dmdirc.com/4026
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Chris Smith
8c4160a590
Rewrite the ConfigFileBackedConfigProviderTest.
(aka the "IdentityTest")
Make it a lot less dumb, use a virtual FS so we can test reloading
and saving. Fix a bunch of bugs the tests highlighted.
Only things not really tested are the global config specific
behaviours.
Change-Id: I96448eb9c401ce864cd6f39fd95088a4a8a09727
Reviewed-on: http://gerrit.dmdirc.com/4015
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Chris Smith
e9b7bc394a
Stupid.
Change-Id: Iabb2d0644fb4412ead64a4c28afa96b1809244bc
Reviewed-on: http://gerrit.dmdirc.com/4013
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Chris Smith
aefb110fff
Path-ify the IdentityManager.
Change-Id: Iaf2b64f2bd6dcf834e3621e26ae3ff6b81cdb2b4
Reviewed-on: http://gerrit.dmdirc.com/4007
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Chris Smith
2c2e7d6a6b
Make migrator use Path properly.
Finish unit tests.
Change-Id: I5dba46bccd147283d8389dcc3d2a4aadf4d827be
Reviewed-on: http://gerrit.dmdirc.com/4002
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Chris Smith
3e75d1029f
Allow injecting Paths not Files.
Make the ActionAliasMigrator use a Path, and add a basic
unit test. Need to make ConfigFile use paths to do anything
sensible.
Also refresh gradle libs in idea so JimFs shows up.
Change-Id: I0cb2692083d0fe117b91edce63d8417ddd74e288
Reviewed-on: http://gerrit.dmdirc.com/3999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Greg Holmes
3fac8a376f
Add test for YamlAutoCommandStore
Change-Id: I62a9d05c94a3e2d31466a04c775f3afbddb09cdc
Reviewed-on: http://gerrit.dmdirc.com/3995
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 роки тому