Actions may now specify a concurrency group, and all actions within
that group will be executed in serial. This allows for actions that
test a property and then go on to change it, which are vulnerable
to concurrency issues.
Fixes issue 2644
Change-Id: I08de8bef6c8ab7f9da9339942f7f4cb8cf807a83
Reviewed-on: http://gerrit.dmdirc.com/384
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
ServerManager.getServerFromFrame - why use O(1) when you can have O(n)?!
UIController.getActiveServer - moved to WindowManager
Change-Id: Idd67962f0d733720a0d0fdf73c2fa3e04a15cf77
Reviewed-on: http://gerrit.dmdirc.com/375
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
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>
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>
- If the submodule doesn't eixst yet, then submodule update is called
- If the submodule points at the right commit then nothing happens.
- If the submodule is pointed at any other commit, this script will attempt to rebase.
- If the rebase fails (for any reason!) then the local HEAD is used rather than just switching to whatever upstream uses.
All automatic updating is disabled by default.
Set submodule.update=true in private.properties to enable.
Change-Id: I9f370a33001bbfea5079687a41cc9cbfa07eea33
Reviewed-on: http://gerrit.dmdirc.com/326
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
xvfb.disable=true will allow building without, even if xvfb is found.
Fixes issue 3422
Change-Id: I012bdfc694da10eac9a5afd1346841c4164ac386
Reviewed-on: http://gerrit.dmdirc.com/328
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
If submodule.noupdate=true is defined in private.properties, then the user is responsible for updating submodules themselves rather than having it handled automatically.
Fix ant complaining about modules/plugins/lib not existing if it hasn't been checked out yet.
Change-Id: Iba429fcdee0d4b9e546101c1a28dffb32ffbb842
Reviewed-on: http://gerrit.dmdirc.com/325
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>