Class TestsShouldIncludeAssertions
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.testing.cleanup.TestsShouldIncludeAssertions
-
@Incubating(since="1.2.0") public class TestsShouldIncludeAssertions extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description TestsShouldIncludeAssertions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetDisplayName()protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getSingleSourceApplicableTest()protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getVisitor()org.openrewrite.Validatedvalidate()-
Methods inherited from class org.openrewrite.Recipe
causesAnotherCycle, doNext, equals, getApplicableTest, getDescriptor, getEstimatedEffortPerOccurrence, getJacksonPolymorphicTypeTag, getLanguages, getName, getRecipeList, getTags, hashCode, run, run, run, run, validate, validateAll, validateAll, visit
-
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
validate
public org.openrewrite.Validated validate()
- Overrides:
validatein classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
getVisitor
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
-