| 82 | // |
| 83 | |
| 84 | class TestBuildBarracks : public TestUnitCommandTargetingPoint { |
| 85 | public: |
| 86 | TestBuildBarracks() { |
| 87 | test_unit_type_ = UNIT_TYPEID::TERRAN_SCV; |
| 88 | test_ability_ = ABILITY_ID::BUILD_BARRACKS; |
| 89 | placing_structure_ = true; |
| 90 | } |
| 91 | |
| 92 | void SetTestTime() override { |
| 93 | wait_game_loops_ = 150; |
| 94 | } |
| 95 | |
| 96 | void OnTestFinish() override { |
| 97 | VerifyUnitExistsAndComplete(UNIT_TYPEID::TERRAN_BARRACKS); |
| 98 | VerifyUnitIdleAfterOrder(test_unit_type_); |
| 99 | VerifyUnitIdleAfterOrder(UNIT_TYPEID::TERRAN_BARRACKS); |
| 100 | KillAllUnits(); |
| 101 | } |
| 102 | }; |
| 103 | |
| 104 | |
| 105 | // |
no outgoing calls