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
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
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
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
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