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

Method stopAll

ZezeJava/ZezeJavaTest/src/Zezex/TestRoleTimer.java:76–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 private void stopAll() throws Exception {
77 for (var client : clients)
78 client.Stop();
79 for (var server : servers)
80 server.stopBeforeModules();
81 for (var server : servers)
82 server.Stop();
83 for (var link : links)
84 link.Stop();
85 loginQueue.stop();
86 loginQueue = null;
87 clients.clear();
88 links.clear();
89 servers.clear();
90 }
91
92 private static void testContent(TimerContext context) {
93 TestBean bean = (TestBean)context.customData;

Callers 5

testRoleTimer1Method · 0.95
testRoleTimerCron1Method · 0.95
testRoleTimer2Method · 0.95
testRoleTimerCron2Method · 0.95
benchRoleTimerMethod · 0.95

Calls 4

stopMethod · 0.65
clearMethod · 0.65
StopMethod · 0.45
stopBeforeModulesMethod · 0.45

Tested by

no test coverage detected