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

Method testKeepResult

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

Source from the content-addressed store, hash-verified

85 }
86
87 @Test
88 void testKeepResult() {
89 Options options = Options.parse();
90 assertEquals(Set.of(Plan.KEEP_ALL), options.getKeepResult());
91 options = Options.parse("-kr", "pta,def-use");
92 assertEquals(Set.of("pta", "def-use"), options.getKeepResult());
93 }
94
95 @Test
96 void testClasspath() {

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
getKeepResultMethod · 0.95
ofMethod · 0.65

Tested by

no test coverage detected