Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ testJavaVersion
Method
testJavaVersion
src/test/java/pascal/taie/config/OptionsTest.java:45–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
@Test
46
void
testJavaVersion() {
47
Options options = Options.parse(
"-java=8"
);
48
assertEquals(options.getJavaVersion(), 8);
49
}
50
51
@Test
52
void
testPrependJVM() {
Callers
nothing calls this directly
Calls
2
parse
Method · 0.95
getJavaVersion
Method · 0.95
Tested by
no test coverage detected