Lines Matching defs:expected
101 * its expected value.
103 private boolean verifyResult(Object result, String[] expected) {
104 assert expected.length == 1 :
105 "Single-valued test expecting " + expected.length + " results";
106 return expected[0].equals(String.valueOf(result));
111 * its expected values.
114 String[] expected, boolean ordered) {
115 if (result.size() != expected.length) {
128 Arrays.sort(expected);
130 return Arrays.equals(res, expected);