Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h262 GTEST_API_ int32_t Int32FromEnvOrDie(const char* env_var, int32_t default_val);
H A Dgtest.cc3430 const int32_t shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart()
6076 const int32_t total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard()
6077 const int32_t shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard()
6114 int32_t Int32FromEnvOrDie(const char* var, int32_t default_val) { in Int32FromEnvOrDie() function
6145 ? Int32FromEnvOrDie(kTestTotalShards, -1) in FilterTests()
6148 ? Int32FromEnvOrDie(kTestShardIndex, -1) in FilterTests()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc255 using testing::internal::Int32FromEnvOrDie;
1840 EXPECT_EQ(333, Int32FromEnvOrDie(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", 333)); in TEST()
1842 EXPECT_EQ(123, Int32FromEnvOrDie(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", 333)); in TEST()
1844 EXPECT_EQ(-123, Int32FromEnvOrDie(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", 333)); in TEST()
1853 Int32FromEnvOrDie(GTEST_FLAG_PREFIX_UPPER_ "VAR", 123), ".*"); in TEST()
1861 Int32FromEnvOrDie(GTEST_FLAG_PREFIX_UPPER_ "VAR", 123), ".*"); in TEST()