MCPcopy Create free account
hub / github.com/e2wugui/zeze / main

Method main

ZezeJava/ZezeJava/src/main/java/Zeze/Raft/Test.java:874–889  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

872 }
873
874 public static void main(String[] args) throws InterruptedException {
875 String command = "";
876 for (int i = 0; i < args.length; i++) {
877 if (args[i].equals("-c"))
878 command = args[++i];
879 }
880 switch (command) {
881 case "RaftTest":
882 case "RaftDump":
883 new Test().run(command, args);
884 break;
885 default:
886 System.out.println("java Zeze.Raft.Test -c RaftTest -Config raft.xml");
887 System.out.println("java Zeze.Raft.Test -c RaftDump -Config raft.xml");
888 }
889 }
890}

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.65
runMethod · 0.65

Tested by

no test coverage detected