Class VintageTestDescriptor

    • Constructor Detail

      • VintageTestDescriptor

        public VintageTestDescriptor​(UniqueId uniqueId,
                                     org.junit.runner.Description description)
    • Method Detail

      • getDescription

        public org.junit.runner.Description getDescription()
      • getLegacyReportingName

        public String getLegacyReportingName()
        Description copied from interface: TestDescriptor
        Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.

        The default implementation simply delegates to TestDescriptor.getDisplayName().

        Returns:
        the legacy reporting name; never null or blank
      • canBeRemovedFromHierarchy

        protected boolean canBeRemovedFromHierarchy()
      • tryToExcludeFromRunner

        protected boolean tryToExcludeFromRunner​(org.junit.runner.Description description)