MCPcopy Create free account
hub / github.com/OreosLab/bili / main

Method main

src/test/java/top/misec/task/UnitTest.java:18–33  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

16public class UnitTest {
17
18 public static void main(String[] args) {
19 VersionInfo.printVersionInfo();
20
21 if (args.length > 0) {
22 log.info("使用自定义目录的配置文件");
23 ConfigLoader.configInit(args[0]);
24 } else {
25 log.info("使用同目录下的config.json文件");
26 String currentPath = System.getProperty("user.dir") + File.separator + "config.json";
27 ConfigLoader.configInit(currentPath);
28 }
29
30 // new MatchGame().run();
31 //ServerPush.doServerPush();
32 new UserCheck().run();
33 }
34}

Callers

nothing calls this directly

Calls 3

printVersionInfoMethod · 0.95
configInitMethod · 0.95
runMethod · 0.65

Tested by

no test coverage detected