MCPcopy Create free account
hub / github.com/PaperMC/Paper / testCategory

Method testCategory

paper-server/src/test/java/org/bukkit/SoundTest.java:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9public class SoundTest {
10
11 @Test
12 public void testCategory() {
13 for (SoundCategory category : SoundCategory.values()) {
14 assertNotNull(net.minecraft.sounds.SoundSource.valueOf(category.name()), category + "");
15 }
16 }
17
18 @Test
19 public void testCategoryReverse() {

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.65
valueOfMethod · 0.65
nameMethod · 0.65

Tested by

no test coverage detected