Lines Matching defs:fail
67 private static int fail = 0;
75 static void fail(String p) {
79 fail++;
82 static void fail(String p, long exp, String cmp, long got) {
87 fail++;
90 private static void fail(String p, Class ex) {
95 fail++;
190 fail(s.name(), SecurityException.class);
197 fail(s.name(), SecurityException.class);
204 fail(s.name(), SecurityException.class);
223 // if the file system can dynamically change size, this check will fail
225 fail(s.name(), s.total(), "!=", ts);
232 fail(s.name(), s.free(), "??", tsp);
237 fail(s.name(), s.total(), ">", fs);
242 fail(s.name(), s.total(), ">", us);
261 fail(f.getName(), s[i], "!=", 0L);
275 fail(f.getName(), s[i], "==", 0L);
280 fail("Couldn't create temp file for test");
383 if (fail != 0)
384 throw new RuntimeException((fail + pass) + " tests: "
385 + fail + " failure(s), first", first);
387 out.format("all %d tests passed%n", fail + pass);