benwoo1110
425b1c80cc
Update to all use static logging.
2020-12-12 10:49:49 +08:00
Jeremy Wood
864e50e38c
Add TestingMode util.
2020-10-06 15:07:56 -04:00
benwoo1110
e1494808f3
Fixed inability to clone due to unable to copy session.lock ( #2392 )
...
* Added ability to exclude files when copying folders
* Remove wildcard imports
* Added unit testing for ignoring files as well
Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-08-27 08:47:57 -04:00
Jeremy Wood
d3ff2922fd
World cloning should work once again! Resolves #1978 .
2019-08-23 15:27:45 -04:00
Jeremy Wood
5e2824abeb
Prevent importing worlds without .dat file. Fixes #1917 .
2019-08-15 21:15:45 -04:00
Jeremy Wood
7762aca019
Removed commons-io as compile dependency to fix weird pom issues.
2019-02-02 00:53:51 -05:00
Jeremy Wood
4bdeacfd05
Updated testing dependencies and maven plugins.
2019-01-24 01:00:42 -05:00
Jeremy Wood
01f549f408
Updated Multiverse-Core for Bukkit 1.13.2.
2019-01-23 23:50:47 -05:00
Eric Stokes
f5e8a9c2e8
Fixed deprecated assertTrue call in TestInstanceCreator
2016-11-19 15:44:07 -07:00
Eric Stokes
3364709e53
Fixed deprecated use (since it's going away in 1.11)
...
* MultiverseCore constructor shouldn't be deprecated, it just needed a fix.
* Removed TestPluginLoader, it should have been mocked anyway.
* New constructor takes a JavaPluginLoader instad of a PluginLoader, so
we'll have to mock.
You can't win, Java. If you make it `final`, I shall become more powerful
than you can possibly imagine.
2016-11-19 15:43:44 -07:00
Eric Stokes
f3a420d85c
Added additional properties to the test checks for world properties
2016-11-19 14:18:12 -07:00
rlf
8fdc0ad3da
Fixed failing tests (thanks @rlf)
...
* This is the test fixing portion of PR#1746
* This fixes using a HashMap and relying on the order of the values.
2016-11-19 13:51:11 -07:00
Jeremy Wood
fadb3280e3
Updated testing framework to work with bukkit changes.
2015-07-14 14:50:47 -04:00
main()
0fb33d12d6
Now mocking plugin.getLogger() in the tests.
...
Fixes the test issues with AllPay.
2013-03-02 12:31:31 +01:00
Jeremy Wood
0c7ba2ae67
Fixed tests for entity purger changes.
2012-11-14 15:52:21 -05:00
Jeremy Wood
4780f87278
Now uses world UUID to retrieve world reference.
2012-11-14 14:24:10 -05:00
Jeremy Wood
7d1c47c2fc
Shifted world properties to its own class WorldProperties so we can now only initialize an MVWorld if there is a 'more solid' world reference. Let's hope this works! Should fix #947
2012-11-13 17:30:35 -05:00
Jeremy Wood
f210851294
Changed how we deal with CB world reference. Partially fixes #923 .
2012-11-05 13:02:03 -05:00
Eric Stokes
009ceeeede
Fixed #918 , Update to RB
...
Also added a test for #918 , I probably need one more (to test that generators DO work) but I just tested that ingame this time.
2012-10-21 13:38:36 -06:00
main()
d881908ecc
Made entity listener use the world purger's logic
...
This should fix #872 and most other spawning issues.
2012-09-20 20:01:55 +02:00
Jeremy Wood
80f6a0159c
Now using ConcurrentHashMap instead of ReentrantLock for caching player world.
2012-08-21 15:06:33 -04:00
main()
e6f7ba5ac9
Fixed the tests
2012-08-18 15:17:17 +02:00
Jeremy Wood
9274570fa4
Added config option for setting whether or not to use async chat. (Default true (uses async))
2012-08-15 09:27:52 -04:00
main()
1d1a2213c1
Merge branch 'metrics'
2012-08-09 13:43:07 +02:00
main()
53567d4646
Hopefully fixed the tests
2012-08-06 11:54:54 +02:00
Jeremy Wood
17963964c7
Minor test update.
2012-08-05 14:53:41 -04:00
Jeremy Wood
bb0e2e4a2d
Tests now using AsyncPlayerChatEvent.
2012-08-05 00:28:00 -04:00
Jeremy Wood
24e26bb7d7
Added buscript Javascript library.
2012-07-25 22:09:28 -04:00
main()
8a4ba2a66c
Metrics!
2012-07-12 17:24:23 +02:00
main()
144de09423
Added the abstract class MultiversePlugin.
2012-06-26 17:29:34 +02:00
Jeremy Wood
a2a2594f5a
Properly closed debug.log for unit tests by calling onDisable().
2012-06-12 12:51:36 -04:00
main()
48768b5d6c
Now all properties are settable ingame. (bugfix)
2012-05-02 16:25:40 +02:00
main()
1496d940bf
Merge pull request #547 from Multiverse/mvworld-plus-serializationconfig-equals-awesome
...
MVWorld + SerializationConfig = Awesome
2012-04-30 13:54:37 -07:00
main()
176e729a87
Ignoring TestWorldCreation.
...
TestInstanceCreator.tearDown() doesn't remove 'fish.world' correctly from the worlds.yml (fixed in mvworld-plus-serializationconfig-equals-awesome)
*cough* @FernFerret *cough*
2012-03-17 12:32:55 +01:00
main()
98f5e1e4ee
This IS fixed!
2012-03-10 17:41:53 +01:00
main()
de6fc6481e
Merge branch 'master' into mvworld-plus-serializationconfig-equals-awesome
...
Conflicts:
src/main/java/com/onarandombox/MultiverseCore/api/MultiverseWorld.java
2012-03-10 14:03:04 +01:00
main()
dcc6b828a8
Unused imports.
2012-03-10 13:59:04 +01:00
Eric Stokes
d84f930a54
Fix purging removing the player entity
...
...and lots of other bad stuff...
2012-03-09 23:45:10 -07:00
main()
d1280a9031
Some fixes + added tests.
2012-03-07 19:59:20 +01:00
main()
91f7debb08
MVWorld + SerializationConfig = Awesome
...
Yes, I did it.
2012-03-04 16:08:09 +01:00
main()
bd7ad20b7b
Fixed the tests.
...
Why is this option even on by default...
2012-03-02 21:22:12 +01:00
main()
873d878252
Build fixed. Bukkit, I hate breaking changes!
...
However, this is not tested *at all*. Try it if you're brave enough ^^
2012-03-01 16:55:37 +01:00
main()
3f09fbd710
Fixed the world-purger using the names from the new EntiyType-enum.
...
Closes #478 .
Should fix #482 .
Poor sheep.
2012-02-25 14:48:36 +01:00
main()
ccb96ead10
Nasty bugs are nasty.
2012-02-25 13:11:21 +01:00
Eric Stokes
fbbe031b2c
Fix for method deprecations in R5
2012-02-21 05:25:59 -07:00
main()
a1075224d3
Fixed config...
2012-02-04 14:22:55 +01:00
main()
44df567936
Now using SerializationConfig.
2012-02-01 16:28:23 +01:00
main()
51586c7dd5
More tests :D
2012-01-25 21:03:09 +01:00
Eric Stokes
7b74384a8e
Fix compatibility with new tests.
...
Note: @main-- the new tests are balls slow for doing location generation. Like, they take 1s per check, which made the old one run for 16x16x9 seconds (making the test run take about 38.4 minutes)
For now, I've added a special case for nullterrains, which uses the new -n param to skip checking.
2012-01-24 20:32:39 -07:00
main()
33afa4d0d7
Now using the new listeners from ecb97fd5c1
2012-01-24 19:18:03 -07:00