MCPcopy Create free account
hub / github.com/LFYSec/MScan / testMain

Method testMain

src/test/java/pascal/taie/analysis/Tests.java:81–84  ·  view source on GitHub ↗

Starts an analysis for a specific test case. Requires a main method in the given class. @param mainClass the main class to be analyzed @param classPath where the main class is located @param id ID of the analysis to be executed @param opts options for the analysis

(String mainClass, String classPath,
                                String id, String... opts)

Source from the content-addressed store, hash-verified

79 * @param opts options for the analysis
80 */
81 public static void testMain(String mainClass, String classPath,
82 String id, String... opts) {
83 test(mainClass, true, classPath, id, opts);
84 }
85
86 /**
87 * Starts an analysis for a specific test case.

Callers 4

testSideEffectMethod · 0.95
testInterCPMethod · 0.95
testInterCPAliasMethod · 0.95
testMethod · 0.95

Calls 1

testMethod · 0.95

Tested by

no test coverage detected