1e4707b1856ab84d27b3da09dd2399d7d075cacd
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method private convertToTestDescriptors(testClassRequests Set<TestClassRequest>) : void from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to package populateEngineDescriptorFrom(requests Set<TestClassRequest>) : void from class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Move And Rename Method private addRunnerTestDescriptor(testClass Class<?>, runner Runner, filters List<RunnerTestDescriptorAwareFilter>) : void from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to private determineRunnerTestDescriptor(testClass Class<?>, runner Runner, filters List<RunnerTestDescriptorAwareFilter>) : RunnerTestDescriptor from class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Move Method | 4 | ||
Move Method private createOrFilter(filters List<RunnerTestDescriptorAwareFilter>, runnerTestDescriptor RunnerTestDescriptor) : Filter from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to private createOrFilter(filters List<RunnerTestDescriptorAwareFilter>, runnerTestDescriptor RunnerTestDescriptor) : Filter from class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Move Method private addChildrenRecursively(parent JUnit4TestDescriptor) : void from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to private addChildrenRecursively(parent JUnit4TestDescriptor) : void from class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Move Method private createCompleteRunnerTestDescriptor(testClass Class<?>, runner Runner) : RunnerTestDescriptor from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to private createCompleteRunnerTestDescriptor(testClass Class<?>, runner Runner) : RunnerTestDescriptor from class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Move Method private determineUniqueIdGenerator(uniqueId String, childrenWithSameUniqueId List<Description>) : IntFunction<String> from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to private determineUniqueIdGenerator(uniqueId String, childrenWithSameUniqueId List<Description>) : IntFunction<String> from class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Change Return Type | 1 | ||
Change Return Type void to RunnerTestDescriptor in method private determineRunnerTestDescriptor(testClass Class<?>, runner Runner, filters List<RunnerTestDescriptorAwareFilter>) : RunnerTestDescriptor in class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To | |
Move Attribute | 1 | ||
Move Attribute private DEFAULT_SEPARATOR : char from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver to public DEFAULT_SEPARATOR : char from class org.junit.gen5.engine.junit4.descriptor.JUnit4TestDescriptor | From | To | |
Extract Class | 1 | ||
Extract Class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver from class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver | From | To | |
Extract Method | 1 | ||
Extract Method private convertToTestClassRequests(request DiscoveryRequest, collector TestClassCollector) : Set<TestClassRequest> extracted from public resolve(request DiscoveryRequest) : void in class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver | From | To | |
Rename Parameter | 2 | ||
Rename Parameter request : DiscoveryRequest to discoveryRequest : DiscoveryRequest in method public resolve(discoveryRequest DiscoveryRequest) : void in class org.junit.gen5.engine.junit4.discovery.JUnit4DiscoveryRequestResolver | From | To | |
Rename Parameter testClassRequests : Set<TestClassRequest> to requests : Set<TestClassRequest> in method package populateEngineDescriptorFrom(requests Set<TestClassRequest>) : void in class org.junit.gen5.engine.junit4.discovery.TestClassRequestResolver | From | To |