/system/connectivity/shill/ |
D | key_value_store_unittest.cc | 38 const string kValue("baz"); in TEST_F() local 40 store_.Set(kKey, brillo::Any(kValue)); in TEST_F() 42 EXPECT_EQ(kValue, store_.Get(kKey).Get<string>()); in TEST_F() 50 const bool kValue = false; in TEST_F() local 53 store_.SetBool(kKey, kValue); in TEST_F() 58 EXPECT_EQ(static_cast<int>(kValue), in TEST_F() 60 EXPECT_EQ(static_cast<int>(kValue), in TEST_F() 66 const vector<vector<uint8_t>> kValue{ {1, 2, 3 } }; in TEST_F() local 68 store_.SetByteArrays(kKey, kValue); in TEST_F() 70 EXPECT_EQ(kValue, store_.GetByteArrays(kKey)); in TEST_F() [all …]
|
D | key_file_store_unittest.cc | 162 static const char kValue[] = "true"; in TEST_F() local 170 kGroupA, kKeyA, kValue, in TEST_F() 171 kGroupB, kKeyA, kValue, kKeyB, kValue, in TEST_F() 172 kGroupC, kKeyB, kValue)); in TEST_F() 328 static const char kValue[] = "bar"; in TEST_F() local 331 kGroup, kKey, kValue)); in TEST_F() 335 EXPECT_EQ(kValue, value); in TEST_F() 494 const uint64_t kValue = 0xFEDCBA9876543210LL; in TEST_F() local 496 ASSERT_TRUE(store_->SetUint64(kGroup, kKey, kValue)); in TEST_F() 501 base::Uint64ToString(kValue).c_str()), in TEST_F() [all …]
|
D | property_accessor_unittest.cc | 596 const string kValue = "entry_value"; in TEST() local 603 wrapper.value_[kKey] = kValue; in TEST() 605 EXPECT_EQ(kValue, accessor.Get(&error)); in TEST() 615 EXPECT_TRUE(accessor.Set(kValue, &error)); in TEST() 617 EXPECT_EQ(kValue, wrapper.value_[kKey]); in TEST() 621 EXPECT_FALSE(accessor.Set(kValue, &error)); in TEST() 630 wrapper.value_[kKey] = kValue; in TEST()
|
/system/update_engine/common/ |
D | prefs_unittest.cc | 98 const char kValue[] = "some test value\non 2 lines"; in TEST_F() local 99 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 102 EXPECT_EQ(kValue, value); in TEST_F() 112 const char kValue[] = "test value"; in TEST_F() local 115 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 118 EXPECT_EQ(kValue, value); in TEST_F()
|
D | utils_unittest.cc | 186 const int kValue = 50; in TEST() local 188 uint32_t value = utils::FuzzInt(kValue, range); in TEST() 189 EXPECT_GE(value, kValue - range / 2); in TEST() 190 EXPECT_LE(value, kValue + range - range / 2); in TEST()
|
/system/connectivity/shill/vpn/ |
D | vpn_driver_unittest.cc | 402 const string kValue = "some-value"; in TEST_F() local 404 EXPECT_TRUE(store.SetStringProperty(kPINProperty, kValue, &error)); in TEST_F() 405 EXPECT_EQ(kValue, GetArgs()->GetString(kPINProperty)); in TEST_F() 408 const vector<string> kValue{ "some-value" }; in TEST_F() local 410 EXPECT_TRUE(store.SetStringsProperty(kEapCaCertPemProperty, kValue, in TEST_F() 412 EXPECT_EQ(kValue, GetArgs()->GetStrings(kEapCaCertPemProperty)); in TEST_F()
|
D | l2tp_ipsec_driver_unittest.cc | 447 static const char kValue[] = "some-property-value"; in TEST_F() local 462 SetArg(kProperty, kValue); in TEST_F() 467 EXPECT_EQ(base::StringPrintf("%s=%s", kOption, kValue), options[0]); in TEST_F()
|
D | openvpn_driver_unittest.cc | 144 static const char kValue[]; member in shill::OpenVPNDriverTest 279 const char OpenVPNDriverTest::kValue[] = "some-property-value"; member in shill::OpenVPNDriverTest 1078 SetArg(kProperty, kValue); in TEST_F() 1083 vector<string> expected_value { kOption, kValue }; in TEST_F() 1101 string kConcatenatedValues(string(kValue) + " " + string(kValue2)); in TEST_F() 1111 vector<string> expected_value2 { kOption2, kValue, kValue2 }; in TEST_F()
|