(String[] args)
| 16 | public 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 | } |
nothing calls this directly
no test coverage detected