Home | History | Annotate | Download | only in src

Lines Matching refs:expected

164   public static void expectEquals(byte expected, byte result) {
165 if (expected != result) {
166 throw new Error("Expected: " + expected + ", found: " + result);
170 public static void expectEquals(char expected, char result) {
171 if (expected != result) {
172 throw new Error("Expected: " + expected + ", found: " + result);
176 public static void expectEquals(int expected, int result) {
177 if (expected != result) {
178 throw new Error("Expected: " + expected + ", found: " + result);
182 public static void expectEquals(long expected, long result) {
183 if (expected != result) {
184 throw new Error("Expected: " + expected + ", found: " + result);
188 public static void expectEquals(float expected, float result) {
189 if (expected != result) {
190 throw new Error("Expected: " + expected + ", found: " + result);
194 public static void expectEquals(double expected, double result) {
195 if (expected != result) {
196 throw new Error("Expected: " + expected + ", found: " + result);
200 public static void expectEquals(Object expected, Object result) {
201 if (expected != result) {
202 throw new Error("Expected: " + expected + ", found: " + result);