Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Fix some tests randomly failing
Dieser Commit ist enthalten in:
Ursprung
997d378dab
Commit
d0bb0a1d7e
@ -7,9 +7,10 @@ import static org.junit.Assert.*;
|
|||||||
import static org.hamcrest.Matchers.*;
|
import static org.hamcrest.Matchers.*;
|
||||||
|
|
||||||
import org.bukkit.craftbukkit.CraftSound;
|
import org.bukkit.craftbukkit.CraftSound;
|
||||||
|
import org.bukkit.support.AbstractTestingBase;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class SoundTest {
|
public class SoundTest extends AbstractTestingBase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testGetSound() {
|
public void testGetSound() {
|
||||||
|
@ -6,10 +6,11 @@ import java.util.stream.Collectors;
|
|||||||
import net.minecraft.server.EntityTypes;
|
import net.minecraft.server.EntityTypes;
|
||||||
import net.minecraft.server.IRegistry;
|
import net.minecraft.server.IRegistry;
|
||||||
import net.minecraft.server.MinecraftKey;
|
import net.minecraft.server.MinecraftKey;
|
||||||
|
import org.bukkit.support.AbstractTestingBase;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class EntityTypesTest {
|
public class EntityTypesTest extends AbstractTestingBase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMaps() {
|
public void testMaps() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren