Package org.gradle.api.tasks.testing
Schnittstelle TestDescriptor
Describes a test. A test may be a single atomic test, such as the execution of a test method, or it may be a
composite test, made up of zero or more tests.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the test class name for this test, if any.Returns the display name of the test.getName()Returns the name of the test.Returns the parent of this test, if any.booleanIs this test a composite test?
-
Methodendetails
-
getName
String getName()Returns the name of the test. Not guaranteed to be unique.- Gibt zurück:
- The test name
-
getDisplayName
String getDisplayName()Returns the display name of the test. It may be the same as or different fromgetName()- Gibt zurück:
- the name for display.
- Seit:
- 6.1
-
getClassName
Returns the test class name for this test, if any.- Gibt zurück:
- The class name. May return null.
-
isComposite
boolean isComposite()Is this test a composite test?- Gibt zurück:
- true if this test is a composite test.
-
getParent
Returns the parent of this test, if any.- Gibt zurück:
- The parent of this test. Null if this test has no parent.
-