public class MultiStrategyAdapter extends Object implements TestStrategyAdapter
| Constructor and Description |
|---|
MultiStrategyAdapter() |
MultiStrategyAdapter(List<TestStrategyAdapter> strategies) |
| Modifier and Type | Method and Description |
|---|---|
List<TestTag> |
getTagsFor(Method testMethod) |
Optional<String> |
getTitleAnnotation(Method testMethod) |
boolean |
isAssumptionViolatedException(Throwable throwable) |
boolean |
isATaggableClass(Class<?> testClass) |
boolean |
isIgnored(Method method) |
boolean |
isSerenityTestCase(Class<?> testClass) |
boolean |
isTestClass(Class<?> testClass) |
boolean |
isTestMethod(Method method) |
boolean |
isTestSetupMethod(Method method) |
Double |
priority()
Indicates the priority this adopter should take when multiple adapters are found on the classpath.
|
public MultiStrategyAdapter()
public MultiStrategyAdapter(List<TestStrategyAdapter> strategies)
public Optional<String> getTitleAnnotation(Method testMethod)
getTitleAnnotation in interface TestStrategyAdapterpublic List<TestTag> getTagsFor(Method testMethod)
getTagsFor in interface TestStrategyAdapterpublic Double priority()
TestStrategyAdapterpriority in interface TestStrategyAdapterpublic boolean isTestClass(Class<?> testClass)
isTestClass in interface TestStrategyAdapterpublic boolean isTestMethod(Method method)
isTestMethod in interface TestStrategyAdapterpublic boolean isTestSetupMethod(Method method)
isTestSetupMethod in interface TestStrategyAdapterpublic boolean isSerenityTestCase(Class<?> testClass)
isSerenityTestCase in interface TestStrategyAdapterpublic boolean isAssumptionViolatedException(Throwable throwable)
isAssumptionViolatedException in interface TestStrategyAdapterpublic boolean isATaggableClass(Class<?> testClass)
isATaggableClass in interface TestStrategyAdapterpublic boolean isIgnored(Method method)
isIgnored in interface TestStrategyAdapterCopyright © 2023. All rights reserved.