7cfcaaebd42418799df752eb440d5a43a20f4d99
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private assertResolvesSharedTempDir(testClass Class<? extends BaseSharedTempDirTestCase>) : void renamed to private assertSharedTempDirForParameterInjection(testClass Class<?>, staticTempDir Supplier<Path>) : void in class org.junit.jupiter.api.support.io.TempDirectoryTests.SharedTempDir | From | To | |
Pull Up Method | 8 | ||
Pull Up Method package afterEach() : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package test1(tempDir Path, testInfo TestInfo) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package test1(testInfo TestInfo) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package test1(tempDir Path, testInfo TestInfo) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package beforeEach() : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package test2(testInfo TestInfo, tempDir Path) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package afterEach() : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package test2(testInfo TestInfo, tempDir Path) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package test1(testInfo TestInfo) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package test2(testInfo TestInfo, tempDir Path) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package afterEach() : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package afterEach(tempDir Path) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package beforeEach() : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package afterEach(tempDir Path) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Method package beforeEach() : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package test1(tempDir Path, testInfo TestInfo) : void from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute package tempDir : Path from class org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase to package tempDir : Path from class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase | From | To | |
Rename Class | 4 | ||
Rename Class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSeparateTempDirsTestCase renamed to org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSeparateTempDirsParameterInjectionTestCase | From | To | |
Rename Class org.junit.jupiter.api.support.io.TempDirectoryTests.SeparateTempDirsWhenUsedOnForEachLifecycleMethodsWithTestInstancePerClassTestCase renamed to org.junit.jupiter.api.support.io.TempDirectoryTests.SeparateTempDirsWhenUsedOnForEachLifecycleMethodsWithTestInstancePerClassFieldInjectionTestCase | From | To | |
Rename Class org.junit.jupiter.api.support.io.TempDirectoryTests.SeparateTempDirsWhenUsedOnForEachLifecycleMethodsTestCase renamed to org.junit.jupiter.api.support.io.TempDirectoryTests.SeparateTempDirsWhenUsedOnForEachLifecycleMethodsFieldInjectionTestCase | From | To | |
Rename Class org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirTestCase renamed to org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirParameterInjectionTestCase | From | To | |
Extract Superclass | 2 | ||
Extract Superclass org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSeparateTempDirsFieldInjectionTestCase from classes [org.junit.jupiter.api.support.io.TempDirectoryTests.SeparateTempDirsWhenUsedOnForEachLifecycleMethodsFieldInjectionTestCase] | From | To | |
Extract Superclass org.junit.jupiter.api.support.io.TempDirectoryTests.BaseSharedTempDirFieldInjectionTestCase from classes [org.junit.jupiter.api.support.io.TempDirectoryTests.AnnotationOnInstanceFieldTestCase] | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method private assertSeparateTempDirsForParameterInjection(testClass Class<? extends BaseSeparateTempDirsParameterInjectionTestCase>) : void extracted from package resolvesTempDirWithCustomParentDirFromCallable() : void in class org.junit.jupiter.api.support.io.TempDirectoryTests.WithCustomParentDir & moved to class org.junit.jupiter.api.support.io.TempDirectoryTests | From | To | |
Extract And Move Method private assertSeparateTempDirsForParameterInjection(testClass Class<? extends BaseSeparateTempDirsParameterInjectionTestCase>) : void extracted from package resolvesTempDirWithCustomParentDirFromProvider() : void in class org.junit.jupiter.api.support.io.TempDirectoryTests.WithCustomParentDir & moved to class org.junit.jupiter.api.support.io.TempDirectoryTests | From | To |