Class TestEngineTestDescriptorStore


  • public final class TestEngineTestDescriptorStore
    extends Object
    Class to store TestDescriptors based on UniqueId
    • 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