Home
last modified time | relevance | path

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

/system/testing/gtest_extras/
DIsolate.cpp108 uint64_t total_shards = options_.total_shards(); in EnumerateTests() local
109 bool sharded = total_shards > 1; in EnumerateTests()
160 test_count = total_shards; in EnumerateTests()
754 bool sharding_enabled = options_.total_shards() > 1; in Run()
756 (options_.shard_index() < 0 || options_.shard_index() >= options_.total_shards())) { in Run()
761 options_.shard_index(), options_.total_shards()); in Run()
773 options_.shard_index() + 1, options_.total_shards()); in Run()
DOptions.h45 uint64_t total_shards() const { return numerics_.at("gtest_total_shards"); } in total_shards() function
/system/testing/gtest_extras/tests/
DOptionsTest.cpp93 EXPECT_EQ(0ULL, options.total_shards()); in TEST_F()
303 TEST_F(OptionsTest, total_shards) { in TEST_F() argument
309 EXPECT_EQ(500ULL, options.total_shards()); in TEST_F()
315 EXPECT_EQ(0ULL, options.total_shards()); in TEST_F()