(String[] args)
| 143 | } |
| 144 | |
| 145 | public static void main(String[] args) throws Exception { |
| 146 | var simulate = new Simulate(); |
| 147 | simulate.Infinite = !"false".equalsIgnoreCase(System.getProperty("Infinite")); |
| 148 | do { |
| 149 | simulate.Before(); |
| 150 | try { |
| 151 | simulate.testMain(); |
| 152 | } catch (Throwable e) { // print stacktrace. rethrow |
| 153 | logger.fatal("main exception:", e); |
| 154 | throw e; |
| 155 | } finally { |
| 156 | simulate.After(); |
| 157 | Tasks.clearAllCounters(); |
| 158 | DatabaseMemory.clear(); |
| 159 | } |
| 160 | } while (simulate.Infinite); |
| 161 | } |
| 162 | } |
nothing calls this directly
no test coverage detected