f0dfe1f4c8ba0c084c23e3df6b98b63581a348c7
Files Diff
- Added: 6
- Removed: 3
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method public ConsoleRunner(options CommandLineOptions) from class org.junit.gen5.console.ConsoleRunner to public ExecuteTestsTask(options CommandLineOptions) from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type out : PrintStream to out : PrintWriter in method package ColoredPrintingTestListener(out PrintWriter, disableAnsiColors boolean) in class org.junit.gen5.console.tasks.ColoredPrintingTestListener | From | To | |
| Move Method | 6 | ||
| Move Method private registerListeners(launcher Launcher, summary TestExecutionSummary) : void from class org.junit.gen5.console.ConsoleRunner to private registerListeners(launcher Launcher, summary TestExecutionSummary, out PrintWriter) : void from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Move Method private createTestPlanSpecification() : TestPlanSpecification from class org.junit.gen5.console.ConsoleRunner to private createTestPlanSpecification() : TestPlanSpecification from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Move Method private computeExitCode(options CommandLineOptions, summary TestExecutionSummary) : int from class org.junit.gen5.console.ConsoleRunner to private computeExitCode(summary TestExecutionSummary) : int from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Move Method private testPlanSpecificationElementsFromArguments() : List<TestPlanSpecificationElement> from class org.junit.gen5.console.ConsoleRunner to private testPlanSpecificationElementsFromArguments() : List<TestPlanSpecificationElement> from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Move Method package toTestPlanSpecificationElements(arguments List<String>) : List<TestPlanSpecificationElement> from class org.junit.gen5.console.ConsoleRunner to private toTestPlanSpecificationElements(arguments List<String>) : List<TestPlanSpecificationElement> from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Move Method private updateClassLoader() : void from class org.junit.gen5.console.ConsoleRunner to private updateClassLoader() : void from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private options : CommandLineOptions from class org.junit.gen5.console.ConsoleRunner to private options : CommandLineOptions from class org.junit.gen5.console.tasks.ExecuteTestsTask | From | To | |
| Extract Class | 1 | ||
| Extract Class org.junit.gen5.console.tasks.ExecuteTestsTask from class org.junit.gen5.console.ConsoleRunner | From | To | |
| Move Class | 3 | ||
| Move Class org.junit.gen5.console.ColoredPrintingTestListener moved to org.junit.gen5.console.tasks.ColoredPrintingTestListener | From | To | |
| Move Class org.junit.gen5.console.ClasspathEntriesParserTest moved to org.junit.gen5.console.tasks.ClasspathEntriesParserTest | From | To | |
| Move Class org.junit.gen5.console.ClasspathEntriesParser moved to org.junit.gen5.console.tasks.ClasspathEntriesParser | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable e : Exception to exception : Exception in method private printException(exception Exception, out PrintStream) : void in class org.junit.gen5.console.ConsoleRunner | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type out : PrintStream to out : PrintWriter in class org.junit.gen5.console.tasks.ColoredPrintingTestListener | From | To | |
| Extract Method | 1 | ||
| Extract Method private printException(exception Exception, out PrintStream) : void extracted from public main(args String...) : void in class org.junit.gen5.console.ConsoleRunner | From | To |