-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Base Markdown Test
- Loading branch information
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
common/src/main/java/software/bluelib/test/markdown/MarkdownTestRegistry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package software.bluelib.test.markdown; | ||
|
||
import net.minecraft.gametest.framework.GameTest; | ||
import net.minecraft.gametest.framework.GameTestHelper; | ||
|
||
public class MarkdownTestRegistry { | ||
|
||
@GameTest | ||
public static void boldTest(GameTestHelper pHelper) { | ||
pHelper.succeed(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
package software.bluelib.test; | ||
|
||
import net.fabricmc.fabric.api.gametest.v1.FabricGameTest; | ||
import net.minecraft.gametest.framework.GameTestRegistry; | ||
import software.bluelib.test.markdown.MarkdownTestRegistry; | ||
|
||
public class TestRegistry { | ||
public class TestRegistry implements FabricGameTest { | ||
|
||
public static void registerTests() { | ||
GameTestRegistry.register(ExampleTest.class); | ||
GameTestRegistry.register(MarkdownTestRegistry.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
neoforge/src/main/java/software/bluelib/test/TestRegistry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package software.bluelib.test; | ||
|
||
import net.minecraft.gametest.framework.GameTestRegistry; | ||
import software.bluelib.test.markdown.MarkdownTestRegistry; | ||
|
||
public class TestRegistry { | ||
|
||
@SuppressWarnings("deprecation") | ||
public static void registerTests() { | ||
GameTestRegistry.register(ExampleTest.class); | ||
GameTestRegistry.register(MarkdownTestRegistry.class); | ||
} | ||
} |