Lines Matching defs:expected
44 public static int zeroCasesNoDefault(String s, Set<String> stringSet, boolean expected) {
52 public static int zeroCasesWithDefault(String s, Set<String> stringSet, boolean expected) {
60 if (addResult != expected) {
71 public static int zeroCasesWithDefaultBreak(String s, Set<String> stringSet, boolean expected) {
77 failures = zeroCasesWithDefault(s, stringSet, expected);
85 public static int oneCaseNoDefault(String s, Set<String> stringSet, boolean expected) {
93 if (addResult != expected) {
104 public static int oneCaseNoDefaultBreak(String s, Set<String> stringSet, boolean expected) {
110 failures = oneCaseNoDefaultBreak(s, stringSet, expected);
118 public static int oneCaseWithDefault(String s, Set<String> stringSet, boolean expected) {
126 if (addResult != expected) {
140 public static int oneCaseBreakOnly(String s, Set<String> stringSet, boolean expected) {
151 public static int oneCaseDefaultBreakOnly(String s, Set<String> stringSet, boolean expected) {
176 System.err.println("Didn't get NPE as expected from " + method);
182 System.err.println("Didn't get expected target exception NPE, got " +