Jeremy Wood
de6b25db35
Also bind MultiverseCore to MVCore and MVPlugin.
2023-03-07 02:24:00 -05:00
Jeremy Wood
40637e6a88
Enable basic dependency injection.
2023-03-07 01:59:48 -05:00
Jeremy Wood
7ad0b04787
Abstract TestWithMockBukkit out of MockBukkitTest.
2023-03-07 00:20:26 -05:00
Jeremy Wood
a4e84ad581
Use ServerMock instead of Server.
2023-03-02 08:36:43 -05:00
Jeremy Wood
65cb3f7037
Put test method after tearDown.
2023-03-02 08:35:52 -05:00
Jeremy Wood
fc7509cca6
Use a better test method name.
2023-03-02 08:35:30 -05:00
Jeremy Wood
eebb4a4a6d
Implement initial test using MockBukkit.
2023-03-02 02:22:47 -05:00
Jeremy Wood
87225b1c65
Move old tests to old-test.
2023-03-02 01:20:38 -05:00
Ben Woo
7dbd29b838
refactor: Shift classes and add javadocs
2023-02-28 23:07:19 +08:00
Ben Woo
c05d866f2f
refactor: Remove buscript entirely ( #2837 )
2023-02-15 10:28:56 +08:00
Ben Woo
6694c02650
refactor!: Rename back to MVWorldManager
2023-02-09 14:02:00 +08:00
Ben Woo
24596419e5
refactor!: Reorganise the entire MV
2023-02-08 16:19:33 +08:00
Ben Woo
a403380375
refactor!: MultiverseCore plugin mess
2023-02-08 15:33:59 +08:00
Ben Woo
2acca7f330
refactor!: Remove deprecated PlayChatEvent option ( #2828 )
2023-02-03 22:33:44 +08:00
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