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 class
ItemsToNotBeReported.ExcludedFixtureWrapper
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
excludeFixtureIfNecessary(Class<?> clazz, Method method)
static void
excludeTestResultIfNecessary(Class<?> clazz, Method method)
static List<String>
getExcludedUUIDs()
static boolean
isExcludedFromReport(Object expectedToBeExcluded)
Checks an object that is expected to be excludedstatic boolean
toReport()
-
-
-
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)
-
-