Interface InternalJvmTestDescriptor
-
- All Superinterfaces:
InternalOperationDescriptor,InternalProtocolInterface,InternalTestDescriptor
public interface InternalJvmTestDescriptor extends InternalTestDescriptor
DO NOT CHANGE THIS INTERFACE. It is part of the cross-version protocol.- Since:
- 2.4
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKIND_ATOMICstatic java.lang.StringKIND_SUITE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the name of the test class, if any.java.lang.StringgetMethodName()Returns the name of the test method, if any.java.lang.StringgetSuiteName()Returns the name of the test suite, if any.java.lang.StringgetTestKind()Returns the kind of test this is.-
Methods inherited from interface org.gradle.tooling.internal.protocol.events.InternalOperationDescriptor
getDisplayName, getId, getName, getParentId
-
-
-
-
Field Detail
-
KIND_SUITE
static final java.lang.String KIND_SUITE
- See Also:
- Constant Field Values
-
KIND_ATOMIC
static final java.lang.String KIND_ATOMIC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTestKind
java.lang.String getTestKind()
Returns the kind of test this is. See the constants on this interface for the supported kinds.- Returns:
- The test kind (test suite, atomic test, etc.).
-
getSuiteName
java.lang.String getSuiteName()
Returns the name of the test suite, if any.- Returns:
- The name of the test suite, can be null.
-
getClassName
java.lang.String getClassName()
Returns the name of the test class, if any.- Returns:
- The name of the test class, can be null.
-
getMethodName
java.lang.String getMethodName()
Returns the name of the test method, if any.- Returns:
- The name of the test method, can be null.
-
-