MCPcopy Index your code
hub / github.com/ccxt/ccxt / test

Method test

java/lib/src/test/java/io/github/ccxt/ProxyLiveTest.java:90–103  ·  view source on GitHub ↗
(String name, TestBody body)

Source from the content-addressed store, hash-verified

88 }
89
90 static void test(String name, TestBody body) {
91 System.out.printf(" %-45s ", name);
92 try {
93 String result = body.run();
94 System.out.println("PASS " + result);
95 passed++;
96 } catch (Exception e) {
97 Throwable cause = e;
98 while (cause.getCause() != null) cause = cause.getCause();
99 String msg = cause.getMessage() != null ? cause.getMessage() : cause.getClass().getSimpleName();
100 System.out.println("FAIL " + (msg.length() > 100 ? msg.substring(0, 100) + "..." : msg));
101 failed++;
102 }
103 }
104}

Callers 15

mainMethod · 0.95
processFileFunction · 0.45
isHTTPSFunction · 0.45
isHTTPSFunction · 0.45
isUrlFunction · 0.45
isHexFunction · 0.45
isStringWholeNumberFunction · 0.45
pascalToSnakeFunction · 0.45
isASCIIFunction · 0.45
isDecimalStringFunction · 0.45
isLenFunction · 0.45
isTypeArrayFunction · 0.45

Calls 2

runMethod · 0.65
lengthMethod · 0.45

Tested by

no test coverage detected