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

Method main

ZezeJava/ZezeJavaTest/src/Infinite/Simulate.java:145–161  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 6

BeforeMethod · 0.95
testMainMethod · 0.95
AfterMethod · 0.95
clearAllCountersMethod · 0.95
clearMethod · 0.95
getPropertyMethod · 0.80

Tested by

no test coverage detected