Run modded and buildSrc tests

- Add a root moddedTest that runs adapters/modded-common through the Fabric build
- Make check depend on moddedTest, ordered ahead of the loader jars
- Gate the buildSrc jar on the buildSrc tests so they stop being skipped
- Drop an unreachable classpath guard from SchemaBuilderPlatformIsolationTest
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-08 03:41:15 -04:00
1 parent 89dc5d0447
commit 7841efed54
3 files changed
+56 -3

No files matched your search

@@ -13,13 +13,10 @@ import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
public class SchemaBuilderPlatformIsolationTest {
@Test
public void enumSchemaDoesNotResolveBukkitOnlyMethodSignatures() {
assertThrows(ClassNotFoundException.class, () -> Class.forName("org.bukkit.block.BlockFace"));
JSONObject schema = new SchemaBuilder(DirectionModel.class, null).construct();
JSONObject direction = schema.getJSONObject("properties").getJSONObject("direction");
String definitionKey = direction.getString("$ref").substring("#/definitions/".length());