Class TestEngineTestDescriptorStore
- java.lang.Object
-
- org.antublue.test.engine.internal.TestEngineTestDescriptorStore
-
public final class TestEngineTestDescriptorStore extends Object
Class to store TestDescriptors based on UniqueId
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.junit.platform.engine.TestDescriptor>get(org.junit.platform.engine.UniqueId uniqueId)Method to get a TestDescriptor based on UniqueIdstatic TestEngineTestDescriptorStoregetInstance()Method to get an instance of the TestEngineTestDescriptorStorevoidstore(org.junit.platform.engine.support.descriptor.EngineDescriptor engineDescriptor)Method to store the EngineDescriptor and all children
-
-
-
Method Detail
-
getInstance
public static TestEngineTestDescriptorStore getInstance()
Method to get an instance of the TestEngineTestDescriptorStore- Returns:
- the singleton instance of a TestEngineTestDescriptorStore
-
store
public void store(org.junit.platform.engine.support.descriptor.EngineDescriptor engineDescriptor)
Method to store the EngineDescriptor and all children- Parameters:
engineDescriptor- the engine descriptor
-
get
public Optional<org.junit.platform.engine.TestDescriptor> get(org.junit.platform.engine.UniqueId uniqueId)
Method to get a TestDescriptor based on UniqueId- Parameters:
uniqueId- the unique id- Returns:
- an Optional that may contain a TestDescriptor
-
-