mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 13:30:08 +00:00
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:
1 parent
89dc5d0447
commit
7841efed54
3 files changed
+56
-3
No files matched your search
-3
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user