Package spoon.testing.utils
Class Check
java.lang.Object
spoon.testing.utils.Check
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertCtElementEquals(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> T
assertNotNull(String msg, T reference)
throws AssertionError if "reference" is nullstatic <T> T
assertNotNull(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
-