Home
last modified time | relevance | path

Searched refs:expected_ (Results 1 – 14 of 14) sorted by relevance

/external/qemu/android/utils/
Dassert.h61 #define _ANDROID_ASSERT_BOOL(cond_,expected_) \ argument
64 int cond_expected_ = !!(expected_); \
75 #define _ANDROID_ASSERT_INT(cond_,expected_) \ argument
78 int cond_expected_ = (expected_); \
86 #define _ANDROID_ASSERT_INT_OP(cond_,expected_,op_) \ argument
89 int cond_expected_ = (expected_); \
97 # define _ANDROID_ASSERT_PTR(cond_,expected_) \ argument
100 void* cond_expected_ = (void*)(expected_); \
132 # define AASSERT_BOOL(cond_,expected_) _ANDROID_ASSERT_BOOL(cond_,expected_) argument
135 # define AASSERT_INT(cond_,expected_) _ANDROID_ASSERT_INT(cond_,expected_) argument
[all …]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
Dvalidation_task_test.cc49 expected_(), in ValidationTaskTest()
118 FieldProblemMap expected_; member in i18n::addressinput::ValidationTaskTest
143 EXPECT_EQ(expected_, problems_); in TEST_F()
152 EXPECT_EQ(expected_, problems_); in TEST_F()
156 expected_.insert(std::make_pair(COUNTRY, MISSING_REQUIRED_FIELD)); in TEST_F()
160 EXPECT_EQ(expected_, problems_); in TEST_F()
166 expected_.insert(std::make_pair(COUNTRY, UNKNOWN_VALUE)); in TEST_F()
170 EXPECT_EQ(expected_, problems_); in TEST_F()
176 expected_.insert(std::make_pair(COUNTRY, MISSING_REQUIRED_FIELD)); in TEST_F()
180 EXPECT_EQ(expected_, problems_); in TEST_F()
[all …]
Daddress_validator_test.cc153 expected_(), in AddressValidatorTest()
175 FieldProblemMap expected_; member in __anond6315e5a0111::AddressValidatorTest
203 expected_.insert(std::make_pair(COUNTRY, MISSING_REQUIRED_FIELD)); in TEST_P()
207 EXPECT_EQ(expected_, problems_); in TEST_P()
213 expected_.insert(std::make_pair(COUNTRY, UNKNOWN_VALUE)); in TEST_P()
217 EXPECT_EQ(expected_, problems_); in TEST_P()
230 EXPECT_EQ(expected_, problems_); in TEST_P()
237 expected_.insert(std::make_pair(ADMIN_AREA, MISSING_REQUIRED_FIELD)); in TEST_P()
238 expected_.insert(std::make_pair(LOCALITY, MISSING_REQUIRED_FIELD)); in TEST_P()
239 expected_.insert(std::make_pair(STREET_ADDRESS, MISSING_REQUIRED_FIELD)); in TEST_P()
[all …]
/external/chromium_org/sync/internal_api/public/base/
Dinvalidation_test_util.cc34 const AckHandle expected_; member in syncer::__anon9a37298a0111::AckHandleEqMatcher
40 : expected_(expected) { in AckHandleEqMatcher()
45 return expected_.Equals(actual); in MatchAndExplain()
49 *os << " is equal to " << PrintToString(expected_); in DescribeTo()
53 *os << " isn't equal to " << PrintToString(expected_); in DescribeNegationTo()
67 const Invalidation expected_; member in syncer::__anon9a37298a0111::InvalidationEqMatcher
73 const Invalidation& expected) : expected_(expected) { in InvalidationEqMatcher()
78 if (!(expected_.object_id() == actual.object_id())) { in MatchAndExplain()
81 if (expected_.is_unknown_version() && actual.is_unknown_version()) { in MatchAndExplain()
83 } else if (expected_.is_unknown_version() != actual.is_unknown_version()) { in MatchAndExplain()
[all …]
Dobject_id_invalidation_map_test_util.cc33 const ObjectIdInvalidationMap expected_; member in syncer::__anon6daf05290111::ObjectIdInvalidationMapEqMatcher
39 const ObjectIdInvalidationMap& expected) : expected_(expected) { in ObjectIdInvalidationMapEqMatcher()
64 expected_.GetAllInvalidations(&expected_invalidations); in MatchAndExplain()
113 *os << " is equal to " << PrintToString(expected_); in DescribeTo()
118 *os << " isn't equal to " << PrintToString(expected_); in DescribeNegationTo()
/external/chromium_org/net/spdy/
Dhpack_encoder_test.cc110 expected_.AppendPrefix(kIndexedOpcode); in ExpectIndex()
111 expected_.AppendUint32(index); in ExpectIndex()
114 expected_.AppendPrefix(kLiteralIncrementalIndexOpcode); in ExpectIndexedLiteral()
115 expected_.AppendUint32(IndexOf(key_entry)); in ExpectIndexedLiteral()
116 expected_.AppendPrefix(kStringLiteralIdentityEncoded); in ExpectIndexedLiteral()
117 expected_.AppendUint32(value.size()); in ExpectIndexedLiteral()
118 expected_.AppendBytes(value); in ExpectIndexedLiteral()
121 expected_.AppendPrefix(kLiteralIncrementalIndexOpcode); in ExpectIndexedLiteral()
122 expected_.AppendUint32(0); in ExpectIndexedLiteral()
123 expected_.AppendPrefix(kStringLiteralIdentityEncoded); in ExpectIndexedLiteral()
[all …]
/external/chromium_org/sync/notifier/
Dunacked_invalidation_set_test_util.cc38 const UnackedInvalidationSet expected_; member in syncer::test_util::UnackedInvalidationSetEqMatcher
56 : expected_(expected) {} in UnackedInvalidationSetEqMatcher()
66 return expected_.object_id_ == actual.object_id_ in MatchAndExplain()
67 && std::equal(expected_.invalidations_.begin(), in MatchAndExplain()
68 expected_.invalidations_.end(), in MatchAndExplain()
74 *os << " is equal to " << PrintToString(expected_); in DescribeTo()
79 *os << " isn't equal to " << PrintToString(expected_); in DescribeNegationTo()
109 const UnackedInvalidationsMap expected_; member in syncer::test_util::__anon686d87210211::UnackedInvalidationsMapEqMatcher
116 : expected_(expected) { in UnackedInvalidationsMapEqMatcher()
123 UnackedInvalidationsMapToObjectIdInvalidationMap(expected_); in MatchAndExplain()
[all …]
/external/chromium_org/content/browser/geolocation/
Dgeolocation_provider_unittest.cc79 : expected_(expected) {} in GeopositionEqMatcher()
83 return actual.latitude == expected_.latitude && in MatchAndExplain()
84 actual.longitude == expected_.longitude && in MatchAndExplain()
85 actual.altitude == expected_.altitude && in MatchAndExplain()
86 actual.accuracy == expected_.accuracy && in MatchAndExplain()
87 actual.altitude_accuracy == expected_.altitude_accuracy && in MatchAndExplain()
88 actual.heading == expected_.heading && in MatchAndExplain()
89 actual.speed == expected_.speed && in MatchAndExplain()
90 actual.timestamp == expected_.timestamp && in MatchAndExplain()
91 actual.error_code == expected_.error_code && in MatchAndExplain()
[all …]
/external/chromium_org/third_party/webrtc/video/
Dsend_statistics_proxy_unittest.cc33 expected_ = VideoSendStream::Stats(); in SetUp()
96 VideoSendStream::Stats expected_; member in webrtc::SendStatisticsProxyTest
106 StreamStats& ssrc_stats = expected_.substreams[ssrc]; in TEST_F()
118 ExpectEqual(expected_, stats); in TEST_F()
156 StreamStats& stats = expected_.substreams[ssrc]; in TEST_F()
165 ExpectEqual(expected_, stats); in TEST_F()
174 StreamDataCounters& counters = expected_.substreams[ssrc].rtp_stats; in TEST_F()
187 ExpectEqual(expected_, stats); in TEST_F()
199 expected_.substreams[ssrc].bitrate_bps = ssrc; in TEST_F()
203 ExpectEqual(expected_, stats); in TEST_F()
/external/chromium_org/ppapi/proxy/
Ddevice_enumeration_resource_helper_unittest.cc184 expected_ = expected; in SetExpectedResult()
201 if (device_count != helper->expected_.size()) in MonitorDeviceChangeCallback()
205 helper->expected_[i])) { in MonitorDeviceChangeCallback()
215 std::vector<DeviceRefData> expected_; member in ppapi::proxy::__anond3e80f380111::TestMonitorDeviceChange
/external/chromium_org/chrome/browser/component_updater/test/
Dcomponent_updater_service_unittest.h48 explicit PartialMatch(const std::string& expected) : expected_(expected) {} in PartialMatch()
52 const std::string expected_;
Dcomponent_updater_service_unittest.cc46 return actual.find(expected_) != std::string::npos; in Match()
/external/chromium_org/chrome/browser/prefs/
Dprofile_pref_store_manager_unittest.cc37 : expected_(expected) {} in FirstEqualsPredicate()
39 return pair.first == expected_; in operator ()()
43 const std::string expected_; member in __anonef0d45740111::FirstEqualsPredicate
/external/chromium_org/v8/test/cctest/
Dtest-assembler-arm.cc1413 #define TEST_SDIV(expected_, dividend_, divisor_) \ argument
1418 CHECK_EQ(expected_, t.result);