A C M O S T V 
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
 

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

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.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.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
 
visitNewClass(J.NewClass) - Method in class org.openrewrite.java.testing.mockito.MockUtilsToStatic
 
A C M O S T V 
All Classes All Packages