Swaps two AssertionResults.
| 2487 | |
| 2488 | // Swaps two AssertionResults. |
| 2489 | void AssertionResult::swap(AssertionResult& other) { |
| 2490 | using std::swap; |
| 2491 | swap(success_, other.success_); |
| 2492 | swap(message_, other.message_); |
| 2493 | } |
| 2494 | |
| 2495 | // Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE. |
| 2496 | AssertionResult AssertionResult::operator!() const { |
no outgoing calls
no test coverage detected