Class ItemsToNotBeReported
- java.lang.Object
-
- ru.tinkoff.qa.neptune.allure.lifecycle.ItemsToNotBeReported
-
public final class ItemsToNotBeReported extends Object
Stores lifecycle item to be excluded from the report.- See Also:
TestResultContainer,FixtureResult,TestResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classItemsToNotBeReported.ExcludedFixtureWrapper
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexcludeFixtureIfNecessary(Class<?> clazz, Method method)static voidexcludeTestResultIfNecessary(Class<?> clazz, Method method)static List<String>getExcludedUUIDs()static booleanisExcludedFromReport(Object expectedToBeExcluded)Checks an object that is expected to be excludedstatic booleantoReport()
-
-
-
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:
truewhen checked object is excluded from the report,falseis returned otherwise
-
getExcludedUUIDs
public static List<String> getExcludedUUIDs()
- Returns:
- list of
TestResultContainer/TestResultUUIDs to be excluded from the report
-
toReport
public static boolean toReport()
-
excludeFixtureIfNecessary
public static void excludeFixtureIfNecessary(Class<?> clazz, Method method)
-
-