Searched refs:BoolFromEnv (Results 1 – 3 of 3) sorted by relevance
/third_party/benchmark/test/ |
D | commandlineflags_gtest.cc | 27 TEST(BoolFromEnv, Default) { in TEST() argument 29 EXPECT_EQ(BoolFromEnv("not_in_env", true), true); in TEST() 32 TEST(BoolFromEnv, False) { in TEST() argument 34 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 38 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 42 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 46 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 50 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 54 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 58 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() [all …]
|
/third_party/benchmark/src/ |
D | commandlineflags.h | 23 BENCHMARK_EXPORT bool FLAG(name) = benchmark::BoolFromEnv(#name, default_val) 44 bool BoolFromEnv(const char* flag, bool default_val);
|
D | commandlineflags.cc | 125 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() function
|