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

Class TestBuildExtractor

tests/test_unit_command.cc:244–261  ·  view source on GitHub ↗

TestBuildExtractor

Source from the content-addressed store, hash-verified

242 // TestBuildExtractor
243 //
244 class TestBuildExtractor : public TestUnitCommandTargetingUnit {
245 public:
246 TestBuildExtractor() {
247 test_unit_type_ = UNIT_TYPEID::ZERG_DRONE;
248 target_unit_type_ = UNIT_TYPEID::NEUTRAL_VESPENEGEYSER;
249 test_ability_ = ABILITY_ID::BUILD_EXTRACTOR;
250 placing_structure_ = true;
251 }
252
253 void SetTestTime() override {
254 wait_game_loops_ = 200;
255 }
256
257 void OnTestFinish() override {
258 VerifyUnitExistsAndComplete(UNIT_TYPEID::ZERG_EXTRACTOR);
259 KillAllUnits();
260 }
261 };
262
263
264 //

Callers 1

UnitCommandTestBotMethod · 0.85

Calls

no outgoing calls

Tested by 1

UnitCommandTestBotMethod · 0.68