405c6f1a6e608715405b2fba63b5db7a36a6658e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public assertEqual(message String, expected Object, actual Object) : void renamed to public assertTrue(condition boolean, messageSupplier Supplier<String>) : void in class org.junit.core.Assertions | From | To | |
Rename Method private failNotSame(message String, expected Object, actual Object) : void renamed to public assertNull(actual Object, messageSupplier Supplier<String>) : void in class org.junit.core.Assertions | From | To | |
Rename Method public assertNotEqual(message String, unexpected Object, actual Object) : void renamed to public assertFalse(condition boolean, messageSupplier Supplier<String>) : void in class org.junit.core.Assertions | From | To | |
Rename Method private failNotNull(message String, actual Object) : void renamed to public assertNull(actual Object, message String) : void in class org.junit.core.Assertions | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type message : String to actual : Object in method public assertNull(actual Object, messageSupplier Supplier<String>) : void in class org.junit.core.Assertions | From | To | |
Change Parameter Type message : String to actual : Object in method public assertNull(actual Object, message String) : void in class org.junit.core.Assertions | From | To | |
Rename Variable | 2 | ||
Rename Variable formatted : String to prefix : String in method private format(expected Object, actual Object, message String) : String in class org.junit.core.Assertions | From | To | |
Rename Variable formatted : String to prefix : String in method private failEqual(actual Object, message String) : void in class org.junit.core.Assertions | From | To | |
Inline Variable | 1 | ||
Inline Variable message : String in method public expectThrows(expected Class<T>, executable Executable) : T from class org.junit.core.Assertions | From | To | |
Extract Method | 6 | ||
Extract Method private failNotNull(actual Object, message String) : void extracted from private failNotNull(message String, actual Object) : void in class org.junit.core.Assertions | From | To | |
Extract Method public fail(messageSupplier Supplier<String>) : void extracted from private failNull(message String) : void in class org.junit.core.Assertions | From | To | |
Extract Method public fail(messageSupplier Supplier<String>) : void extracted from private failNotEqual(message String, expected Object, actual Object) : void in class org.junit.core.Assertions | From | To | |
Extract Method private failNotNull(actual Object, message String) : void extracted from private failNotSame(message String, expected Object, actual Object) : void in class org.junit.core.Assertions | From | To | |
Extract Method public fail(messageSupplier Supplier<String>) : void extracted from private failSame(message String) : void in class org.junit.core.Assertions | From | To | |
Extract Method public fail(messageSupplier Supplier<String>) : void extracted from private failEqual(message String, actual Object) : void in class org.junit.core.Assertions | From | To | |
Rename Parameter | 5 | ||
Rename Parameter object : Object to actual : Object in method public assertNotNull(actual Object) : void in class org.junit.core.Assertions | From | To | |
Rename Parameter message : String to actual : Object in method public assertNull(actual Object, messageSupplier Supplier<String>) : void in class org.junit.core.Assertions | From | To | |
Rename Parameter object : Object to actual : Object in method public assertNull(actual Object) : void in class org.junit.core.Assertions | From | To | |
Rename Parameter object : Object to actual : Object in method public assertNotNull(actual Object, message String) : void in class org.junit.core.Assertions | From | To | |
Rename Parameter message : String to actual : Object in method public assertNull(actual Object, message String) : void in class org.junit.core.Assertions | From | To |