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

Method assertDoesNotThrow

tests/java/runner/TestRunner.java:225–232  ·  view source on GitHub ↗
(Executable executable)

Source from the content-addressed store, hash-verified

223 }
224
225 public static void assertDoesNotThrow(Executable executable) {
226 try {
227 executable.execute();
228 runner.pass();
229 } catch (Exception e) {
230 runner.fail("Did not expect exception, but caught '" + e + "'");
231 }
232 }
233
234
235 public static void testClass(Class<? extends Executable> cls) {

Callers 3

executeMethod · 0.80

Calls 3

passMethod · 0.80
failMethod · 0.80
executeMethod · 0.65

Tested by

no test coverage detected