4c55c3a6f31ab205ff426cbb1f5a4589a95f2776
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method package bogusTestInstanceFactory() : void renamed to package bogusTestInstanceFactoryWithPerMethodLifecycle() : void in class org.junit.jupiter.engine.extension.TestInstanceFactoryTests | From | To | |
Rename Method package nullTestInstanceFactory() : void renamed to package nullTestInstanceFactoryWithPerMethodLifecycle() : void in class org.junit.jupiter.engine.extension.TestInstanceFactoryTests | From | To | |
Rename Method package instanceFactoryUsingPerClassTestInstanceLifecycle() : void renamed to package instanceFactoryWithPerClassLifecycle() : void in class org.junit.jupiter.engine.extension.TestInstanceFactoryTests | From | To | |
Pull Up Method | 2 | ||
Pull Up Method public createTestInstance(factoryContext TestInstanceFactoryContext, extensionContext ExtensionContext) : Object from class org.junit.jupiter.engine.extension.TestInstanceFactoryTests.FooInstanceFactory to public createTestInstance(factoryContext TestInstanceFactoryContext, extensionContext ExtensionContext) : Object from class org.junit.jupiter.engine.extension.TestInstanceFactoryTests.AbstractTestInstanceFactory | From | To | |
Pull Up Method public createTestInstance(factoryContext TestInstanceFactoryContext, extensionContext ExtensionContext) : Object from class org.junit.jupiter.engine.extension.TestInstanceFactoryTests.BarInstanceFactory to public createTestInstance(factoryContext TestInstanceFactoryContext, extensionContext ExtensionContext) : Object from class org.junit.jupiter.engine.extension.TestInstanceFactoryTests.AbstractTestInstanceFactory | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute factory : TestInstanceFactory to testInstanceFactory : TestInstanceFactory in method protected instantiateTestClass(outerInstance Optional<Object>, registry ExtensionRegistry, extensionContext ExtensionContext) : Object in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.junit.jupiter.engine.extension.TestInstanceFactoryTests.AbstractTestInstanceFactory from classes [org.junit.jupiter.engine.extension.TestInstanceFactoryTests.FooInstanceFactory, org.junit.jupiter.engine.extension.TestInstanceFactoryTests.BarInstanceFactory] | From | To | |
Rename Parameter | 1 | ||
Rename Parameter context : JupiterEngineExecutionContext to parentExecutionContext : JupiterEngineExecutionContext in method private instantiateAndPostProcessTestInstance(parentExecutionContext JupiterEngineExecutionContext, extensionContext ExtensionContext, registry ExtensionRegistry) : Object in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor | From | To |