/external/qemu/android/utils/ |
D | assert.h | 61 #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/ |
D | validation_task_test.cc | 49 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 …]
|
D | address_validator_test.cc | 153 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/ |
D | invalidation_test_util.cc | 34 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 …]
|
D | object_id_invalidation_map_test_util.cc | 33 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/ |
D | hpack_encoder_test.cc | 110 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/ |
D | unacked_invalidation_set_test_util.cc | 38 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/ |
D | geolocation_provider_unittest.cc | 79 : 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/ |
D | send_statistics_proxy_unittest.cc | 33 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/ |
D | device_enumeration_resource_helper_unittest.cc | 184 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/ |
D | component_updater_service_unittest.h | 48 explicit PartialMatch(const std::string& expected) : expected_(expected) {} in PartialMatch() 52 const std::string expected_;
|
D | component_updater_service_unittest.cc | 46 return actual.find(expected_) != std::string::npos; in Match()
|
/external/chromium_org/chrome/browser/prefs/ |
D | profile_pref_store_manager_unittest.cc | 37 : 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/ |
D | test-assembler-arm.cc | 1413 #define TEST_SDIV(expected_, dividend_, divisor_) \ argument 1418 CHECK_EQ(expected_, t.result);
|