fbbd70b7cbbe299b01794446dfa251b3b9e727ad
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package resolvingDynamicTestByUniqueIdResolvesOnlyUpToParentTestFactory() : void renamed to package resolvingDynamicTestByUniqueIdResolvesUpToParentTestFactory(listener LogRecordListener) : void in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolverTests | From | To | |
Rename Variable | 1 | ||
Rename Variable selector : UniqueIdSelector to uniqueId : UniqueId in method package resolvingUniqueIdWithWrongParamsResolvesNothing(listener LogRecordListener) : void in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolverTests | From | To | |
Change Return Type | 3 | ||
Change Return Type JupiterTestDescriptor to Optional<JupiterTestDescriptor> in method private toDynamicDescriptor(index int, childNode DynamicNode) : Optional<JupiterTestDescriptor> in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor | From | To | |
Change Return Type TestDescriptor to Optional<TestDescriptor> in method private createInvocationTestDescriptor(invocationContext TestTemplateInvocationContext, index int) : Optional<TestDescriptor> in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor | From | To | |
Change Return Type JupiterTestDescriptor to Optional<JupiterTestDescriptor> in method package createDynamicDescriptor(parent JupiterTestDescriptor, node DynamicNode, index int, source TestSource, dynamicDescendantFilter DynamicDescendantFilter) : Optional<JupiterTestDescriptor> in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor | From | To | |
Change Variable Type | 2 | ||
Change Variable Type selector : UniqueIdSelector to uniqueId : UniqueId in method package resolvingUniqueIdWithWrongParamsResolvesNothing(listener LogRecordListener) : void in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolverTests | From | To | |
Change Variable Type descriptor : JupiterTestDescriptor to descriptor : Optional<JupiterTestDescriptor> in method protected invokeTestMethod(context JupiterEngineExecutionContext, dynamicTestExecutor DynamicTestExecutor) : void in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor | From | To | |
Extract Method | 3 | ||
Extract Method public append(segment Segment) : UniqueId extracted from public append(segmentType String, value String) : UniqueId in class org.junit.platform.engine.UniqueId | From | To | |
Extract Method private handleResolvedDescriptorsForUniqueId(uniqueId UniqueId, resolvedDescriptors Deque<TestDescriptor>) : void extracted from package resolveUniqueId(uniqueId UniqueId) : void in class org.junit.jupiter.engine.discovery.JavaElementsResolver | From | To | |
Extract Method protected executeTests(selectors DiscoverySelector...) : ExecutionEventRecorder extracted from protected executeTestsForClass(testClass Class<?>) : ExecutionEventRecorder in class org.junit.jupiter.engine.AbstractJupiterTestEngineTests | From | To |