| 1130 | } |
| 1131 | |
| 1132 | ~Impl() { |
| 1133 | if (num_running_ != num_launched_) { |
| 1134 | ADD_FAILURE() |
| 1135 | << "A GatingTask instance was destroyed but some underlying tasks did not " |
| 1136 | "start running" |
| 1137 | << std::endl; |
| 1138 | } else if (num_finished_ != num_launched_) { |
| 1139 | ADD_FAILURE() |
| 1140 | << "A GatingTask instance was destroyed but some underlying tasks did not " |
| 1141 | "finish running" |
| 1142 | << std::endl; |
| 1143 | } |
| 1144 | } |
| 1145 | |
| 1146 | std::function<void()> Task() { |
| 1147 | num_launched_++; |
nothing calls this directly
no outgoing calls
no test coverage detected