/external/chromium_org/build/android/pylib/host_driven/ |
D | test_runner.py | 51 def __init__(self, device, shard_index, tool, push_deps, argument 68 self.shard_index = shard_index 88 test.SetUp(self.device.old_interface.GetDevice(), self.shard_index,
|
D | test_case.py | 61 self.shard_index = 0 71 def SetUp(self, device, shard_index, push_deps, argument 76 self.shard_index = shard_index 129 self.shard_index, test_pkg,
|
D | test_server.py | 69 def __init__(self, shard_index, test_server_port, test_server_path): argument 80 self.port = test_server_port + shard_index
|
D | setup.py | 195 def TestRunnerFactory(device, shard_index): argument 197 device, shard_index,
|
/external/chromium_org/chrome/android/host_driven_tests/ |
D | SyncTest.py | 22 def SetUp(self, device, shard_index, push_deps, cleanup_test_files): argument 24 shard_index, 32 super(SyncTest, self).SetUp(device, shard_index, push_deps,
|
/external/chromium_org/build/android/pylib/monkey/ |
D | setup.py | 23 def TestRunnerFactory(device, shard_index): argument 25 test_options, device, shard_index)
|
/external/chromium_org/build/android/pylib/base/ |
D | test_dispatcher_unittest.py | 32 def __init__(self, device='0', shard_index=0): argument 34 self.shard_index = shard_index 60 def __init__(self, device='0', shard_index=0): argument 61 super(MockRunnerFailTwice, self).__init__(device, shard_index) 138 self.assertEqual(set([r.shard_index for r in runners]),
|
/external/chromium_org/build/android/pylib/uiautomator/ |
D | setup.py | 31 def TestRunnerFactory(device, shard_index): argument 33 test_options, device, shard_index, test_pkg)
|
D | test_runner.py | 16 def __init__(self, test_options, device, shard_index, test_pkg): argument 42 shard_index, test_pkg)
|
/external/chromium_org/build/android/pylib/instrumentation/ |
D | setup.py | 36 def TestRunnerFactory(device, shard_index): argument 37 return test_runner.TestRunner(test_options, device, shard_index,
|
D | test_runner.py | 59 def __init__(self, test_options, device, shard_index, test_pkg, argument 73 self._lighttp_port = constants.LIGHTTPD_RANDOM_PORT_FIRST + shard_index
|
/external/chromium_org/build/android/pylib/perf/ |
D | setup.py | 92 def TestRunnerFactory(device, shard_index): argument 94 test_options, device, shard_index, len(all_devices),
|
D | test_runner.py | 152 def __init__(self, test_options, device, shard_index, max_shard, tests, argument 166 self._shard_index = shard_index
|
/external/chromium_org/testing/gtest/test/ |
D | gtest_filter_unittest.py | 215 def RunWithSharding(total_shards, shard_index, command): argument 218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
|
/external/protobuf/gtest/test/ |
D | gtest_filter_unittest.py | 171 def RunWithSharding(total_shards, shard_index, command): argument 174 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
|
/external/gtest/test/ |
D | gtest_filter_unittest.py | 215 def RunWithSharding(total_shards, shard_index, command): argument 218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
|
D | gtest_unittest.cc | 1889 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST() local 1890 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) { in TEST() 1892 prev_selected_shard_index = shard_index; in TEST() 1895 << shard_index << " are both selected to run test " << test_id; in TEST() 1903 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST() local 1907 ShouldRunTestOnShard(num_shards, shard_index, test_id); in TEST()
|
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
D | gtest.cc | 2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 2733 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 4313 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4315 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4318 << kTestShardIndex << " = " << shard_index in ShouldShard() 4323 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4331 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4335 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() 4366 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 2702 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 2705 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 4279 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 4281 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4283 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4286 << kTestShardIndex << " = " << shard_index in ShouldShard() 4291 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4299 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4303 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() 4334 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 2733 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 4313 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4315 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4318 << kTestShardIndex << " = " << shard_index in ShouldShard() 4323 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4331 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4335 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() 4366 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/gtest/src/ |
D | gtest.cc | 2734 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 2737 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 4389 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 4391 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4393 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4396 << kTestShardIndex << " = " << shard_index in ShouldShard() 4401 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4409 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4413 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() 4444 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/chromium_org/testing/gtest/src/ |
D | gtest.cc | 2734 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 2737 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 4389 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 4391 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4393 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4396 << kTestShardIndex << " = " << shard_index in ShouldShard() 4401 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4409 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4413 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() 4444 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/protobuf/gtest/src/ |
D | gtest.cc | 4069 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in UnitTestImpl() local 4071 if (total_shards == -1 && shard_index == -1) { in UnitTestImpl() 4073 } else if (total_shards == -1 && shard_index != -1) { in UnitTestImpl() 4076 << kTestShardIndex << " = " << shard_index in UnitTestImpl() 4081 } else if (total_shards != -1 && shard_index == -1) { in UnitTestImpl() 4089 } else if (shard_index < 0 || shard_index >= total_shards) { in UnitTestImpl() 4093 << ", but you have " << kTestShardIndex << "=" << shard_index in UnitTestImpl() 4124 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in UnitTestImpl() argument 4125 return (test_id % total_shards) == shard_index; in UnitTestImpl() 4138 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? in UnitTestImpl() local [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 676 int total_shards, int shard_index, int test_id); 4218 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 4221 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 5873 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 5875 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 5877 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 5880 << kTestShardIndex << " = " << shard_index in ShouldShard() 5885 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 5893 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 5897 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 676 int total_shards, int shard_index, int test_id); 4218 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local 4221 static_cast<int>(shard_index) + 1, in OnTestIterationStart() 5873 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local 5875 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 5877 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 5880 << kTestShardIndex << " = " << shard_index in ShouldShard() 5885 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 5893 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 5897 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard() [all …]
|