diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2012-09-27 10:14:43 +0000 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2012-09-27 10:14:43 +0000 |
| commit | 91ce36c98668d1f3be0fe4a3b92aba86556c949f (patch) | |
| tree | dc7a4a2b21e7ad3ba01c2d7383031f9bf1aac7b9 /llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h | |
| parent | 721cffd53a2c0e22167e042c53056b22e9363f67 (diff) | |
| download | bcm5719-llvm-91ce36c98668d1f3be0fe4a3b92aba86556c949f.tar.gz bcm5719-llvm-91ce36c98668d1f3be0fe4a3b92aba86556c949f.zip | |
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767
llvm-svn: 164768
Diffstat (limited to 'llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h')
| -rw-r--r-- | llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h b/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h index 30590053167..8aeea14984e 100644 --- a/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h +++ b/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h @@ -85,16 +85,16 @@ class GTEST_API_ TestPartResult { // Gets the message associated with the test part. const char* message() const { return message_.c_str(); } - // Returns true if the test part passed. + // Returns true iff the test part passed. bool passed() const { return type_ == kSuccess; } - // Returns true if the test part failed. + // Returns true iff the test part failed. bool failed() const { return type_ != kSuccess; } - // Returns true if the test part non-fatally failed. + // Returns true iff the test part non-fatally failed. bool nonfatally_failed() const { return type_ == kNonFatalFailure; } - // Returns true if the test part fatally failed. + // Returns true iff the test part fatally failed. bool fatally_failed() const { return type_ == kFatalFailure; } private: Type type_; |

