/external/chromium/chrome/browser/policy/ |
policy_map_unittest.cc | 17 EXPECT_TRUE(expected.Equals(map.Get(kPolicyHomepageLocation))); 20 EXPECT_TRUE(expected_b.Equals(map.Get(kPolicyHomepageLocation))); 23 TEST(PolicyMapTest, Equals) { 33 EXPECT_FALSE(a.Equals(b)); 34 EXPECT_FALSE(b.Equals(a)); 35 EXPECT_FALSE(a.Equals(c)); 36 EXPECT_FALSE(c.Equals(a)); 37 EXPECT_TRUE(a.Equals(a2)); 38 EXPECT_TRUE(a2.Equals(a)); 41 EXPECT_TRUE(empty1.Equals(empty2)) [all...] |
/external/chromium_org/ui/base/accelerators/ |
platform_accelerator.h | 19 virtual bool Equals(const PlatformAccelerator& rhs) const = 0;
|
/external/chromium_org/net/dns/ |
dns_config_service_unittest.cc | 108 EXPECT_TRUE(last_config_.Equals(DnsConfig())); 111 EXPECT_TRUE(last_config_.Equals(config)); 121 EXPECT_FALSE(last_config_.Equals(DnsConfig())); 122 EXPECT_TRUE(last_config_.Equals(config)); 126 EXPECT_FALSE(last_config_.Equals(config)); 127 EXPECT_TRUE(last_config_.Equals(DnsConfig())); 130 EXPECT_FALSE(last_config_.Equals(DnsConfig())); 131 EXPECT_TRUE(last_config_.Equals(config)); 135 EXPECT_FALSE(last_config_.Equals(config)); 136 EXPECT_TRUE(last_config_.Equals(DnsConfig())) [all...] |
/external/chromium/net/proxy/ |
proxy_config_unittest.cc | 22 TEST(ProxyConfigTest, Equals) { 31 EXPECT_FALSE(config1.Equals(config2)); 32 EXPECT_FALSE(config2.Equals(config1)); 36 EXPECT_TRUE(config1.Equals(config2)); 37 EXPECT_TRUE(config2.Equals(config1)); 43 EXPECT_FALSE(config1.Equals(config2)); 44 EXPECT_FALSE(config2.Equals(config1)); 48 EXPECT_TRUE(config1.Equals(config2)); 49 EXPECT_TRUE(config2.Equals(config1)); 57 EXPECT_FALSE(config1.Equals(config2)) [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
Equals.java | 23 public class Equals implements IArgumentMatcher, Serializable {
29 public Equals(Object expected) {
37 return expected.equals(actual);
49 public boolean equals(Object o) {
method in class:Equals 50 if (o == null || !this.getClass().equals(o.getClass()))
52 Equals other = (Equals) o;
55 && this.expected.equals(other.expected);
|
/external/guava/guava/src/com/google/common/base/ |
Equivalences.java | 40 * Returns an equivalence that delegates to {@link Object#equals} and {@link Object#hashCode}. 42 * value is null and {@link Object#equals} returns {@code true}. {@link Equivalence#hash} returns 48 public static Equivalence<Object> equals() { method in class:Equivalences 49 return Equals.INSTANCE; 61 private static final class Equals extends Equivalence<Object> 64 static final Equals INSTANCE = new Equals(); 67 return a.equals(b);
|
/external/chromium_org/jingle/notifier/base/ |
server_information.cc | 23 bool ServerInformation::Equals(const ServerInformation& other) const { 25 server.Equals(other.server) &&
|
server_information.h | 24 bool Equals(const ServerInformation& other) const;
|
/external/chromium_org/net/proxy/ |
proxy_config_unittest.cc | 22 TEST(ProxyConfigTest, Equals) { 31 EXPECT_FALSE(config1.Equals(config2)); 32 EXPECT_FALSE(config2.Equals(config1)); 36 EXPECT_TRUE(config1.Equals(config2)); 37 EXPECT_TRUE(config2.Equals(config1)); 43 EXPECT_FALSE(config1.Equals(config2)); 44 EXPECT_FALSE(config2.Equals(config1)); 48 EXPECT_TRUE(config1.Equals(config2)); 49 EXPECT_TRUE(config2.Equals(config1)); 57 EXPECT_FALSE(config1.Equals(config2)) [all...] |
/external/chromium_org/components/policy/core/common/ |
policy_map_unittest.cc | 56 EXPECT_TRUE(expected.Equals(map.GetValue(kTestPolicyName1))); 59 EXPECT_TRUE(expected_b.Equals(map.GetValue(kTestPolicyName1))); 67 EXPECT_TRUE(ExternalDataFetcher::Equals( 79 TEST_F(PolicyMapTest, Equals) { 98 EXPECT_FALSE(a.Equals(b)); 99 EXPECT_FALSE(a.Equals(c)); 100 EXPECT_FALSE(a.Equals(d)); 101 EXPECT_FALSE(a.Equals(e)); 102 EXPECT_FALSE(b.Equals(a)); 103 EXPECT_FALSE(b.Equals(c)) [all...] |
policy_bundle_unittest.cc | 79 std::string())).Equals(policy)); 86 EXPECT_TRUE(it->second->Equals(policy)); 111 std::string())).Equals(policy)); 113 kExtension0)).Equals(policy)); 120 std::string())).Equals(policy)); 122 kExtension0)).Equals(policy)); 128 std::string())).Equals(policy)); 130 kExtension0)).Equals(policy)); 196 std::string())).Equals(expected)); 198 kExtension3)).Equals(expected)) [all...] |
/external/chromium_org/base/metrics/ |
bucket_ranges_unittest.cc | 26 TEST(BucketRangesTest, Equals) { 32 EXPECT_TRUE(ranges1.Equals(&ranges2)); 33 EXPECT_FALSE(ranges1.Equals(&ranges3)); 34 EXPECT_FALSE(ranges2.Equals(&ranges3)); 46 EXPECT_TRUE(ranges1.Equals(&ranges2)); 50 EXPECT_FALSE(ranges1.Equals(&ranges2)); 55 EXPECT_FALSE(ranges1.Equals(&ranges2));
|
/art/compiler/utils/arm/ |
managed_register_arm_test.cc | 136 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S0))); 148 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S2))); 160 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S12))); 172 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S28))); 184 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S30))); 237 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R0))); 249 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R1))); 261 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R2))); 273 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R4))); 285 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R6))) [all...] |
/external/chromium/base/ |
callback_unittest.cc | 101 TEST_F(CallbackTest, Equals) { 102 EXPECT_TRUE(callback_a_.Equals(callback_a_)); 103 EXPECT_FALSE(callback_a_.Equals(callback_b_)); 104 EXPECT_FALSE(callback_b_.Equals(callback_a_)); 110 EXPECT_TRUE(callback_a_.Equals(callback_a2)); 111 EXPECT_FALSE(callback_a_.Equals(callback_c)); 115 EXPECT_TRUE(null_callback_.Equals(empty2)); 121 ASSERT_FALSE(callback_a_.Equals(null_callback_)); 126 EXPECT_TRUE(callback_a_.Equals(null_callback_));
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
errorcode_unittest.cc | 41 SANDBOX_TEST(ErrorCode, Equals) { 44 SANDBOX_ASSERT(e1.Equals(e1)); 45 SANDBOX_ASSERT(e1.Equals(e2)); 46 SANDBOX_ASSERT(e2.Equals(e1)); 49 SANDBOX_ASSERT(!e1.Equals(e3)); 55 SANDBOX_ASSERT(!e1.Equals(e4)); 56 SANDBOX_ASSERT(!e3.Equals(e4)); 57 SANDBOX_ASSERT(!e5.Equals(e4)); 58 SANDBOX_ASSERT( e6.Equals(e4));
|
/external/chromium_org/jingle/notifier/listener/ |
notification_defines.h | 16 bool Equals(const Subscription& other) const; 35 bool Equals(const Recipient& other) const; 59 bool Equals(const Notification& other) const;
|
notification_defines.cc | 19 bool Subscription::Equals(const Subscription& other) const { 31 if (!t1[i].Equals(t2[i])) { 48 bool Recipient::Equals(const Recipient& other) const { 60 bool Notification::Equals(const Notification& other) const {
|
/external/chromium_org/net/base/ |
auth.cc | 13 bool AuthChallengeInfo::Equals(const AuthChallengeInfo& that) const { 15 this->challenger.Equals(that.challenger) && 47 bool AuthCredentials::Equals(const AuthCredentials& other) const {
|
/external/chromium_org/net/websockets/ |
websocket_extension.cc | 22 bool WebSocketExtension::Parameter::Equals(const Parameter& other) const { 33 bool WebSocketExtension::Equals(const WebSocketExtension& other) const { 37 if (!parameters_[i].Equals(other.parameters_[i]))
|
/external/chromium_org/chromeos/network/ |
shill_property_util_unittest.cc | 78 TEST_F(NetworkTypePatternTest, Equals) { 79 EXPECT_TRUE(mobile_.Equals(mobile_)); 80 EXPECT_FALSE(mobile_.Equals(cellular_)); 81 EXPECT_FALSE(cellular_.Equals(mobile_)); 87 EXPECT_TRUE(cellular_.Equals(primitive_cellular)); 88 EXPECT_TRUE(primitive_cellular.Equals(cellular_)); 92 EXPECT_TRUE(wimax_.Equals(primitive_wimax)); 93 EXPECT_TRUE(primitive_wimax.Equals(wimax_));
|
/external/chromium_org/chrome/browser/search_engines/ |
default_search_policy_handler_unittest.cc | 119 EXPECT_TRUE(base::StringValue(kSearchURL).Equals(value)); 122 EXPECT_TRUE(base::StringValue("test.com").Equals(value)); 125 EXPECT_TRUE(base::StringValue("test.com").Equals(value)); 129 EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); 132 EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); 135 EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); 139 EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); 143 EXPECT_TRUE(base::ListValue().Equals(value)); 148 EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); 151 EXPECT_TRUE(base::StringValue(std::string()).Equals(value)) [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
permission_request_id.h | 20 bool Equals(const PermissionRequestID& other) const;
|
/external/chromium_org/chromeos/network/onc/ |
onc_test_utils.h | 31 // equals |expected| (using Value::Equals). The intended use case is: 32 // EXPECT_TRUE(test_utils::Equals(expected, actual)); 33 ::testing::AssertionResult Equals(const base::Value* expected,
|
/external/chromium_org/content/common/ |
webplugin_geometry.cc | 18 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const {
|
webplugin_geometry.h | 21 bool Equals(const WebPluginGeometry& rhs) const;
|