dff0e68798c4ff356939d65ecf374b5eb1e17f9c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method protected createAndPostProcessTestInstance(context TestExecutionContext) : Object renamed to protected createTestInstanceAndUpdateContext(context TestExecutionContext) : void in class org.junit.gen5.engine.junit5.execution.ClassExecutionNode | From | To | |
| Rename Method protected createAndPostProcessTestInstance(context TestExecutionContext) : Object renamed to protected createTestInstanceAndUpdateContext(context TestExecutionContext) : void in class org.junit.gen5.engine.junit5.execution.NestedClassExecutionNode | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type testInstance : Object to context : TestExecutionContext in method public postProcessTestInstance(context TestExecutionContext) : void in class com.example.mockito.MockitoExtension | From | To | |
| Change Parameter Type testInstance : Object to testExecutionContext : TestExecutionContext in method public postProcessTestInstance(testExecutionContext TestExecutionContext) : void in class org.junit.gen5.api.extension.InstancePostProcessor | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Object to void in method protected createTestInstanceAndUpdateContext(context TestExecutionContext) : void in class org.junit.gen5.engine.junit5.execution.NestedClassExecutionNode | From | To | |
| Change Return Type Object to void in method protected createTestInstanceAndUpdateContext(context TestExecutionContext) : void in class org.junit.gen5.engine.junit5.execution.ClassExecutionNode | From | To | |
| Merge Variable | 1 | ||
| Merge Variable [testClass : Class<?>, testInstance : Object] to context : TestExecutionContext in method package execute(request ExecutionRequest, context TestExecutionContext) : void in class org.junit.gen5.engine.junit5.execution.ClassExecutionNode | From | To | |
| Extract And Move Method | 3 | ||
| Extract And Move Method public setTestInstance(testInstance Object) : void extracted from protected createAndPostProcessTestInstance(context TestExecutionContext) : Object in class org.junit.gen5.engine.junit5.execution.NestedClassExecutionNode & moved to class org.junit.gen5.engine.junit5.execution.DescriptorBasedTestExecutionContext | From | To | |
| Extract And Move Method public setTestInstance(testInstance Object) : void extracted from protected createAndPostProcessTestInstance(context TestExecutionContext) : Object in class org.junit.gen5.engine.junit5.execution.ClassExecutionNode & moved to class org.junit.gen5.engine.junit5.execution.DescriptorBasedTestExecutionContext | From | To | |
| Extract And Move Method public setTestInstance(testInstance Object) : void extracted from package execute(request ExecutionRequest, context TestExecutionContext) : void in class org.junit.gen5.engine.junit5.execution.ClassExecutionNode & moved to class org.junit.gen5.engine.junit5.execution.DescriptorBasedTestExecutionContext | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter testInstance : Object to context : TestExecutionContext in method public postProcessTestInstance(context TestExecutionContext) : void in class com.example.mockito.MockitoExtension | From | To | |
| Rename Parameter testInstance : Object to testExecutionContext : TestExecutionContext in method public postProcessTestInstance(testExecutionContext TestExecutionContext) : void in class org.junit.gen5.api.extension.InstancePostProcessor | From | To |