| 180 | } |
| 181 | |
| 182 | void MockCheckedActualCall::checkOutputParameter(const MockNamedValue& outputParameter) |
| 183 | { |
| 184 | if(hasFailed()) |
| 185 | { |
| 186 | return; |
| 187 | } |
| 188 | |
| 189 | setState(CALL_IN_PROGRESS); |
| 190 | discardCurrentlyMatchingExpectations(); |
| 191 | |
| 192 | potentiallyMatchingExpectations_.onlyKeepExpectationsWithOutputParameter(outputParameter); |
| 193 | |
| 194 | if (potentiallyMatchingExpectations_.isEmpty()) { |
| 195 | MockUnexpectedOutputParameterFailure failure(getTest(), getName(), outputParameter, allExpectations_); |
| 196 | failTest(failure); |
| 197 | return; |
| 198 | } |
| 199 | |
| 200 | potentiallyMatchingExpectations_.outputParameterWasPassed(outputParameter.getName()); |
| 201 | completeCallWhenMatchIsFound(); |
| 202 | } |
| 203 | |
| 204 | MockActualCall& MockCheckedActualCall::withBoolParameter(const SimpleString& name, bool value) |
| 205 | { |
nothing calls this directly
no test coverage detected