Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc273 using testing::internal::ShouldShard;
1832 EXPECT_FALSE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1833 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1840 EXPECT_FALSE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1841 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1851 EXPECT_TRUE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1852 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1856 EXPECT_TRUE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
1857 EXPECT_FALSE(ShouldShard(total_var_, index_var_, true)); in TEST_F()
1861 EXPECT_TRUE(ShouldShard(total_var_, index_var_, false)); in TEST_F()
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-internal-inl.h261 GTEST_API_ bool ShouldShard(const char* total_shards_str,
Dgtest.cc2707 if (internal::ShouldShard(kTestTotalShards, kTestShardIndex, false)) { in OnTestIterationStart()
4159 const bool should_shard = ShouldShard(kTestTotalShards, kTestShardIndex, in RunAllTests()
4288 bool ShouldShard(const char* total_shards_env, in ShouldShard() function