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

Method testMainClass

src/test/java/pascal/taie/config/OptionsTest.java:58–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 @Test
59 void testMainClass() {
60 Options options = Options.parse("-cp", "path/to/cp", "-m", "Main");
61 assertEquals("Main", options.getMainClass());
62 }
63
64 @Test
65 void testAllowPhantom() {

Callers

nothing calls this directly

Calls 2

parseMethod · 0.95
getMainClassMethod · 0.95

Tested by

no test coverage detected