Home
last modified time | relevance | path

Searched refs:kOption (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/vpn/
Dopenvpn_driver_unittest.cc142 static const char kOption[]; member in shill::OpenVPNDriverTest
277 const char OpenVPNDriverTest::kOption[] = "openvpn-option"; member in shill::OpenVPNDriverTest
1071 driver_->AppendValueOption("OpenVPN.UnknownProperty", kOption, &options)); in TEST_F()
1075 EXPECT_FALSE(driver_->AppendValueOption(kProperty, kOption, &options)); in TEST_F()
1080 EXPECT_TRUE(driver_->AppendValueOption(kProperty, kOption, &options)); in TEST_F()
1083 vector<string> expected_value { kOption, kValue }; in TEST_F()
1093 "OpenVPN.UnknownProperty", kOption, ' ', &options)); in TEST_F()
1098 driver_->AppendDelimitedValueOption(kProperty, kOption, ' ', &options)); in TEST_F()
1105 kProperty, kOption, ':', &options)); in TEST_F()
1109 vector<string> expected_value { kOption, kConcatenatedValues }; in TEST_F()
[all …]
Dl2tp_ipsec_driver_unittest.cc445 static const char kOption[] = "--l2tpipsec-option"; in TEST_F() local
455 "L2TPIPSec.UnknownProperty", kOption, &options)); in TEST_F()
459 EXPECT_FALSE(driver_->AppendValueOption(kProperty, kOption, &options)); in TEST_F()
464 EXPECT_TRUE(driver_->AppendValueOption(kProperty, kOption, &options)); in TEST_F()
467 EXPECT_EQ(base::StringPrintf("%s=%s", kOption, kValue), options[0]); in TEST_F()