Package spoon.testing.utils
Class Check
java.lang.Object
spoon.testing.utils.Check
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertCtElementEquals(CtElement ct1, CtElement ct2)if ct1 is not equals to ct2, tells the exact differencestatic <T extends File>
TassertExists(T file)assertIsSame(A actual, E expected)static <T> TassertNotNull(String msg, T reference)throws AssertionError if "reference" is nullstatic <T> TassertNotNull(T reference)
-
Method Details
-
assertCtElementEquals
if ct1 is not equals to ct2, tells the exact difference -
assertNotNull
throws AssertionError if "reference" is null -
assertNotNull
public static <T> T assertNotNull(T reference) -
assertExists
-
assertIsSame
-