Home
last modified time | relevance | path

Searched refs:AssertionResult (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.h161 class AssertionResult {
165 friend AssertionResult AssertionSuccess();
166 friend AssertionResult AssertionFailure(const Message&);
176 AssertionResult() {} in AssertionResult() function
179 explicit AssertionResult(const internal::String& failure_message);
186 AssertionResult AssertionSuccess();
189 AssertionResult AssertionFailure(const Message& msg);
619 AssertionResult CmpHelperEQ(const char* expected_expression, in CmpHelperEQ()
637 AssertionResult CmpHelperEQ(const char* expected_expression,
651 static AssertionResult Compare(const char* expected_expression, in Compare()
[all …]
Dgtest.cc509 AssertionResult HasOneFailure(const char* /* results_expr */, in HasOneFailure()
832 AssertionResult::AssertionResult(const internal::String& failure_message) in AssertionResult() function in testing::AssertionResult
838 AssertionResult AssertionSuccess() { in AssertionSuccess()
839 return AssertionResult(); in AssertionSuccess()
844 AssertionResult AssertionFailure(const Message& message) { in AssertionFailure()
845 return AssertionResult(message.GetString()); in AssertionFailure()
865 AssertionResult EqFailure(const char* expected_expression, in EqFailure()
889 AssertionResult DoubleNearPredFormat(const char* expr1, in DoubleNearPredFormat()
912 AssertionResult FloatingPointLE(const char* expr1, in FloatingPointLE()
951 AssertionResult FloatLE(const char* expr1, const char* expr2, in FloatLE()
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
131 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
182 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
240 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
305 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/open-vcdiff/gtest/include/gtest/
Dgtest.h257 class AssertionResult {
261 AssertionResult(const AssertionResult& other);
263 explicit AssertionResult(bool success) : success_(success) {} in AssertionResult() function
269 AssertionResult operator!() const;
284 template <typename T> AssertionResult& operator<<(const T& value);
289 void operator=(const AssertionResult& other);
302 AssertionResult& AssertionResult::operator<<(const T& value) {
312 AssertionResult AssertionSuccess();
315 AssertionResult AssertionFailure();
319 AssertionResult AssertionFailure(const Message& msg);
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
131 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
182 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
240 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
305 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/clang/unittests/AST/
DCommentParser.cpp80 ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) { in HasChildCount()
93 ::testing::AssertionResult GetChildAt(const Comment *C, in GetChildAt()
118 ::testing::AssertionResult HasTextAt(const Comment *C, in HasTextAt()
122 ::testing::AssertionResult AR = GetChildAt(C, Idx, TC); in HasTextAt()
139 ::testing::AssertionResult HasTextWithNewlineAt(const Comment *C, in HasTextWithNewlineAt()
143 ::testing::AssertionResult AR = GetChildAt(C, Idx, TC); in HasTextWithNewlineAt()
160 ::testing::AssertionResult HasBlockCommandAt(const Comment *C, in HasBlockCommandAt()
166 ::testing::AssertionResult AR = GetChildAt(C, Idx, BCC); in HasBlockCommandAt()
181 ::testing::AssertionResult HasParamCommandAt( in HasParamCommandAt()
191 ::testing::AssertionResult AR = GetChildAt(C, Idx, PCC); in HasParamCommandAt()
[all …]
DStmtPrinterTest.cpp67 ::testing::AssertionResult PrintedStmtMatches( in PrintedStmtMatches()
98 ::testing::AssertionResult PrintedStmtCXX98Matches( in PrintedStmtCXX98Matches()
112 ::testing::AssertionResult PrintedStmtMSMatches( in PrintedStmtMSMatches()
/external/chromium/testing/gtest/include/gtest/
Dgtest.h265 class GTEST_API_ AssertionResult {
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} in AssertionResult() function
277 AssertionResult operator!() const;
291 template <typename T> AssertionResult& operator<<(const T& value) {
298 AssertionResult& operator<<(
320 GTEST_DISALLOW_ASSIGN_(AssertionResult);
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
129 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
178 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
234 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
297 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h265 class GTEST_API_ AssertionResult {
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} in AssertionResult() function
277 AssertionResult operator!() const;
291 template <typename T> AssertionResult& operator<<(const T& value) {
298 AssertionResult& operator<<(
320 GTEST_DISALLOW_ASSIGN_(AssertionResult);
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
129 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
178 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
234 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
297 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/gtest/include/gtest/
Dgtest.h265 class GTEST_API_ AssertionResult {
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} in AssertionResult() function
277 AssertionResult operator!() const;
291 template <typename T> AssertionResult& operator<<(const T& value) {
298 AssertionResult& operator<<(
320 GTEST_DISALLOW_ASSIGN_(AssertionResult);
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
129 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
178 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
234 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
297 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h265 class GTEST_API_ AssertionResult {
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} in AssertionResult() function
277 AssertionResult operator!() const;
291 template <typename T> AssertionResult& operator<<(const T& value) {
298 AssertionResult& operator<<(
320 GTEST_DISALLOW_ASSIGN_(AssertionResult);
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
129 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
178 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
234 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
297 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/protobuf/gtest/include/gtest/
Dgtest.h209 class AssertionResult {
213 friend AssertionResult AssertionSuccess();
214 friend AssertionResult AssertionFailure(const Message&);
224 AssertionResult() {} in AssertionResult() function
227 explicit AssertionResult(const internal::String& failure_message);
234 AssertionResult AssertionSuccess();
237 AssertionResult AssertionFailure(const Message& msg);
1176 AssertionResult CmpHelperEQ(const char* expected_expression, in CmpHelperEQ()
1204 AssertionResult CmpHelperEQ(const char* expected_expression,
1218 static AssertionResult Compare(const char* expected_expression, in Compare()
[all …]
Dgtest_pred_impl.h77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text, in AssertPred1Helper()
131 AssertionResult AssertPred2Helper(const char* pred_text, in AssertPred2Helper()
182 AssertionResult AssertPred3Helper(const char* pred_text, in AssertPred3Helper()
240 AssertionResult AssertPred4Helper(const char* pred_text, in AssertPred4Helper()
305 AssertionResult AssertPred5Helper(const char* pred_text, in AssertPred5Helper()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h53 testing::AssertionResult matchesConditionally(const std::string &Code, in matchesConditionally()
77 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches()
82 testing::AssertionResult notMatches(const std::string &Code, in notMatches()
88 testing::AssertionResult
116 testing::AssertionResult
124 testing::AssertionResult
/external/chromium/net/base/
Dnet_log_unittest.h23 inline ::testing::AssertionResult LogContainsEventHelper( in LogContainsEventHelper()
59 inline ::testing::AssertionResult LogContainsEventAtTime( in LogContainsEventAtTime()
70 inline ::testing::AssertionResult LogContainsEvent( in LogContainsEvent()
80 inline ::testing::AssertionResult LogContainsBeginEvent( in LogContainsBeginEvent()
88 inline ::testing::AssertionResult LogContainsEndEvent( in LogContainsEndEvent()
95 inline ::testing::AssertionResult LogContainsEntryWithType( in LogContainsEntryWithType()
/external/chromium/testing/gtest/src/
Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */, in HasOneFailure()
950 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() function in testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const { in operator !()
959 AssertionResult negation(!success_); in operator !()
966 AssertionResult AssertionSuccess() { in AssertionSuccess()
967 return AssertionResult(true); in AssertionSuccess()
971 AssertionResult AssertionFailure() { in AssertionFailure()
972 return AssertionResult(false); in AssertionFailure()
977 AssertionResult AssertionFailure(const Message& message) { in AssertionFailure()
998 AssertionResult EqFailure(const char* expected_expression, in EqFailure()
[all …]
/external/gtest/src/
Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */, in HasOneFailure()
950 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() function in testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const { in operator !()
959 AssertionResult negation(!success_); in operator !()
966 AssertionResult AssertionSuccess() { in AssertionSuccess()
967 return AssertionResult(true); in AssertionSuccess()
971 AssertionResult AssertionFailure() { in AssertionFailure()
972 return AssertionResult(false); in AssertionFailure()
977 AssertionResult AssertionFailure(const Message& message) { in AssertionFailure()
998 AssertionResult EqFailure(const char* expected_expression, in EqFailure()
[all …]
/external/open-vcdiff/gtest/src/
Dgtest.cc573 AssertionResult HasOneFailure(const char* /* results_expr */, in HasOneFailure()
957 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() function in testing::AssertionResult
965 AssertionResult AssertionResult::operator!() const { in operator !()
966 AssertionResult negation(!success_); in operator !()
973 AssertionResult AssertionSuccess() { in AssertionSuccess()
974 return AssertionResult(true); in AssertionSuccess()
978 AssertionResult AssertionFailure() { in AssertionFailure()
979 return AssertionResult(false); in AssertionFailure()
984 AssertionResult AssertionFailure(const Message& message) { in AssertionFailure()
1005 AssertionResult EqFailure(const char* expected_expression, in EqFailure()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */, in HasOneFailure()
950 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() function in testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const { in operator !()
959 AssertionResult negation(!success_); in operator !()
966 AssertionResult AssertionSuccess() { in AssertionSuccess()
967 return AssertionResult(true); in AssertionSuccess()
971 AssertionResult AssertionFailure() { in AssertionFailure()
972 return AssertionResult(false); in AssertionFailure()
977 AssertionResult AssertionFailure(const Message& message) { in AssertionFailure()
998 AssertionResult EqFailure(const char* expected_expression, in EqFailure()
[all …]
/external/llvm/utils/unittest/googletest/
Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */, in HasOneFailure()
950 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() function in testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const { in operator !()
959 AssertionResult negation(!success_); in operator !()
966 AssertionResult AssertionSuccess() { in AssertionSuccess()
967 return AssertionResult(true); in AssertionSuccess()
971 AssertionResult AssertionFailure() { in AssertionFailure()
972 return AssertionResult(false); in AssertionFailure()
977 AssertionResult AssertionFailure(const Message& message) { in AssertionFailure()
998 AssertionResult EqFailure(const char* expected_expression, in EqFailure()
[all …]
/external/chromium/testing/
Dgtest_mac.h20 GTEST_API_ AssertionResult CmpHelperNSEQ(const char* expected_expression,
27 GTEST_API_ AssertionResult CmpHelperNSNE(const char* expected_expression,

123