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

Method testClasspath

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

Source from the content-addressed store, hash-verified

93 }
94
95 @Test
96 void testClasspath() {
97 Options options = Options.parse(
98 "-cp", ".\\a.jar",
99 "-cp", "./dir\\b",
100 "-cp", "./c" + File.pathSeparator + "d.jar",
101 "-cp", "e.jar" + File.pathSeparator
102 );
103 assertEquals(List.of(".\\a.jar", "./dir\\b", "./c", "d.jar", "e.jar"),
104 options.getClassPath());
105 }
106
107}

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
getClassPathMethod · 0.95
ofMethod · 0.65

Tested by

no test coverage detected