MCPcopy Create free account
hub / github.com/HumbleUI/Skija / abc

Method abc

tests/java/TestTest.java:21–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 public void abc() throws Exception {
22 assertEquals(true, true);
23 assertEquals(true, false);
24
25 assertNotEquals(null, false);
26 assertNotEquals(true, true);
27
28 assertArrayEquals(new Integer[] {1, 2, 3},
29 new Integer[] {1, 2, 3});
30 assertArrayEquals(new Integer[] {1, 2, 3},
31 new Integer[] {1, 2});
32 assertArrayEquals(new Integer[] {1, 2, 3},
33 new Integer[] {1, 2, 4});
34
35 assertThrows(NoSuchElementException.class, ()-> { throw new NoSuchElementException(); });
36 assertThrows(NoSuchElementException.class, ()-> { throw new Exception("abc"); });
37 assertThrows(NoSuchElementException.class, ()-> { System.gc(); });
38
39 for (int i = 0; i < 10; ++i) {
40 pushStack("i = " + i);
41 assertEquals(0, i % 2);
42 popStack();
43 }
44
45 throw new Exception("Unexpected in method");
46 }
47}

Callers

nothing calls this directly

Calls 6

assertEqualsMethod · 0.80
assertNotEqualsMethod · 0.80
assertArrayEqualsMethod · 0.80
assertThrowsMethod · 0.80
pushStackMethod · 0.80
popStackMethod · 0.80

Tested by

no test coverage detected