Searched refs:AssertionResult (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest.h131 // the assertion wasn't successful, the AssertionResult object
137 // The constructor of AssertionResult is private. To create an
148 // testing::AssertionResult IsEven(const char* expr, int n) {
161 class AssertionResult { class in namespace:testing
165 friend AssertionResult AssertionSuccess();
166 friend AssertionResult AssertionFailure(const Message&);
176 AssertionResult() {} function in class:testing::AssertionResult
179 explicit AssertionResult(const internal::String& failure_message);
186 AssertionResult AssertionSuccess();
189 AssertionResult AssertionFailur
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text,
131 AssertionResult AssertPred2Helper(const char* pred_text,
182 AssertionResult AssertPred3Helper(const char* pred_text,
240 AssertionResult AssertPred4Helper(const char* pred_text,
305 AssertionResult AssertPred5Helper(const char* pred_text,
H A Dgtest.cc509 AssertionResult HasOneFailure(const char* /* results_expr */,
831 // AssertionResult constructor.
832 AssertionResult::AssertionResult(const internal::String& failure_message) function in class:testing::AssertionResult
838 AssertionResult AssertionSuccess() {
839 return AssertionResult();
844 AssertionResult AssertionFailure(const Message& message) {
845 return AssertionResult(message.GetString());
865 AssertionResult EqFailure(const char* expected_expression,
889 AssertionResult DoubleNearPredForma
[all...]
/external/chromium/testing/
H A Dgtest_mac.h20 GTEST_API_ AssertionResult CmpHelperNSEQ(const char* expected_expression,
27 GTEST_API_ AssertionResult CmpHelperNSNE(const char* expected_expression,
/external/chromium/net/base/
H A Dnet_log_unittest.h23 inline ::testing::AssertionResult LogContainsEventHelper(
59 inline ::testing::AssertionResult LogContainsEventAtTime(
70 inline ::testing::AssertionResult LogContainsEvent(
80 inline ::testing::AssertionResult LogContainsBeginEvent(
88 inline ::testing::AssertionResult LogContainsEndEvent(
95 inline ::testing::AssertionResult LogContainsEntryWithType(
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.h52 testing::AssertionResult matchesConditionally(const std::string &Code,
75 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) {
80 testing::AssertionResult notMatches(const std::string &Code,
86 testing::AssertionResult
114 testing::AssertionResult
122 testing::AssertionResult
/external/chromium/testing/gtest/include/gtest/
H A Dgtest.h187 // the assertion wasn't successful, the AssertionResult object
201 // testing::AssertionResult IsEven(int n) {
228 // testing::AssertionResult IsEven(int n) {
252 // testing::AssertionResult IsEven(const char* expr, int n) {
265 class GTEST_API_ AssertionResult { class in namespace:testing
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} function in class:testing::AssertionResult
277 AssertionResult operator!() const;
279 // Returns the text streamed into this AssertionResult
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text,
129 AssertionResult AssertPred2Helper(const char* pred_text,
178 AssertionResult AssertPred3Helper(const char* pred_text,
234 AssertionResult AssertPred4Helper(const char* pred_text,
297 AssertionResult AssertPred5Helper(const char* pred_text,
/external/gtest/include/gtest/
H A Dgtest.h187 // the assertion wasn't successful, the AssertionResult object
201 // testing::AssertionResult IsEven(int n) {
228 // testing::AssertionResult IsEven(int n) {
252 // testing::AssertionResult IsEven(const char* expr, int n) {
265 class GTEST_API_ AssertionResult { class in namespace:testing
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} function in class:testing::AssertionResult
277 AssertionResult operator!() const;
279 // Returns the text streamed into this AssertionResult
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text,
129 AssertionResult AssertPred2Helper(const char* pred_text,
178 AssertionResult AssertPred3Helper(const char* pred_text,
234 AssertionResult AssertPred4Helper(const char* pred_text,
297 AssertionResult AssertPred5Helper(const char* pred_text,
/external/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h187 // the assertion wasn't successful, the AssertionResult object
201 // testing::AssertionResult IsEven(int n) {
228 // testing::AssertionResult IsEven(int n) {
252 // testing::AssertionResult IsEven(const char* expr, int n) {
265 class GTEST_API_ AssertionResult { class in namespace:testing
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {} function in class:testing::AssertionResult
277 AssertionResult operator!() const;
279 // Returns the text streamed into this AssertionResult
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text,
129 AssertionResult AssertPred2Helper(const char* pred_text,
178 AssertionResult AssertPred3Helper(const char* pred_text,
234 AssertionResult AssertPred4Helper(const char* pred_text,
297 AssertionResult AssertPred5Helper(const char* pred_text,
/external/protobuf/gtest/include/gtest/
H A Dgtest.h179 // the assertion wasn't successful, the AssertionResult object
185 // The constructor of AssertionResult is private. To create an
196 // testing::AssertionResult IsEven(const char* expr, int n) {
209 class AssertionResult { class in namespace:testing
213 friend AssertionResult AssertionSuccess();
214 friend AssertionResult AssertionFailure(const Message&);
224 AssertionResult() {} function in class:testing::AssertionResult
227 explicit AssertionResult(const internal::String& failure_message);
234 AssertionResult AssertionSuccess();
237 AssertionResult AssertionFailur
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
87 AssertionResult AssertPred1Helper(const char* pred_text,
131 AssertionResult AssertPred2Helper(const char* pred_text,
182 AssertionResult AssertPred3Helper(const char* pred_text,
240 AssertionResult AssertPred4Helper(const char* pred_text,
305 AssertionResult AssertPred5Helper(const char* pred_text,
/external/clang/unittests/AST/
H A DCommentParser.cpp79 ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) {
92 ::testing::AssertionResult GetChildAt(const Comment *C,
117 ::testing::AssertionResult HasTextAt(const Comment *C,
121 ::testing::AssertionResult AR = GetChildAt(C, Idx, TC);
138 ::testing::AssertionResult HasTextWithNewlineAt(const Comment *C,
142 ::testing::AssertionResult AR = GetChildAt(C, Idx, TC);
159 ::testing::AssertionResult HasBlockCommandAt(const Comment *C,
165 ::testing::AssertionResult AR = GetChildAt(C, Idx, BCC);
180 ::testing::AssertionResult HasParamCommandAt(
190 ::testing::AssertionResult A
[all...]
H A DDeclPrinterTest.cpp68 ::testing::AssertionResult PrintedDeclMatches(
98 ::testing::AssertionResult PrintedDeclCXX98Matches(StringRef Code,
108 ::testing::AssertionResult PrintedDeclCXX98Matches(
119 ::testing::AssertionResult PrintedDeclCXX11Matches(StringRef Code,
129 ::testing::AssertionResult PrintedDeclCXX11Matches(
/external/chromium/net/proxy/
H A Dproxy_config_service_common_unittest.h31 ::testing::AssertionResult Matches(
H A Dproxy_config_service_common_unittest.cc24 ::testing::AssertionResult* failure_details,
72 ::testing::AssertionResult ProxyRulesExpectation::Matches(
74 ::testing::AssertionResult failure_details = ::testing::AssertionFailure();
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
H A Dgtest-internal.h106 class AssertionResult; // Result of an assertion.
283 AssertionResult EqFailure(const char* expected_expression,
493 AssertionResult IsHRESULTSuccess(const char* expr, long hr); // NOLINT
494 AssertionResult IsHRESULTFailure(const char* expr, long hr); // NOLINT
/external/chromium/testing/gtest/src/
H A Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */,
948 // AssertionResult constructors.
950 AssertionResult::AssertionResult(const AssertionResult& other) function in class:testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const {
959 AssertionResult negation(!success_);
966 AssertionResult AssertionSuccess() {
967 return AssertionResult(tru
[all...]
/external/gtest/src/
H A Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */,
948 // AssertionResult constructors.
950 AssertionResult::AssertionResult(const AssertionResult& other) function in class:testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const {
959 AssertionResult negation(!success_);
966 AssertionResult AssertionSuccess() {
967 return AssertionResult(tru
[all...]
/external/llvm/utils/unittest/googletest/
H A Dgtest.cc605 AssertionResult HasOneFailure(const char* /* results_expr */,
948 // AssertionResult constructors.
950 AssertionResult::AssertionResult(const AssertionResult& other) function in class:testing::AssertionResult
958 AssertionResult AssertionResult::operator!() const {
959 AssertionResult negation(!success_);
966 AssertionResult AssertionSuccess() {
967 return AssertionResult(tru
[all...]
/external/protobuf/gtest/src/
H A Dgtest.cc573 AssertionResult HasOneFailure(const char* /* results_expr */,
955 // AssertionResult constructor.
956 AssertionResult::AssertionResult(const internal::String& failure_message) function in class:testing::AssertionResult
962 AssertionResult AssertionSuccess() {
963 return AssertionResult();
968 AssertionResult AssertionFailure(const Message& message) {
969 return AssertionResult(message.GetString());
989 AssertionResult EqFailure(const char* expected_expression,
1013 AssertionResult DoubleNearPredForma
[all...]
/external/chromium/testing/gtest/test/
H A Dgtest_pred_impl_unittest.cc101 testing::AssertionResult PredFormatFunction1(const char* e1,
115 testing::AssertionResult operator()(const char* e1,
489 testing::AssertionResult PredFormatFunction2(const char* e1,
505 testing::AssertionResult operator()(const char* e1,
919 testing::AssertionResult PredFormatFunction3(const char* e1,
937 testing::AssertionResult operator()(const char* e1,
1391 testing::AssertionResult PredFormatFunction4(const char* e1,
1411 testing::AssertionResult operator()(const char* e1,
1905 testing::AssertionResult PredFormatFunction5(const char* e1,
1927 testing::AssertionResult operato
[all...]
/external/gtest/test/
H A Dgtest_pred_impl_unittest.cc101 testing::AssertionResult PredFormatFunction1(const char* e1,
115 testing::AssertionResult operator()(const char* e1,
489 testing::AssertionResult PredFormatFunction2(const char* e1,
505 testing::AssertionResult operator()(const char* e1,
919 testing::AssertionResult PredFormatFunction3(const char* e1,
937 testing::AssertionResult operator()(const char* e1,
1391 testing::AssertionResult PredFormatFunction4(const char* e1,
1411 testing::AssertionResult operator()(const char* e1,
1905 testing::AssertionResult PredFormatFunction5(const char* e1,
1927 testing::AssertionResult operato
[all...]

Completed in 2113 milliseconds

12