Update language to comply with Android's inclusive language guidance
More details in: https://source.android.com/setup/contribute/respectful-code
Bug: 161896447
Test: build, run unittests
Change-Id: I8d666eee75490146eb57a183f0cfdf343b58b602
diff --git a/excluder_chromeos_unittest.cc b/excluder_chromeos_unittest.cc
index a8c14b3..dba77e4 100644
--- a/excluder_chromeos_unittest.cc
+++ b/excluder_chromeos_unittest.cc
@@ -29,7 +29,7 @@
namespace chromeos_update_engine {
-constexpr char kDummyHash[] =
+constexpr char kFakeHash[] =
"71ff43d76e2488e394e46872f5b066cc25e394c2c3e3790dd319517883b33db1";
class ExcluderChromeOSTest : public ::testing::Test {
@@ -47,20 +47,20 @@
};
TEST_F(ExcluderChromeOSTest, ExclusionCheck) {
- EXPECT_FALSE(excluder_->IsExcluded(kDummyHash));
- EXPECT_TRUE(excluder_->Exclude(kDummyHash));
- EXPECT_TRUE(excluder_->IsExcluded(kDummyHash));
+ EXPECT_FALSE(excluder_->IsExcluded(kFakeHash));
+ EXPECT_TRUE(excluder_->Exclude(kFakeHash));
+ EXPECT_TRUE(excluder_->IsExcluded(kFakeHash));
}
TEST_F(ExcluderChromeOSTest, ResetFlow) {
EXPECT_TRUE(excluder_->Exclude("abc"));
- EXPECT_TRUE(excluder_->Exclude(kDummyHash));
+ EXPECT_TRUE(excluder_->Exclude(kFakeHash));
EXPECT_TRUE(excluder_->IsExcluded("abc"));
- EXPECT_TRUE(excluder_->IsExcluded(kDummyHash));
+ EXPECT_TRUE(excluder_->IsExcluded(kFakeHash));
EXPECT_TRUE(excluder_->Reset());
EXPECT_FALSE(excluder_->IsExcluded("abc"));
- EXPECT_FALSE(excluder_->IsExcluded(kDummyHash));
+ EXPECT_FALSE(excluder_->IsExcluded(kFakeHash));
}
} // namespace chromeos_update_engine