MCPcopy Create free account
hub / github.com/Blizzard/s2client-api / TestAppBasic

Class TestAppBasic

tests/test_app.cc:11–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace sc2 {
10
11class TestAppBasic : public TestSequence {
12public:
13 DebugInterface::AppTest app_test_;
14 int delay_ms_;
15
16 TestAppBasic() :
17 TestSequence() {
18 }
19
20 TestAppBasic(DebugInterface::AppTest app_test, int delay_ms = 0) :
21 app_test_(app_test),
22 delay_ms_(delay_ms) {
23 }
24
25 void OnTestStart() override {
26 wait_game_loops_ = 10;
27 }
28
29 void OnTestFinish() override {
30 DebugInterface* debug = agent_->Debug();
31 debug->DebugTestApp(app_test_, delay_ms_);
32 debug->SendDebug();
33 }
34};
35
36class AppTestBotHang : public UnitTestBot {
37public:

Callers 2

AppTestBotHangMethod · 0.85
AppTestBotCrashMethod · 0.85

Calls

no outgoing calls

Tested by 2

AppTestBotHangMethod · 0.68
AppTestBotCrashMethod · 0.68