13
0
geforkt von Mirrors/Paper
Paper/src/test/java/org/bukkit
Wesley Wolfe 1c14586c49 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.
2012-11-01 03:06:47 -05:00
..
craftbukkit Bulk pending cleanup. 2012-09-09 23:19:28 -05:00
potion [Bleeding] Added Potions API. Fixes BUKKIT-389 2012-02-10 17:41:13 -05:00
support Add some testing 2012-01-29 11:22:11 +01:00
AchievementTest.java Fixed AchievementTest.java 2012-03-01 01:01:16 -05:00
ArtTest.java Add CraftArt mappings for Wither. Fixes BUKKIT-2667. 2012-11-01 03:06:47 -05:00
MaterialTest.java Add some testing 2012-01-29 11:22:11 +01:00
SoundTest.java Map org.bukkit.Sound to String values for sending to client. 2012-09-26 19:02:05 -04:00
WorldTypeTest.java Add test for WorldType's 2012-08-02 09:10:15 -05:00