Class ExtendedEngineDescriptor
- java.lang.Object
-
- org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- org.junit.platform.engine.support.descriptor.EngineDescriptor
-
- org.antublue.test.engine.internal.descriptor.ExtendedEngineDescriptor
-
- All Implemented Interfaces:
org.junit.platform.engine.TestDescriptor
public final class ExtendedEngineDescriptor extends org.junit.platform.engine.support.descriptor.EngineDescriptorClass to implement a extended EngineDescriptor
-
-
Constructor Summary
Constructors Constructor Description ExtendedEngineDescriptor(org.junit.platform.engine.UniqueId uniqueId, String displayName)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> List<T>getChildren(Class<T> clazz)Method to get a List of children cast as a specific classOptional<org.junit.platform.engine.TestSource>getSource()Method to get the TestSourceorg.junit.platform.engine.TestDescriptor.TypegetType()Method to get the test descriptor TypebooleanisContainer()Method to return whether the test descriptor is a containerbooleanisTest()Method to return whether the test descriptor is a test-
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
-
-
-
-
Constructor Detail
-
ExtendedEngineDescriptor
public ExtendedEngineDescriptor(org.junit.platform.engine.UniqueId uniqueId, String displayName)Constructor- Parameters:
uniqueId- uniqueIddisplayName- displayName
-
-
Method Detail
-
getSource
public Optional<org.junit.platform.engine.TestSource> getSource()
Method to get the TestSource- Specified by:
getSourcein interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
getSourcein classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor- Returns:
- the return value
-
getType
public org.junit.platform.engine.TestDescriptor.Type getType()
Method to get the test descriptor Type- Specified by:
getTypein interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
getTypein classorg.junit.platform.engine.support.descriptor.EngineDescriptor- Returns:
- the return value
-
isTest
public boolean isTest()
Method to return whether the test descriptor is a test- Returns:
- the return value
-
isContainer
public boolean isContainer()
Method to return whether the test descriptor is a container- Returns:
- the return value
-
-