Home
last modified time | relevance | path

Searched refs:BoolFromEnv (Results 1 – 3 of 3) sorted by relevance

/third_party/benchmark/test/
Dcommandlineflags_gtest.cc27 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/
Dcommandlineflags.h23 BENCHMARK_EXPORT bool FLAG(name) = benchmark::BoolFromEnv(#name, default_val)
44 bool BoolFromEnv(const char* flag, bool default_val);
Dcommandlineflags.cc125 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() function