Commit graph

115 commits

Author SHA1 Message Date
CraftBukkit/Spigot
30e0f5be63 Add isRecord and new material method tests.
Cleaned up all of the CraftBukkit tests, including moving some tests
from MaterialTest to PerMaterialTest.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-14 02:02:02 -06:00
CraftBukkit/Spigot
7aea414399 Add isSolid() tests for each material
By: Wesley Wolfe <weswolf@aol.com>
2012-12-09 15:13:38 -06:00
CraftBukkit/Spigot
ac64db58aa Improved the potion test to detect missing PotionType values.
By: Wesley Wolfe <weswolf@aol.com>
2012-11-01 03:38:25 -05:00
CraftBukkit/Spigot
6577736185 Add CraftArt mappings for Wither. Fixes BUKKIT-2667.
The static assertions are not normally evaluated in the JVM, and failed
to fail when the enums went from size 25 to size 26. This meant missing
values would not be detected at runtime and instead return null,
compounding problems later. The switches should never evaluate to null
so will instead throw runtime assertion errors.

Additional unit tests were added to detect new paintings and assure they
have proper, unique mappings. The test checks both that a mapping
exists, is not null, and does not duplicate another mapping.

By: Wesley Wolfe <weswolf@aol.com>
2012-11-01 03:06:47 -05:00
CraftBukkit/Spigot
1177b02708 Update CraftBukkit to Minecraft 1.4(.2).
By: Travis Watkins <amaranth@ubuntu.com>
2012-10-24 22:53:23 -05:00
CraftBukkit/Spigot
f57bc0f77f Map org.bukkit.Sound to String values for sending to client.
This change was done to remove the internal sound names from the API.
Along with moving the internal names into CraftBukkit, a unit test was
added for any new sounds added in the API to assure they have a non-null
mapping.

By: Wesley Wolfe <weswolf@aol.com>
2012-09-26 16:34:06 -05:00
CraftBukkit/Spigot
2a57bac117 Bulk pending cleanup.
By: Wesley Wolfe <weswolf@aol.com>
2012-09-09 23:19:28 -05:00
CraftBukkit/Spigot
fdfc871461 Add test for WorldType's
By: feildmaster <admin@feildmaster.com>
2012-08-02 09:10:15 -05:00
CraftBukkit/Spigot
34c3b6022a Disabled BukkitDLUpdaterServiceTests. Nice to have, but should not be run on every compile as it relies on DLB being up. Addresses BUKKIT-1140
By: EvilSeph <evilseph@gmail.com>
2012-03-15 05:46:27 -04:00
CraftBukkit/Spigot
7d4747f9f3 Fixed AchievementTest.java
By: feildmaster <admin@feildmaster.com>
2012-02-29 21:44:11 -06:00
CraftBukkit/Spigot
6ea3041bf5 Added a built-in update checker. See http://wiki.bukkit.org/Bukkit.yml#auto-updater for new bukkit.yml options.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-16 22:31:40 +00:00
CraftBukkit/Spigot
1f1bdfaf98 [Bleeding] Added Potions API. Fixes BUKKIT-389
By: fullwall <fullwall@optusnet.com>
2012-01-09 15:51:32 +08:00
CraftBukkit/Spigot
ef756d8eba Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:22:11 +01:00
CraftBukkit/Spigot
b0ac365f5e Test cloning of CraftItemStacks created with null nms ItemStacks
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-29 22:42:47 +11:00
CraftBukkit/Spigot
0b7a5891c5 Test cloning enchanted CraftItemStacks
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-20 00:25:15 +11:00