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

Method getCliArgValue

java/tests/src/main/java/tests/BaseTest.java:338–347  ·  view source on GitHub ↗
(Object option)

Source from the content-addressed store, hash-verified

336 // TestMain helpers
337
338 public static boolean getCliArgValue(Object option) {
339 String optionStr = (String) option;
340 String[] args = Main.args;
341 for (String arg : args) {
342 if (arg.equals(optionStr)) {
343 return true;
344 }
345 }
346 return false;
347 }
348
349 public static void dump(Object... messObjects) {
350 StringBuilder sb = new StringBuilder();

Callers 4

parseCliArgsAndPropsMethod · 0.80
initInnerMethod · 0.80
expandSettingsMethod · 0.80
runPrivateTestsMethod · 0.80

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected