A C M O S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AssertToAssertions - Class in org.openrewrite.java.testing.junit5
-
Change JUnit4's org.junit.Assert into JUnit5's org.junit.jupiter.api.Assertions The most significant difference between these classes is that in JUnit4 the optional String message is the first parameter, and the JUnit5 versions have the optional message as the final parameter
- AssertToAssertions() - Constructor for class org.openrewrite.java.testing.junit5.AssertToAssertions
- AssertTrueToAssertThat - Class in org.openrewrite.java.testing.junitassertj
-
This is a refactoring visitor that will convert JUnit-style assertTrue() to assertJ's assertThat().isTrue().
- AssertTrueToAssertThat() - Constructor for class org.openrewrite.java.testing.junitassertj.AssertTrueToAssertThat
C
- CategoryToTag - Class in org.openrewrite.java.testing.junit5
-
Transforms the Junit4 @Category, which can list multiple categories, into one @Tag annotation per category listed
- CategoryToTag() - Constructor for class org.openrewrite.java.testing.junit5.CategoryToTag
- CategoryToTag.Scoped - Class in org.openrewrite.java.testing.junit5
- ChangeTestAnnotation - Class in org.openrewrite.java.testing.junit5
- ChangeTestAnnotation() - Constructor for class org.openrewrite.java.testing.junit5.ChangeTestAnnotation
M
- maybeAddStaticImport(String, String) - Method in class org.openrewrite.java.testing.junitassertj.AssertTrueToAssertThat
-
This method will add a static import method to the compilation unit if there is a reference to the method in the compilation unit.
- MockUtilsToStatic - Class in org.openrewrite.java.testing.mockito
-
In Mockito 1 you use a code snippet like:
- MockUtilsToStatic() - Constructor for class org.openrewrite.java.testing.mockito.MockUtilsToStatic
O
- org.openrewrite.java.testing.junit5 - package org.openrewrite.java.testing.junit5
- org.openrewrite.java.testing.junitassertj - package org.openrewrite.java.testing.junitassertj
- org.openrewrite.java.testing.mockito - package org.openrewrite.java.testing.mockito
S
- Scoped(J) - Constructor for class org.openrewrite.java.testing.junit5.CategoryToTag.Scoped
- SpringRunnerToSpringExtension - Class in org.openrewrite.java.testing.junit5
-
JUnit4 Spring test classes are annotated with @RunWith(SpringRunner.class) Turn this into the JUnit5-compatible @ExtendsWith(SpringExtension.class)
- SpringRunnerToSpringExtension() - Constructor for class org.openrewrite.java.testing.junit5.SpringRunnerToSpringExtension
T
- TemporaryFolderToTempDir - Class in org.openrewrite.java.testing.junit5
-
Translates JUnit4's org.junit.rules.TemporaryFolder into JUnit 5's org.junit.jupiter.api.io.TempDir
- TemporaryFolderToTempDir() - Constructor for class org.openrewrite.java.testing.junit5.TemporaryFolderToTempDir
V
- visitClassDecl(J.ClassDecl) - Method in class org.openrewrite.java.testing.junit5.AssertToAssertions
- visitClassDecl(J.ClassDecl) - Method in class org.openrewrite.java.testing.junit5.CategoryToTag.Scoped
- visitClassDecl(J.ClassDecl) - Method in class org.openrewrite.java.testing.junit5.CategoryToTag
- visitClassDecl(J.ClassDecl) - Method in class org.openrewrite.java.testing.junit5.SpringRunnerToSpringExtension
- visitClassDecl(J.ClassDecl) - Method in class org.openrewrite.java.testing.junit5.TemporaryFolderToTempDir
- visitCompilationUnit(J.CompilationUnit) - Method in class org.openrewrite.java.testing.junit5.ChangeTestAnnotation
- visitCompilationUnit(J.CompilationUnit) - Method in class org.openrewrite.java.testing.junitassertj.AssertTrueToAssertThat
- visitCompilationUnit(J.CompilationUnit) - Method in class org.openrewrite.java.testing.mockito.MockUtilsToStatic
- visitMethod(J.MethodDecl) - Method in class org.openrewrite.java.testing.junit5.CategoryToTag.Scoped
- visitMethod(J.MethodDecl) - Method in class org.openrewrite.java.testing.junit5.CategoryToTag
- visitMethod(J.MethodDecl) - Method in class org.openrewrite.java.testing.junit5.ChangeTestAnnotation
- visitMethodInvocation(J.MethodInvocation) - Method in class org.openrewrite.java.testing.junit5.AssertToAssertions
- visitMethodInvocation(J.MethodInvocation) - Method in class org.openrewrite.java.testing.junitassertj.AssertTrueToAssertThat
- visitNewClass(J.NewClass) - Method in class org.openrewrite.java.testing.mockito.MockUtilsToStatic
All Classes All Packages