From 486e6f766ed261a94cf85bc0782b90337fcb707b Mon Sep 17 00:00:00 2001 From: Rybot666 Date: Mon, 29 Apr 2024 23:20:49 +0100 Subject: [PATCH] Remove tests part 2 --- src/test/java/dev/tr7zw/tests/MixinTests.java | 46 ------------------- src/test/java/dev/tr7zw/tests/TestMod.java | 12 ----- 2 files changed, 58 deletions(-) delete mode 100644 src/test/java/dev/tr7zw/tests/MixinTests.java delete mode 100644 src/test/java/dev/tr7zw/tests/TestMod.java diff --git a/src/test/java/dev/tr7zw/tests/MixinTests.java b/src/test/java/dev/tr7zw/tests/MixinTests.java deleted file mode 100644 index d96a269..0000000 --- a/src/test/java/dev/tr7zw/tests/MixinTests.java +++ /dev/null @@ -1,46 +0,0 @@ -package dev.tr7zw.tests; - -import com.llamalad7.mixinextras.MixinExtrasBootstrap; -import com.mojang.blaze3d.platform.GlStateManager; -import net.minecraft.SharedConstants; -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.Gui; -import net.minecraft.client.gui.components.ChatComponent; -import net.minecraft.client.gui.components.DebugScreenOverlay; -import net.minecraft.client.gui.screens.inventory.InventoryScreen; -import net.minecraft.client.renderer.GameRenderer; -import net.minecraft.client.renderer.blockentity.SignRenderer; -import net.minecraft.client.renderer.entity.ItemRenderer; -import net.minecraft.client.renderer.entity.player.PlayerRenderer; -import net.minecraft.server.Bootstrap; -import net.minecraft.world.level.block.entity.SignBlockEntity; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Test; -import org.objenesis.Objenesis; -import org.objenesis.ObjenesisStd; - -public class MixinTests { - - @BeforeAll - public static void setup() { - MixinExtrasBootstrap.init(); - SharedConstants.tryDetectVersion(); - Bootstrap.bootStrap(); - } - - @Test - public void testMixins() { - Objenesis objenesis = new ObjenesisStd(); - objenesis.newInstance(ChatComponent.class); - objenesis.newInstance(DebugScreenOverlay.class); - objenesis.newInstance(PlayerRenderer.class); - objenesis.newInstance(GameRenderer.class); - objenesis.newInstance(GlStateManager.class); - objenesis.newInstance(Gui.class); - objenesis.newInstance(InventoryScreen.class); - objenesis.newInstance(ItemRenderer.class); - objenesis.newInstance(Minecraft.class); - objenesis.newInstance(SignBlockEntity.class); - objenesis.newInstance(SignRenderer.class); - } -} \ No newline at end of file diff --git a/src/test/java/dev/tr7zw/tests/TestMod.java b/src/test/java/dev/tr7zw/tests/TestMod.java deleted file mode 100644 index 791d0a2..0000000 --- a/src/test/java/dev/tr7zw/tests/TestMod.java +++ /dev/null @@ -1,12 +0,0 @@ -package dev.tr7zw.tests; - -import dev.tr7zw.exordium.ExordiumModBase; - -public class TestMod extends ExordiumModBase { - - @Override - public void initModloader() { - - } - -}