MCPcopy Create free account
hub / github.com/JetBrains/skija / assertArrayEquals

Method assertArrayEquals

tests/java/runner/TestRunner.java:124–134  ·  view source on GitHub ↗
(Object[] expected, Object[] actual)

Source from the content-addressed store, hash-verified

122 }
123
124 public static void assertArrayEquals(Object[] expected, Object[] actual) {
125 runner.asserts++;
126 try {
127 if (!Arrays.equals(expected, actual))
128 runner.fail("Expected " + Arrays.toString(expected) + " == " + Arrays.toString(actual));
129 else
130 System.out.print(".");
131 } catch(Exception e) {
132 runner.error(e);
133 }
134 }
135
136 public static void assertArrayEquals(byte[] expected, byte[] actual) {
137 runner.asserts++;

Callers 11

abcMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
testAbcMethod · 0.80
testLigaturesMethod · 0.80
testCombiningMethod · 0.80
testEmojiMethod · 0.80
checksMethod · 0.80
storageMethod · 0.80
utilsMethod · 0.80
executeMethod · 0.80

Calls 4

failMethod · 0.80
toStringMethod · 0.65
equalsMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected