Searched refs:argvs (Results 1 – 10 of 10) sorted by relevance
914 vector<string> argvs = GetArgvs(); in TEST() local915 EXPECT_EQ(4, argvs.size()); in TEST()916 EXPECT_EQ("/test/argv/for/gflags_unittest", argvs[0]); in TEST()917 EXPECT_EQ("argv 2", argvs[1]); in TEST()918 EXPECT_EQ("3rd argv", argvs[2]); in TEST()919 EXPECT_EQ("argv #4", argvs[3]); in TEST()
665 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument666 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()668 g_injected_test_argvs = argvs; in SetInjectableArgvs()
683 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument684 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()686 g_injected_test_argvs = argvs; in SetInjectableArgvs()
1516 static vector<string> argvs; variable1531 argvs.push_back(argv[i]); in SetArgv()1541 const vector<string>& GetArgvs() { return argvs; } in GetArgvs()1997 const vector<string>& argvs = GetArgvs(); in ReparseCommandLineNonHelpFlags() local1998 int tmp_argc = static_cast<int>(argvs.size()); in ReparseCommandLineNonHelpFlags()2001 tmp_argv[i] = strdup(argvs[i].c_str()); // TODO(csilvers): don't dup in ReparseCommandLineNonHelpFlags()
1066 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument1067 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()1069 g_injected_test_argvs = argvs; in SetInjectableArgvs()
683 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) {684 if (g_injected_test_argvs != argvs)686 g_injected_test_argvs = argvs;
1090 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument1091 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()1093 g_injected_test_argvs = argvs; in SetInjectableArgvs()
1108 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument1109 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()1111 g_injected_test_argvs = argvs; in SetInjectableArgvs()
1076 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument1077 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()1079 g_injected_test_argvs = argvs; in SetInjectableArgvs()
8893 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument8894 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()8896 g_injected_test_argvs = argvs; in SetInjectableArgvs()