Searched refs:shard_index (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/build/android/pylib/monkey/
H A Dsetup.py23 def TestRunnerFactory(device, shard_index):
25 test_options, device, shard_index)
/external/chromium_org/build/android/pylib/uiautomator/
H A Dsetup.py31 def TestRunnerFactory(device, shard_index):
33 test_options, device, shard_index, test_pkg)
H A Dtest_runner.py15 def __init__(self, test_options, device, shard_index, test_pkg):
21 shard_index: Shard index.
41 shard_index, test_pkg)
/external/chromium_org/build/android/pylib/instrumentation/
H A Dsetup.py36 def TestRunnerFactory(device, shard_index):
37 return test_runner.TestRunner(test_options, device, shard_index,
H A Dtest_runner.py60 def __init__(self, test_options, device, shard_index, test_pkg,
67 shard_index: Shard index.
74 self._lighttp_port = constants.LIGHTTPD_RANDOM_PORT_FIRST + shard_index
/external/chromium_org/build/android/pylib/host_driven/
H A Dtest_runner.py52 def __init__(self, device, shard_index, tool, push_deps,
58 shard_index: Shard index.
68 # DEFAULT_PORT + shard_index) if the test so wishes.
69 self.shard_index = shard_index
89 test.SetUp(self.device, self.shard_index, self._push_deps,
H A Dtest_server.py69 def __init__(self, shard_index, test_server_port, test_server_path):
73 shard_index: Index of the current shard.
80 self.port = test_server_port + shard_index
H A Dtest_case.py65 def SetUp(self, device, shard_index, push_deps,
68 self.shard_index = shard_index
118 self.shard_index, test_pkg,
H A Dsetup.py195 def TestRunnerFactory(device, shard_index):
197 device, shard_index,
/external/chromium_org/chrome/android/host_driven_tests/
H A DSyncTest.py22 def SetUp(self, device, shard_index, push_deps, cleanup_test_files):
24 shard_index,
31 super(SyncTest, self).SetUp(device, shard_index, push_deps,
/external/chromium_org/build/android/pylib/linker/
H A Dsetup.py42 def TestRunnerFactory(device, shard_index):
/external/chromium_org/build/android/pylib/base/
H A Dtest_dispatcher_unittest.py30 def __init__(self, device='0', shard_index=0):
32 self.shard_index = shard_index
58 def __init__(self, device='0', shard_index=0):
59 super(MockRunnerFailTwice, self).__init__(device, shard_index)
136 self.assertEqual(set([r.shard_index for r in runners]),
/external/chromium_org/build/android/pylib/perf/
H A Dsetup.py67 def TestRunnerFactory(device, shard_index):
/external/chromium_org/chrome/test/pyautolib/
H A Dpyauto_utils.py168 def Shard(ilist, shard_index, num_shards):
169 """Shard a given list and return the group at index |shard_index|.
173 shard_index: 0-based sharding index
177 chunk_start = shard_index * chunk_size
178 if shard_index == num_shards - 1: # Exhaust the remainder in the last shard.
/external/chromium/testing/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
/external/chromium_org/testing/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
/external/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
/external/protobuf/gtest/test/
H A Dgtest_filter_unittest.py171 def RunWithSharding(total_shards, shard_index, command):
174 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
/external/chromium_org/build/android/pylib/gtest/
H A Dsetup.py202 runner_factory: Callable that takes device and shard_index and returns
294 def TestRunnerFactory(device, shard_index):
/external/chromium/testing/gtest/src/
H A Dgtest.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2733 static_cast<int>(shard_index) + 1,
4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4318 << kTestShardIndex << " = " << shard_index
4323 } else if (total_shards != -1 && shard_index == -1) {
4331 } else if (shard_index < 0 || shard_index >
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4380 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/chromium_org/testing/gtest/src/
H A Dgtest.cc2627 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2630 static_cast<int>(shard_index) + 1,
4127 // but inconsistent (i.e., shard_index >= total_shards), prints
4139 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4141 if (total_shards == -1 && shard_index == -1) {
4143 } else if (total_shards == -1 && shard_index != -1) {
4146 << kTestShardIndex << " = " << shard_index
4151 } else if (total_shards != -1 && shard_index == -1) {
4159 } else if (shard_index < 0 || shard_index >
4194 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4208 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2733 static_cast<int>(shard_index) + 1,
4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4318 << kTestShardIndex << " = " << shard_index
4323 } else if (total_shards != -1 && shard_index == -1) {
4331 } else if (shard_index < 0 || shard_index >
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4380 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/gtest/src/
H A Dgtest.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2733 static_cast<int>(shard_index) + 1,
4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4318 << kTestShardIndex << " = " << shard_index
4323 } else if (total_shards != -1 && shard_index == -1) {
4331 } else if (shard_index < 0 || shard_index >
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4380 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/llvm/utils/unittest/googletest/
H A Dgtest.cc2702 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2705 static_cast<int>(shard_index) + 1,
4267 // but inconsistent (i.e., shard_index >= total_shards), prints
4279 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4281 if (total_shards == -1 && shard_index == -1) {
4283 } else if (total_shards == -1 && shard_index != -1) {
4286 << kTestShardIndex << " = " << shard_index
4291 } else if (total_shards != -1 && shard_index == -1) {
4299 } else if (shard_index < 0 || shard_index >
4334 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4348 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/mesa3d/src/gtest/src/
H A Dgtest.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2733 static_cast<int>(shard_index) + 1,
4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4318 << kTestShardIndex << " = " << shard_index
4323 } else if (total_shards != -1 && shard_index == -1) {
4331 } else if (shard_index < 0 || shard_index >
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4380 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]

Completed in 334 milliseconds

12