Kisaragi
5868ad64b4
use Collections' factory method instead of static field
...
this resolves some unchecked generics warning
2021-12-31 00:46:21 +09:00
Kermina Awad
9821f1d9c8
clean up test files
2021-07-18 13:51:53 -04:00
Kermina Awad
b9b1fa6164
remove PowerMockito
2021-07-18 13:17:15 -04:00
Kermina Awad
28585dd6f9
remove unnecessary stub
2021-07-18 13:12:09 -04:00
Ben Woo
7c59dcbcb9
Merge pull request #2494 from benwoo1110/property-fix
...
Fix cannot remove block currency with mvm set command.
2021-03-04 15:32:34 +08:00
Kermina Awad
5350c012f7
fix compiling on java 15
2021-02-25 17:48:17 -05:00
benwoo1110
425b1c80cc
Update to all use static logging.
2020-12-12 10:49:49 +08:00
benwoo1110
48601e4215
Fix cannot remove block currency with mvm set command.
...
Setting currency to 0 is now considered as no currency value.
2020-11-27 21:14:27 +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