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

Method finishTesting

tests/java/runner/TestRunner.java:238–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 }
237
238 public static int finishTesting() {
239 assert runner.stack.isEmpty() : "Expected stack to be empty, got: " + runner.stack.toString();
240 if (runner.messages.isEmpty()) {
241 System.out.println("] Asserts: " + runner.asserts + ", failures: " + runner.failures + ", errors: " + runner.errors);
242 } else {
243 System.out.println("]");
244 for (String message: runner.messages) {
245 System.err.println(message + "\n");
246 }
247 System.out.println("[ DONE ] Asserts: " + runner.asserts + ", failures: " + runner.failures + ", errors: " + runner.errors);
248 }
249 return runner.failures + runner.errors;
250 }
251}

Callers 1

mainMethod · 0.95

Calls 2

isEmptyMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected