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 TestFrameworkDefinition
public
public String getMethodModifier()
getMethodModifier
in interface TestFrameworkDefinition
public void
public String getLineSuffix()
getLineSuffix
in interface TestFrameworkDefinition
;
public String getClassExtension()
getClassExtension
in interface TestFrameworkDefinition
.java
public String getClassNameSuffix()
getClassNameSuffix
in interface TestFrameworkDefinition
Test
public String getIgnoreClass()
getIgnoreClass
in interface TestFrameworkDefinition
org.junit.Ignore
public 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
@Ignore
public boolean annotationLevelRules()
annotationLevelRules
in interface TestFrameworkDefinition
true
public String getRuleAnnotation(String annotationValue)
getRuleAnnotation
in interface TestFrameworkDefinition
annotationValue
- value of the annotation@ExtendWith(Example.class)
Copyright © 2016–2020 Spring. All rights reserved.