45 TEST(GTestEnvVarTest, Dummy) {}
48 if (strcmp(flag,
"break_on_failure") == 0) {
53 if (strcmp(flag,
"catch_exceptions") == 0) {
58 if (strcmp(flag,
"color") == 0) {
63 if (strcmp(flag,
"death_test_style") == 0) {
68 if (strcmp(flag,
"death_test_use_fork") == 0) {
73 if (strcmp(flag,
"fail_fast") == 0) {
78 if (strcmp(flag,
"filter") == 0) {
83 if (strcmp(flag,
"output") == 0) {
88 if (strcmp(flag,
"brief") == 0) {
93 if (strcmp(flag,
"print_time") == 0) {
98 if (strcmp(flag,
"repeat") == 0) {
103 if (strcmp(flag,
"stack_trace_depth") == 0) {
108 if (strcmp(flag,
"throw_on_failure") == 0) {
113 cout <<
"Invalid flag name " << flag
114 <<
". Valid names are break_on_failure, color, filter, etc.\n";
120 int main(
int argc,
char** argv) {
124 cout <<
"Usage: googletest-env-var-test_ NAME_OF_FLAG\n";
TEST(GTestEnvVarTest, Dummy)
void PrintFlag(const char *flag)
#define GTEST_FLAG_GET(name)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)