Package net.neoforged.neoforge.gametest
Annotation Interface PrefixGameTestTemplate
When used on a class, this sets the default state for whether
to prefix any contained game test templates with the
simple class name
or not.
When used on a method, this defines whether the specific method should be prefixed with the simple class name or not.
If this annotation cannot be found on a game test method or its containing class, the default behavior is to prefix the class name.
Method annotations override any class annotations.
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Whether to prefix the game test template with the containing class'simple name
.
-
Element Details
-
value
boolean valueWhether to prefix the game test template with the containing class'simple name
. For example, true in a class named "MyTest" would result in "mytest.structure" while false would result in "structure".Only applies to methods annotated with
GameTest
.- Default:
true
-