Lines Matching refs:errors
35 int errors = 0;
36 errors += testEquals();
37 errors += testDeepEquals();
38 errors += testHashCode();
39 errors += testHash();
40 errors += testToString();
41 errors += testToString2();
42 errors += testCompare();
43 errors += testNonNull();
44 if (errors > 0 )
49 int errors = 0;
58 errors++;
63 return errors;
67 int errors = 0;
87 errors++;
93 return errors;
97 int errors = 0;
98 errors += (Objects.hashCode(null) == 0 ) ? 0 : 1;
100 errors += (Objects.hashCode(s) == s.hashCode() ) ? 0 : 1;
101 return errors;
105 int errors = 0;
109 errors += ((Objects.hash((Object[])null) == 0) ? 0 : 1);
111 errors += (Objects.hash("perfect", "ham", "THC") ==
114 return errors;
118 int errors = 0;
119 errors += ("null".equals(Objects.toString(null)) ) ? 0 : 1;
121 errors += (s.equals(Objects.toString(s)) ) ? 0 : 1;
122 return errors;
126 int errors = 0;
128 errors += (s.equals(Objects.toString(null, s)) ) ? 0 : 1;
129 errors += (s.equals(Objects.toString(s, "another string")) ) ? 0 : 1;
130 return errors;
134 int errors = 0;
137 errors += compareTest(null, null, 0);
140 errors += compareTest(a, a, 0);
144 errors += compareTest(a, b, expected);
147 return errors;
151 int errors = 0;
154 errors++;
158 return errors;
162 int errors = 0;
170 errors++;
174 errors++;
180 errors++;
190 errors++;
194 errors++;
200 errors++;
204 errors++;
207 return errors;