Lines Matching defs:lt

81         ArrayList<Throwable> lt = new ArrayList<Throwable>();
96 tryAndCheckThrown(lt, bytesForDprivateSubWhat("p/F"),
107 tryAndCheckThrown(lt, bytesForDprivateSubWhat("p/E"),
112 tryAndCheckThrown(lt, bytesForD(),
117 tryAndCheckThrown(lt, "q.D", bytesForDsomeAccess("q/D", 0),
123 tryAndCheckThrown(lt, bytesForDsomeAccess("p/D", ACC_PRIVATE),
129 tryAndCheckThrownMany(lt, bytesForDsomeAccess("p/D", ACC_PRIVATE),
132 if (lt.size() > 0) {
135 for (Throwable th : lt)
137 throw new Error("Test failed, there were " + lt.size() + " failures listed above");
325 List<Throwable> lt, byte[] dBytes, String what, Class<?> expected, String jar_name)
327 tryAndCheckThrown(lt, "p.D", dBytes, what, expected, jar_name);
330 private static void tryAndCheckThrown(List<Throwable> lt, String d_name, byte[] dBytes, String what, Class<?> expected, String jar_name)
338 invokeTest(t1, d1, expected, lt);
349 invokeTest(t3, d3, expected, lt);
355 badGoodBadGood(t2, d2, expected, lt);
358 private static void invokeTest(Class<?> t, Class<?> d, Class<?> expected, List<Throwable> lt)
367 lt.add(new Error("Exception " + expected.getName() + " was not thrown"));
380 lt.add(th);
384 lt.add(th);
391 private static void tryAndCheckThrownMany(List<Throwable> lt, byte[] dBytes, String what, Class<?> expected)
399 invokeTestMany(t1, d1, expected, lt);
409 badGoodBadGoodMany(t2, d2, expected, lt);
417 invokeTestMany(t2, d2, expected, lt);
421 private static void invokeTestMany(Class<?> t, Class<?> d, Class<?> expected, List<Throwable> lt)
446 lt.add(new Error("Exception " + expected.getName()
461 lt.add(th);
465 lt.add(th);
490 * @param lt list of unexpected throwables seen
492 private static void badGoodBadGood(Class<?> t2, Class<?> d2, Class<?> expected, List<Throwable> lt)
495 invokeTest(t2, d2, expected, lt);
497 invokeTest(t2, Dok.class, null, lt);
499 invokeTest(t2, d2, expected, lt);
501 invokeTest(t2, Dok.class, null, lt);
504 private static void badGoodBadGoodMany(Class<?> t2, Class<?> d2, Class<?> expected, List<Throwable> lt)
507 invokeTestMany(t2, d2, expected, lt);
509 invokeTestMany(t2, Dok.class, null, lt);
511 invokeTestMany(t2, d2, expected, lt);
513 invokeTestMany(t2, Dok.class, null, lt);