Lines Matching defs:expected
50 // NO exceptions expected
53 // make a set of expected exception.
54 static Collection<Class<?>> expectedExceptions(Class<?>... expected) {
56 if (expected.length == 0) {
58 } else if (expected.length == 1) {
59 assert expected[0] != null;
60 exceptions = Collections.<Class<?>>singleton(expected[0]);
62 exceptions = new HashSet<>(Arrays.asList(expected));
128 log.println(name + ": As expected: "
138 // exceptions we expected.
148 // if we reach here, we have our expected exception