62a0ab3e60e4a1c62c806934158444f901d8e22c
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public notifyListeners(consumer Consumer<TestListener>) : void renamed to public notifyTestExecutionListeners(consumer Consumer<TestExecutionListener>) : void in class org.junit.gen5.engine.TestListenerRegistry | From | To | |
Rename Method public registerListener(testListener TestListener) : void renamed to public registerTestExecutionListener(listener TestExecutionListener) : void in class org.junit.gen5.engine.TestListenerRegistry | From | To | |
Rename Method public registerTestListener(testListener TestListener) : void renamed to public registerTestPlanExecutionListener(testListener TestPlanExecutionListener) : void in class org.junit.gen5.launcher.Launcher | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type consumer : Consumer<TestListener> to consumer : Consumer<TestExecutionListener> in method public notifyTestExecutionListeners(consumer Consumer<TestExecutionListener>) : void in class org.junit.gen5.engine.TestListenerRegistry | From | To | |
Change Parameter Type testListener : TestListener to listener : TestExecutionListener in method public registerTestExecutionListener(listener TestExecutionListener) : void in class org.junit.gen5.engine.TestListenerRegistry | From | To | |
Change Parameter Type testListener : TestListener to testListener : TestPlanExecutionListener in method public registerTestPlanExecutionListener(testListener TestPlanExecutionListener) : void in class org.junit.gen5.launcher.Launcher | From | To | |
Rename Class | 1 | ||
Rename Class org.junit.gen5.engine.TestListener renamed to org.junit.gen5.engine.TestExecutionListener | From | To | |
Rename Attribute | 1 | ||
Rename Attribute testListeners : List<TestListener> to testExecutionListeners : List<TestExecutionListener> in class org.junit.gen5.engine.TestListenerRegistry | From | To | |
Extract Variable | 2 | ||
Extract Variable reportingListener : TestSummaryReportingTestListener in method public main(args String[]) : void from class com.example.Console | From | To | |
Extract Variable printingListener : ColoredPrintingTestListener in method public main(args String[]) : void from class com.example.Console | From | To | |
Extract Interface | 1 | ||
Extract Interface org.junit.gen5.engine.TestPlanExecutionListener from classes [org.junit.gen5.console.ColoredPrintingTestListener, org.junit.gen5.console.TestSummaryReportingTestListener] | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type testListeners : List<TestListener> to testExecutionListeners : List<TestExecutionListener> in class org.junit.gen5.engine.TestListenerRegistry | From | To | |
Rename Parameter | 1 | ||
Rename Parameter testListener : TestListener to listener : TestExecutionListener in method public registerTestExecutionListener(listener TestExecutionListener) : void in class org.junit.gen5.engine.TestListenerRegistry | From | To |