Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc266 using testing::internal::ShouldShard;
1896 EXPECT_FALSE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1897 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1904 EXPECT_FALSE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1905 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1915 EXPECT_TRUE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1916 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1920 EXPECT_TRUE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1921 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1925 EXPECT_TRUE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
[all …]
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h255 GTEST_API_ bool ShouldShard(const char* total_shards_str,
H A Dgtest.cc3429 if (internal::ShouldShard(kTestTotalShards, kTestShardIndex, false)) { in OnTestIterationStart()
5876 const bool should_shard = ShouldShard(kTestTotalShards, kTestShardIndex, in RunAllTests()
6070 bool ShouldShard(const char* total_shards_env, const char* shard_index_env, in ShouldShard() function