Index
All Classes and Interfaces|All Packages
A
- assertOutputEquals(String, String) - Method in class net.kyori.mammoth.test.TestContext
-
Expect that the contents of the output file
fileNameis equal to the contents of the resource at<testName>/out/<resourceName>. - assertOutputEqualsLiteral(String, String) - Method in class net.kyori.mammoth.test.TestContext
-
Assert that the output at
destinationis equal to the literaltext.
B
- build(String...) - Method in class net.kyori.mammoth.test.TestContext
-
Create and execute a new Gradle runner.
C
- copyInput(String) - Method in class net.kyori.mammoth.test.TestContext
-
Copy a resource from the
<testName>/in/directory to the run directory with no changes. - copyInput(String, String) - Method in class net.kyori.mammoth.test.TestContext
-
copy a resource from the
<testName>/in/directory to the run directory with the provided new name.
E
- extraArguments() - Element in annotation type net.kyori.mammoth.test.TestVariant
-
Extra arguments to provide.
G
- GradleFunctionalTest - Annotation Type in net.kyori.mammoth.test
-
Indicate that the annotated test method will be a Gradle functional test.
- GradleParameters - Annotation Type in net.kyori.mammoth.test
-
Parameters to provide to Gradle on test invocations.
- gradleVersion() - Element in annotation type net.kyori.mammoth.test.TestVariant
-
A gradle version ID.
M
- maximumRuntimeVersion() - Element in annotation type net.kyori.mammoth.test.TestVariant
-
Maximum runtime version to execute this variant on.
- maximumRuntimeVersion() - Element in annotation type net.kyori.mammoth.test.TestVariantResource
-
Maximum runtime version to execute the resource's variants on.
- minimumRuntimeVersion() - Element in annotation type net.kyori.mammoth.test.TestVariant
-
Minimum runtime version to execute this variant on.
- minimumRuntimeVersion() - Element in annotation type net.kyori.mammoth.test.TestVariantResource
-
Minimum runtime version to execute the resource's variants on.
N
- net.kyori.mammoth.test - package net.kyori.mammoth.test
-
JUnit extensions for developing Gradle functional tests.
O
- optional() - Element in annotation type net.kyori.mammoth.test.TestVariantResource
-
Whether to allow testing to proceed if no classpath resource was present.
- outputDirectory() - Method in class net.kyori.mammoth.test.TestContext
-
The output directory for the Gradle build.
R
- readOutput(String) - Method in class net.kyori.mammoth.test.TestContext
-
Expect that a file is present in the output directory with the provided path.
- runner(String...) - Method in class net.kyori.mammoth.test.TestContext
-
Create a new Gradle runner.
T
- TestContext - Class in net.kyori.mammoth.test
-
Context information for individual tests.
- TestVariant - Annotation Type in net.kyori.mammoth.test
-
A variant of a test to execute.
- TestVariantResource - Annotation Type in net.kyori.mammoth.test
-
A resource to load test variants from.
- TestVariantResources - Annotation Type in net.kyori.mammoth.test
-
A
Repeatablecontainer forTestVariantResourceannotations. - TestVariants - Annotation Type in net.kyori.mammoth.test
-
A
Repeatablecontainer forTestVariantannotations.
V
- value() - Element in annotation type net.kyori.mammoth.test.GradleParameters
-
The Gradle parameters.
- value() - Element in annotation type net.kyori.mammoth.test.TestVariantResource
-
A resource on the classpath to load test variants from.
- value() - Element in annotation type net.kyori.mammoth.test.TestVariantResources
-
The resources to load variants from.
- value() - Element in annotation type net.kyori.mammoth.test.TestVariants
-
The variants to use.
W
- writeText(String, String) - Method in class net.kyori.mammoth.test.TestContext
-
Write literal text to a file in the run director with the provided new name.
All Classes and Interfaces|All Packages