Re-enabled mod unit tests

This commit is contained in:
Anuken 2023-11-18 11:25:31 -05:00
parent 5d1ec319bc
commit 46b88092db
2 changed files with 5 additions and 11 deletions

View File

@ -13,17 +13,14 @@ import static org.junit.jupiter.api.Assertions.*;
//- it is probably the mod with the most json, and as such covers a lot of classes //- it is probably the mod with the most json, and as such covers a lot of classes
//- it is popular enough in the mod browser //- it is popular enough in the mod browser
//- I am somewhat familiar with its files & the type of content it adds //- I am somewhat familiar with its files & the type of content it adds
public class ModTestExotic extends GenericModTest{ public class ModTestAllure extends GenericModTest{
@Test @Test
public void begin(){ public void begin(){
//TODO broken as of 136+ grabMod("https://github.com/BlueWolf3682/Allure/archive/4150f74db1ea6058dc090959cf0fe5dc9d239e37.zip");
if(true) return; checkExistence("allure");
grabMod("https://github.com/BlueWolf3682/Exotic-Mod/archive/08c861398ac9c3d1292132f9a110e17e06294a90.zip"); UnitType type = Vars.content.unit("allure-0b11-exodus");
checkExistence("exotic-mod");
UnitType type = Vars.content.units().find(u -> u.name.equals("exotic-mod-luminance"));
assertNotNull(type, "A mod unit must be loaded."); assertNotNull(type, "A mod unit must be loaded.");
assertTrue(type.weapons.size > 0, "A mod unit must have a weapon."); assertTrue(type.weapons.size > 0, "A mod unit must have a weapon.");

View File

@ -16,10 +16,7 @@ public class ModTestBM extends GenericModTest{
@Test @Test
public void begin(){ public void begin(){
//TODO broken as of 136+ grabMod("https://github.com/sk7725/BetaMindy/releases/download/v1.11/BetaMindy.jar");
if(true) return;
grabMod("https://github.com/sk7725/BetaMindy/releases/download/v0.955/BetaMindy.jar");
checkExistence("betamindy"); checkExistence("betamindy");