Lines Matching refs:ExpectInFlags
244 void ExpectInFlags(const vector<vector<string>>& options, const string& flag);
245 void ExpectInFlags(const vector<vector<string>>& options, const string& flag,
247 void ExpectInFlags(const vector<vector<string>>& options,
298 void OpenVPNDriverTest::ExpectInFlags(const vector<vector<string>>& options, in ExpectInFlags() function in shill::OpenVPNDriverTest
300 ExpectInFlags(options, vector<string> { flag }); in ExpectInFlags()
303 void OpenVPNDriverTest::ExpectInFlags(const vector<vector<string>>& options, in ExpectInFlags() function in shill::OpenVPNDriverTest
306 ExpectInFlags(options, vector<string> { flag, value }); in ExpectInFlags()
309 void OpenVPNDriverTest::ExpectInFlags(const vector<vector<string>>& options, in ExpectInFlags() function in shill::OpenVPNDriverTest
738 ExpectInFlags(options, "remote", kHost); in TEST_F()
739 ExpectInFlags(options, vector<string> { "setenv", kRPCTaskPathVariable, in TEST_F()
741 ExpectInFlags(options, "dev", kInterfaceName); in TEST_F()
742 ExpectInFlags(options, "group", "openvpn"); in TEST_F()
745 ExpectInFlags(options, "tls-auth", driver_->tls_auth_file_.value()); in TEST_F()
749 ExpectInFlags(options, "pkcs11-id", kID); in TEST_F()
750 ExpectInFlags(options, "ca", OpenVPNDriver::kDefaultCACertificates); in TEST_F()
751 ExpectInFlags(options, "syslog"); in TEST_F()
753 ExpectInFlags(options, vector<string> { "remote-cert-ku", kKU0, kKU1 }); in TEST_F()
767 ExpectInFlags(options, vector<string> { "remote", "v.com", "1234" }); in TEST_F()
779 ExpectInFlags(options, "ca", OpenVPNDriver::kDefaultCACertificates); in TEST_F()
784 ExpectInFlags(options, "ca", kCaCert); in TEST_F()
790 ExpectInFlags(options, "ca", kCaCert); in TEST_F()
798 ExpectInFlags(options, "ca", OpenVPNDriver::kDefaultCACertificates); in TEST_F()
826 ExpectInFlags(options, "ca", kPEMCertfile); in TEST_F()
846 ExpectInFlags(options, "verify-x509-name", kName); in TEST_F()
856 ExpectInFlags(options, vector<string> { "verify-x509-name", kName, kType }); in TEST_F()
874 ExpectInFlags(options, "auth-user-pass"); in TEST_F()
884 ExpectInFlags(options, "cert", kTestValue); in TEST_F()
891 ExpectInFlags(options, "key", kTestValue); in TEST_F()
897 ExpectInFlags(options, "auth-user-pass"); in TEST_F()
898 ExpectInFlags(options, "key", kTestValue); in TEST_F()
905 ExpectInFlags(options, "auth-user-pass"); in TEST_F()
906 ExpectInFlags(options, "key", kTestValue); in TEST_F()
915 ExpectInFlags(options, "auth-user-pass"); in TEST_F()
934 ExpectInFlags(options, "auth-user-pass"); in TEST_F()
943 ExpectInFlags(options, "auth-user-pass"); in TEST_F()
987 ExpectInFlags(options, "extra-certs", kPEMCertfile); in TEST_F()
999 ExpectInFlags(options, "pkcs11-id", kID); in TEST_F()
1000 ExpectInFlags(options, "pkcs11-providers", "libchaps.so"); in TEST_F()
1006 ExpectInFlags(options, "pkcs11-id", kID); in TEST_F()
1007 ExpectInFlags(options, "pkcs11-providers", kProvider); in TEST_F()
1052 ExpectInFlags(options, "verb", "3"); in TEST_F()
1057 ExpectInFlags(options, "verb", "2"); in TEST_F()
1062 ExpectInFlags(options, "verb", "1"); in TEST_F()