public class CustomDefinition extends Object implements TestFrameworkDefinition
| Constructor and Description |
|---|
CustomDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
annotationLevelRules() |
String |
getClassExtension() |
String |
getClassModifier() |
String |
getClassNameSuffix() |
String |
getIgnoreAnnotation() |
String |
getIgnoreClass() |
String |
getLineSuffix() |
String |
getMethodModifier() |
String |
getOrderAnnotation() |
List<String> |
getOrderAnnotationImports() |
String |
getRuleAnnotation(String annotationValue) |
public String getClassModifier()
getClassModifier in interface TestFrameworkDefinitionpublicpublic String getMethodModifier()
getMethodModifier in interface TestFrameworkDefinitionpublic voidpublic String getLineSuffix()
getLineSuffix in interface TestFrameworkDefinition;public String getClassExtension()
getClassExtension in interface TestFrameworkDefinition.javapublic String getClassNameSuffix()
getClassNameSuffix in interface TestFrameworkDefinitionTestpublic String getIgnoreClass()
getIgnoreClass in interface TestFrameworkDefinitionorg.junit.Ignorepublic List<String> getOrderAnnotationImports()
getOrderAnnotationImports in interface TestFrameworkDefinition'org.junit.FixMethodOrder',
'org.junit.runners.MethodSorters'public String getOrderAnnotation()
getOrderAnnotation in interface TestFrameworkDefinition@FixMethodOrder(MethodSorters.NAME_ASCENDING)public String getIgnoreAnnotation()
getIgnoreAnnotation in interface TestFrameworkDefinition@Ignorepublic boolean annotationLevelRules()
annotationLevelRules in interface TestFrameworkDefinitiontruepublic String getRuleAnnotation(String annotationValue)
getRuleAnnotation in interface TestFrameworkDefinitionannotationValue - value of the annotation@ExtendWith(Example.class)Copyright © 2016–2019 Spring. All rights reserved.