mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 14:00:26 +00:00
Retire source-text tests
- Delete 22 test classes whose assertions only read production .java text and check call ordering or literal presence - Remove 77 source-text assertion methods from 34 test classes that keep real behavioural coverage - Replace the core process-stream source grep with an ASM gate over compiled core classes in CoreProcessStreamPurityGateTest - Replace the packs-root source grep in PacksFolderContractTest with an ASM call-site gate over compiled core classes - Replace the IrisData registered-root regex in PackTypeBukkitPurityGateTest with an ASM scan of the registerLoader class constants - Trim six mixed tests down to their behavioural assertions and drop their source-text tails - Drop the eight iris.*Source and three iris.moddedCommonSources test system properties now that nothing reads them
This commit is contained in:
1 parent
7841efed54
commit
c75cfd387e
65 files changed
+245
-4273
No files matched your search
@@ -59,12 +59,4 @@ tasks.named('jar', Jar).configure {
|
||||
}
|
||||
|
||||
tasks.named('test').configure {
|
||||
systemProperty('iris.pregeneratorJobSource', rootProject.file('core/src/main/java/art/arcane/iris/core/gui/PregeneratorJob.java').absolutePath)
|
||||
systemProperty('iris.bukkitEnginePlatformHooksSource', file('src/main/java/art/arcane/iris/core/runtime/BukkitEnginePlatformHooks.java').absolutePath)
|
||||
systemProperty('iris.engineSvcSource', file('src/main/java/art/arcane/iris/core/service/IrisEngineSVC.java').absolutePath)
|
||||
systemProperty('iris.terrainSvcSource', file('src/main/java/art/arcane/iris/core/service/IrisTerrainSVC.java').absolutePath)
|
||||
systemProperty('iris.apiEventSvcSource', file('src/main/java/art/arcane/iris/core/service/IrisApiEventSVC.java').absolutePath)
|
||||
systemProperty('iris.worldInfoFactorySource', file('src/main/java/art/arcane/iris/core/service/terrain/IrisWorldInfoFactory.java').absolutePath)
|
||||
systemProperty('iris.startupSource', file('src/main/java/art/arcane/iris/Iris.java').absolutePath)
|
||||
systemProperty('iris.readmeSource', rootProject.file('README.md').absolutePath)
|
||||
}
|
||||
Reference in new issue
Block a user