MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / main

Method main

src/main/java/org/htmlunit/Version.java:39–47  ·  view source on GitHub ↗

The main entry point into this class. @param args the arguments passed on the command line @throws Exception if an error occurs

(final String[] args)

Source from the content-addressed store, hash-verified

37 * @throws Exception if an error occurs
38 */
39 public static void main(final String[] args) throws Exception {
40 if (args.length == 1 && "-SanityCheck".equals(args[0])) {
41 runSanityCheck();
42 return;
43 }
44 System.out.println(getProductName());
45 System.out.println(getCopyright());
46 System.out.println("Version: " + getProductVersion());
47 }
48
49 /**
50 * Runs the sanity check.

Callers 2

mainMethod · 0.95
mainSanityCheckMethod · 0.95

Calls 5

runSanityCheckMethod · 0.95
getProductNameMethod · 0.95
getCopyrightMethod · 0.95
getProductVersionMethod · 0.95
equalsMethod · 0.45

Tested by 2

mainMethod · 0.76
mainSanityCheckMethod · 0.76