e9fbd7fb72a761c31706eec5c5e547918db13683
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 33
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 9 | ||
Change Parameter Type status : String to status : Result.Type in method public Result(status Result.Type, duration Long, error Throwable) in class cucumber.api.Result | From | To | |
Change Parameter Type status : String to status : Result.Type in method private resultWithStatus(status Result.Type) : Result in class cucumber.api.TestCaseTest | From | To | |
Change Parameter Type type : String to type : Result.Type in method private printSubCount(out PrintStream, count int, type Result.Type, addComma boolean) : boolean in class cucumber.runtime.Stats | From | To | |
Change Parameter Type status : String to status : Result.Type in method private createResultWithStatus(status Result.Type) : Result in class cucumber.runtime.StatsTest | From | To | |
Change Parameter Type status : String to status : Result.Type in method public Result(status Result.Type, duration Long, error Throwable, snippets List<String>) in class cucumber.api.Result | From | To | |
Change Parameter Type resultStatus : String to resultStatus : Result.Type in method public addScenario(resultStatus Result.Type) : void in class cucumber.runtime.Stats | From | To | |
Change Parameter Type status : String to status : Result.Type in method private mapStatusToResult(status Result.Type, error Throwable, duration long) : Result in class cucumber.api.TestStep | From | To | |
Change Parameter Type status : String to status : Result.Type in method private addOneStepScenario(counter Stats, status Result.Type) : void in class cucumber.runtime.StatsTest | From | To | |
Change Parameter Type type : String to type : Result.Type in method private printScenarios(out PrintStream, scenarios List<String>, type Result.Type) : void in class cucumber.runtime.Stats | From | To | |
Rename Variable | 1 | ||
Rename Variable hookResult : Result to result : Result in method private mockResult(status Result.Type) : Result in class cucumber.runtime.junit.JUnitReporterTest | From | To | |
Change Return Type | 7 | ||
Change Return Type String to Result.Type in method protected nonExceptionStatus(skipSteps boolean) : Result.Type in class cucumber.api.TestStep | From | To | |
Change Return Type String to Result.Type in method private mapThrowableToStatus(t Throwable) : Result.Type in class cucumber.api.TestStep | From | To | |
Change Return Type String to Result.Type in method protected executeStep(language String, scenario Scenario, skipSteps boolean) : Result.Type in class cucumber.api.TestStep | From | To | |
Change Return Type String to Result.Type in method public getStatus() : Result.Type in class cucumber.api.Result | From | To | |
Change Return Type String to Result.Type in method public getStatus() : Result.Type in class cucumber.api.Scenario | From | To | |
Change Return Type String to Result.Type in method public getStatus() : Result.Type in class cucumber.runtime.ScenarioImpl | From | To | |
Change Return Type String to Result.Type in method protected executeStep(language String, scenario Scenario, skipSteps boolean) : Result.Type in class cucumber.runner.UnskipableStep | From | To | |
Change Variable Type | 1 | ||
Change Variable Type status : String to status : Result.Type in method public run(bus EventBus, language String, scenario Scenario, skipSteps boolean) : Result in class cucumber.api.TestStep | From | To | |
Extract Method | 14 | ||
Extract Method public result(status Result.Type, error Throwable) : Result extracted from public result(status String, error Throwable) : Result in class cucumber.runtime.TestHelper | From | To | |
Extract Method public result(status Result.Type) : Result extracted from public result(status String) : Result in class cucumber.runtime.TestHelper | From | To | |
Extract Method public result(status Result.Type, error Throwable) : Result extracted from public result(status String) : Result in class cucumber.runtime.TestHelper | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from private mockUndefinedResult() : Result in class cucumber.api.testng.FeatureResultListenerTest | From | To | |
Extract Method public is(status Result.Type) : boolean extracted from private hasAlwaysOkStatus() : boolean in class cucumber.api.Result | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from private mockPendingResult() : Result in class cucumber.api.testng.FeatureResultListenerTest | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from public hook_with_pending_exception_non_strict() : void in class cucumber.runtime.junit.JUnitReporterTest | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from public hook_with_pending_exception_strict() : void in class cucumber.runtime.junit.JUnitReporterTest | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from private mockFailedResult() : Result in class cucumber.api.testng.FeatureResultListenerTest | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from public failed_step_and_after_with_pending_exception_non_strict() : void in class cucumber.runtime.junit.JUnitReporterTest | From | To | |
Extract Method private mockResult(status Result.Type) : Result extracted from private mockPassedResult() : Result in class cucumber.api.testng.FeatureResultListenerTest | From | To | |
Extract Method public is(status Result.Type) : boolean extracted from private hasOkWhenNotStrictStatus() : boolean in class cucumber.api.Result | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type SEVERITY : List<String> to SEVERITY : List<Result.Type> in class cucumber.runtime.ScenarioImpl | From | To | |
Change Attribute Type status : String to status : Result.Type in class cucumber.api.Result | From | To | |
Change Attribute Type ANSI_ESCAPES : Map<String,AnsiEscapes> to ANSI_ESCAPES : Map<Result.Type,AnsiEscapes> in class cucumber.runtime.formatter.ProgressFormatter | From | To | |
Change Attribute Type CHARS : Map<String,Character> to CHARS : Map<Result.Type,Character> in class cucumber.runtime.formatter.ProgressFormatter | From | To |