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

Method testMethod

tests/java/runner/TestRunner.java:249–260  ·  view source on GitHub ↗
(Object o, String methodName)

Source from the content-addressed store, hash-verified

247 }
248
249 public static void testMethod(Object o, String methodName) {
250 pushStack(methodName);
251 try {
252 Method m = o.getClass().getMethod(methodName);
253 m.invoke(o);
254 } catch(java.lang.reflect.InvocationTargetException e) {
255 runner.error(e.getCause());
256 } catch(Exception e) {
257 runner.error(e);
258 }
259 popStack();
260 }
261
262 public static void pushStack(String s) {
263 runner.stack.addLast(s);

Callers 9

executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95

Calls 3

pushStackMethod · 0.95
popStackMethod · 0.95
errorMethod · 0.45

Tested by

no test coverage detected