Package ch.njol.skript.tests.platform
Class Environment
java.lang.Object
ch.njol.skript.tests.platform.Environment
Test environment information.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Resource that needs to be downloaded for the environment. -
Constructor Summary
ConstructorDescriptionEnvironment(String name, List<Environment.Resource> resources, List<Environment.Resource> downloads, String skriptTarget, String... commandLine)
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
initialize(Path dataRoot, Path runnerRoot, boolean remake)
-
Constructor Details
-
Environment
public Environment(String name, List<Environment.Resource> resources, List<Environment.Resource> downloads, String skriptTarget, String... commandLine)
-
-
Method Details
-
getName
-
initialize
- Throws:
IOException
-
runTests
public TestResults runTests(Path runnerRoot, Path testsRoot, boolean devMode, String... jvmArgs) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-