You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
640 B

/*
* Copyright (c) 2013- Facebook.
* All rights reserved.
*/
package junit.framework;
public class Assert {
public static void assume(boolean condition) {
if (!condition) {
while (true) {
}
}
}
public static void assertTrue(boolean condition) {
assume(condition);
}
public static void assertTrue(String message, boolean condition) {
assume(condition);
}
public static void assertFalse(boolean condition) {
assume(!condition);
}
public static void assertFalse(String message, boolean condition) {
assume(!condition);
}
}