(state: XcodebuildRunState)
| 166 | } |
| 167 | |
| 168 | function hasTestCounts(state: XcodebuildRunState): boolean { |
| 169 | return ( |
| 170 | state.completedTests > 0 || |
| 171 | state.failedTests > 0 || |
| 172 | state.skippedTests > 0 || |
| 173 | state.testFailures.length > 0 |
| 174 | ); |
| 175 | } |
| 176 | |
| 177 | function createStateTestCounts(state: XcodebuildRunState): Counts | undefined { |
| 178 | if (!hasTestCounts(state)) { |
no outgoing calls
no test coverage detected