| 7133 | bool IsTrue(bool condition) { return condition; } |
| 7134 | |
| 7135 | bool AlwaysTrue() { |
| 7136 | #if GTEST_HAS_EXCEPTIONS |
| 7137 | // This condition is always false so AlwaysTrue() never actually throws, |
| 7138 | // but it makes the compiler think that it may throw. |
| 7139 | if (IsTrue(false)) |
| 7140 | throw ClassUniqueToAlwaysTrue(); |
| 7141 | #endif // GTEST_HAS_EXCEPTIONS |
| 7142 | return true; |
| 7143 | } |
| 7144 | |
| 7145 | // If *pstr starts with the given prefix, modifies *pstr to be right |
| 7146 | // past the prefix and returns true; otherwise leaves *pstr unchanged |
no test coverage detected