226ecd8efc45e4540bba43f6c604e891b5a94689
Files Diff
- Added: 13
- Removed: 11
- Renamed: 0
- Modified: 12
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public isActualValueDefined() : boolean renamed to public isActualDefined() : boolean in class org.opentestalliance.AssertionFailedError | From | To | |
| Rename Method public isExpectedValueDefined() : boolean renamed to public isExpectedDefined() : boolean in class org.opentestalliance.AssertionFailedError | From | To | |
| Change Parameter Type | 4 | ||
| Change Parameter Type testDescription : EngineTestDescription to testDescription : TestDescriptor in method private execute(testDescription TestDescriptor) : void in class org.junit.gen5.engine.junit5.JUnit5Engine | From | To | |
| Change Parameter Type testPlan : TestPlan to testPlan : TestExecutionPlan in method public execute(testPlan TestExecutionPlan) : void in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Parameter Type testDescriptions : List<EngineTestDescription> to testDescriptions : List<TestDescriptor> in method public execute(testDescriptions List<TestDescriptor>) : void in class org.junit.gen5.engine.junit5.JUnit5Engine | From | To | |
| Change Parameter Type testDescriptions : List<EngineTestDescription> to testDescriptions : List<TestDescriptor> in method public execute(testDescriptions List<TestDescriptor>) : void in class org.junit.gen5.engine.Engine | From | To | |
| Move Method | 2 | ||
| Move Method public getTestIdentifiers() : List<TestIdentifier> from class org.junit.gen5.launcher.TestPlan to public getTestIdentifiers() : List<TestIdentifier> from class org.junit.gen5.launcher.TestExecutionPlan | From | To | |
| Move Method public addTestIdentifiers(testDescriptions Collection<TestIdentifier>) : void from class org.junit.gen5.launcher.TestPlan to public addTestIdentifiers(testDescriptions Collection<TestIdentifier>) : void from class org.junit.gen5.launcher.TestExecutionPlan | From | To | |
| Rename Variable | 1 | ||
| Rename Variable javaMethodTestDescription : JavaMethodTestDescription to javaTestDescription : JavaTestDescriptor in method private execute(testDescription TestDescriptor) : void in class org.junit.gen5.engine.junit5.JUnit5Engine | From | To | |
| Change Return Type | 4 | ||
| Change Return Type EngineTestDescription to TestDescriptor in method private lookup(engine Engine, testIdentifier TestIdentifier) : TestDescriptor in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Return Type TestPlan to TestExecutionPlan in method public discoverTests(className String) : TestExecutionPlan in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Return Type List<EngineTestDescription> to List<TestDescriptor> in method public discoverTests(className String) : List<TestDescriptor> in class org.junit.gen5.engine.junit5.JUnit5Engine | From | To | |
| Change Return Type List<EngineTestDescription> to List<TestDescriptor> in method public discoverTests(className String) : List<TestDescriptor> in class org.junit.gen5.engine.Engine | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private testIdentifiers : List<TestIdentifier> from class org.junit.gen5.launcher.TestPlan to private testIdentifiers : List<TestIdentifier> from class org.junit.gen5.launcher.TestExecutionPlan | From | To | |
| Extract Class | 1 | ||
| Extract Class org.junit.gen5.launcher.TestExecutionPlan from class org.junit.gen5.launcher.TestPlan | From | To | |
| Rename Class | 2 | ||
| Rename Class com.example.SampleTest renamed to com.example.SampleTestCase | From | To | |
| Rename Class org.opentestalliance.AssertionFailedException renamed to org.opentestalliance.AssertionFailedError | From | To | |
| Move Class | 6 | ||
| Move Class org.junit.core.Executable moved to org.junit.gen5.api.Executable | From | To | |
| Move Class org.junit.core.Assumptions moved to org.junit.gen5.api.Assumptions | From | To | |
| Move Class org.junit.core.util.Preconditions moved to org.junit.gen5.commons.util.Preconditions | From | To | |
| Move Class org.junit.core.Assertions moved to org.junit.gen5.api.Assertions | From | To | |
| Move Class org.junit.core.util.ObjectUtils moved to org.junit.gen5.commons.util.ObjectUtils | From | To | |
| Move Class org.junit.core.TestDescriptor moved to org.junit.gen5.engine.TestDescriptor | From | To | |
| Change Variable Type | 8 | ||
| Change Variable Type engineTestDescriptions : Map<TestIdentifier,EngineTestDescription> to engineTestDescriptions : Map<TestIdentifier,TestDescriptor> in method public execute(testPlan TestExecutionPlan) : void in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Variable Type testDescription : EngineTestDescription to testDescription : TestDescriptor in method public execute(testDescriptions List<TestDescriptor>) : void in class org.junit.gen5.engine.junit5.JUnit5Engine | From | To | |
| Change Variable Type testPlan : TestPlan to testPlan : TestExecutionPlan in method public discoverTests(className String) : TestExecutionPlan in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Variable Type engineTestDescriptionsByTestId : Map<TestIdentifier,EngineTestDescription> to engineTestDescriptionsByTestId : Map<TestIdentifier,TestDescriptor> in method private discoverTests(className String, engine Engine) : Set<TestIdentifier> in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Variable Type testDescriptions : List<EngineTestDescription> to testDescriptions : List<TestDescriptor> in method public execute(testPlan TestExecutionPlan) : void in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Variable Type discoveredTests : List<EngineTestDescription> to discoveredTests : List<TestDescriptor> in method private discoverTests(className String, engine Engine) : Set<TestIdentifier> in class org.junit.gen5.launcher.Launcher | From | To | |
| Change Variable Type testPlan : TestPlan to testPlan : TestExecutionPlan in method public main(args String[]) : void in class org.junit.gen5.console.Console | From | To | |
| Change Variable Type javaMethodTestDescription : JavaMethodTestDescription to javaTestDescription : JavaTestDescriptor in method private execute(testDescription TestDescriptor) : void in class org.junit.gen5.engine.junit5.JUnit5Engine | From | To | |
| Change Package | 2 | ||
| Change Package org.junit.core to org.junit.gen5.api | From | To | |
| Change Package org.junit.core to org.junit.gen5.commons | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type testDescriptionsByEngine : Map<String,Map<TestIdentifier,EngineTestDescription>> to testDescriptionsByEngine : Map<String,Map<TestIdentifier,TestDescriptor>> in class org.junit.gen5.launcher.Launcher | From | To |