Class ItemsToNotBeReported


  • public final class ItemsToNotBeReported
    extends Object
    Stores lifecycle item to be excluded from the report.
    See Also:
    TestResultContainer, FixtureResult, TestResult
    • Method Detail

      • isExcludedFromReport

        public static boolean isExcludedFromReport​(Object expectedToBeExcluded)
        Checks an object that is expected to be excluded
        Parameters:
        expectedToBeExcluded - object that is expected to be excluded
        Returns:
        true when checked object is excluded from the report, false is returned otherwise
      • getExcludedUUIDs

        public static List<String> getExcludedUUIDs()
        Returns:
        list of TestResultContainer/TestResult UUIDs to be excluded from the report
      • toReport

        public static boolean toReport()
      • excludeFixtureIfNecessary

        public static void excludeFixtureIfNecessary​(Class<?> clazz,
                                                     Method method)
      • excludeTestResultIfNecessary

        public static void excludeTestResultIfNecessary​(Class<?> clazz,
                                                        Method method)