geforkt von Mirrors/Paper
30e0f5be63
Cleaned up all of the CraftBukkit tests, including moving some tests from MaterialTest to PerMaterialTest. By: Wesley Wolfe <weswolf@aol.com>
19 Zeilen
382 B
Java
19 Zeilen
382 B
Java
package org.bukkit;
|
|
|
|
import static org.junit.Assert.*;
|
|
import static org.hamcrest.Matchers.*;
|
|
|
|
import org.bukkit.craftbukkit.CraftSound;
|
|
import org.junit.Test;
|
|
|
|
|
|
public class SoundTest {
|
|
|
|
@Test
|
|
public void testGetSound() {
|
|
for (Sound sound : Sound.values()) {
|
|
assertThat(sound.name(), CraftSound.getSound(sound), is(not(nullValue())));
|
|
}
|
|
}
|
|
}
|