Home
last modified time | relevance | path

Searched refs:test_utils (Results 1 – 25 of 130) sorted by relevance

123456

/external/autotest/scheduler/
Drdb_cache_unittests.py14 from autotest_lib.scheduler import rdb_testing_utils as test_utils unknown
43 response_map, deps=test_utils.DEFAULT_DEPS,
44 acls=test_utils.DEFAULT_ACLS, priority=0, parent_job_id=0, **kwargs):
50 test_utils.AbstractBaseRDBTester.get_request(
54 class RDBCacheTest(test_utils.AbstractBaseRDBTester, unittest.TestCase):
64 default_params = test_utils.get_default_job_params()
70 'h%s'%i, **test_utils.get_default_host_params())
81 test_utils.DEFAULT_DEPS,
89 default_params = test_utils.get_default_job_params()
110 return test_utils.wire_format_response_map(self.response_map)
[all …]
/external/python/apitools/apitools/gen/
Dgen_client_test.py23 from apitools.gen import test_utils
35 @test_utils.RunOnlyOnPython27
40 with test_utils.CaptureOutput() as (_, err):
47 with test_utils.TempDir() as tmp_dir_path:
64 with test_utils.TempDir() as tmp_dir_path:
88 with test_utils.TempDir() as tmp_dir_path:
104 with test_utils.TempDir() as tmp_dir_path:
120 with test_utils.TempDir() as tmp_dir_path:
135 with test_utils.TempDir() as tmp_dir_path:
Dclient_generation_test.py26 from apitools.gen import test_utils
43 @test_utils.SkipOnWindows
44 @test_utils.RunOnlyOnPython27
47 with test_utils.TempDir(change_to=True):
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_locks.py8 from test.test_asyncio import utils as test_utils unknown
19 class LockTests(test_utils.TestCase):
118 test_utils.run_briefly(self.loop)
122 test_utils.run_briefly(self.loop)
125 test_utils.run_briefly(self.loop)
131 test_utils.run_briefly(self.loop)
135 test_utils.run_briefly(self.loop)
183 test_utils.run_briefly(self.loop)
186 test_utils.run_briefly(self.loop)
189 test_utils.run_briefly(self.loop)
[all …]
Dtest_sslproto.py18 from test.test_asyncio import utils as test_utils unknown
23 class SslProtoHandshakeTests(test_utils.TestCase):
31 sslcontext = test_utils.dummy_ssl_context()
55 sslcontext = test_utils.dummy_ssl_context()
63 sslcontext = test_utils.dummy_ssl_context()
75 test_utils.run_briefly(self.loop)
100 test_utils.run_briefly(self.loop)
109 test_utils.run_briefly(self.loop)
216 server_context = test_utils.simple_server_sslcontext()
217 client_context = test_utils.simple_client_sslcontext()
[all …]
Dtest_subprocess.py10 from test.test_asyncio import utils as test_utils unknown
35 class SubprocessTransportTests(test_utils.TestCase):
237 with test_utils.disable_logger():
246 with test_utils.disable_logger():
373 with test_utils.disable_logger():
391 with test_utils.disable_logger():
393 test_utils.run_briefly(self.loop)
417 with test_utils.disable_logger():
423 test_utils.run_briefly(self.loop)
446 with test_utils.disable_logger():
[all …]
Dtest_events.py36 from test.test_asyncio import utils as test_utils unknown
246 test_utils.run_briefly(self.loop)
390 test_utils.run_until(self.loop, lambda: len(bytes_read) >= 3)
392 test_utils.run_until(self.loop, lambda: len(bytes_read) >= 6)
472 with test_utils.run_test_server() as httpd:
480 with test_utils.run_test_unix_server() as httpd:
555 test_utils.run_until(self.loop, lambda: caught)
611 with test_utils.run_test_server() as httpd:
622 with test_utils.run_test_unix_server() as httpd:
628 with test_utils.run_test_server() as httpd:
[all …]
Dtest_proactor_events.py16 from test.test_asyncio import utils as test_utils unknown
28 class ProactorSocketTransportTests(test_utils.TestCase):
36 self.protocol = test_utils.make_test_protocol(asyncio.Protocol)
48 test_utils.run_briefly(self.loop)
198 test_utils.run_briefly(self.loop)
210 test_utils.run_briefly(self.loop)
217 test_utils.run_briefly(self.loop)
224 test_utils.run_briefly(self.loop)
231 test_utils.run_briefly(self.loop)
251 test_utils.run_briefly(self.loop)
[all …]
Dtest_tasks.py22 from test.test_asyncio import utils as test_utils unknown
278 filename, lineno = test_utils.get_function_source(notmuch)
348 filename, lineno = test_utils.get_function_source(notmuch)
367 src = '%s:%s' % test_utils.get_function_source(notmuch)
386 test_utils.run_briefly(self.loop)
461 test_utils.run_briefly(self.loop) # start coro
477 test_utils.run_briefly(self.loop) # start task
492 test_utils.run_briefly(self.loop)
516 test_utils.run_briefly(self.loop)
519 test_utils.run_briefly(self.loop)
[all …]
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/
Dnetwork_ChromeCellularSmokeTest.py15 from autotest_lib.client.cros.networking.chrome_testing import test_utils
45 test_utils.simple_network_sanity_check(
62 test_utils.check_ui_property(
71 test_utils.LONG_TIMEOUT,
76 network_id, 'NotConnected', test_utils.LONG_TIMEOUT)
88 test_utils.LONG_TIMEOUT,
93 network_id, 'Connected', test_utils.LONG_TIMEOUT)
/external/skia/infra/bots/
Dzip_utils_test.py14 import test_utils
24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
40 test_utils.compare_trees(self, 'input', 'output')
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
65 test_utils.compare_trees(self, 'input', 'output')
/external/skqp/infra/bots/
Dzip_utils_test.py14 import test_utils
24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
40 test_utils.compare_trees(self, 'input', 'output')
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
65 test_utils.compare_trees(self, 'input', 'output')
/external/tensorflow/tensorflow/compiler/tests/
Dconv2d_test.py28 from tensorflow.compiler.tests import test_utils
79 expected = test_utils.ConvertBetweenDataFormats(expected, data_format_src,
81 x1 = test_utils.ConvertBetweenDataFormats(x1, data_format_src,
83 input_sizes = test_utils.PermuteDimsBetweenDataFormats(
85 strides = test_utils.PermuteDimsBetweenDataFormats(strides, data_format_src,
87 dilations = test_utils.PermuteDimsBetweenDataFormats(
277 expected = test_utils.ConvertBetweenDataFormats(expected, data_format_src,
279 x2 = test_utils.ConvertBetweenDataFormats(x2, data_format_src,
281 input_sizes = test_utils.PermuteDimsBetweenDataFormats(
283 out_backprop_sizes = test_utils.PermuteDimsBetweenDataFormats(
[all …]
Dfused_batchnorm_test.py24 from tensorflow.compiler.tests import test_utils
88 x_val_converted = test_utils.ConvertBetweenDataFormats(
90 y_ref_converted = test_utils.ConvertBetweenDataFormats(
131 x_val_converted = test_utils.ConvertBetweenDataFormats(
133 y_ref_converted = test_utils.ConvertBetweenDataFormats(
213 grad_val_converted = test_utils.ConvertBetweenDataFormats(
215 x_val_converted = test_utils.ConvertBetweenDataFormats(
217 grad_x_ref_converted = test_utils.ConvertBetweenDataFormats(
266 grad_val_converted = test_utils.ConvertBetweenDataFormats(
268 x_val_converted = test_utils.ConvertBetweenDataFormats(
Ddense_layer_test.py24 from tensorflow.compiler.tests import test_utils
77 test_utils.RunWithWarmup(
102 test_utils.RunWithWarmup(
131 test_utils.RunWithWarmup(
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dperiodic_test.py23 from tensorflow.contrib.timeseries.python.timeseries.state_space_models import test_utils
39 test_utils.transition_power_test_template(
52 test_utils.transition_power_test_template(
63 test_utils.noise_accumulator_test_template(
76 test_utils.noise_accumulator_test_template(
Dlevel_trend_test.py23 from tensorflow.contrib.timeseries.python.timeseries.state_space_models import test_utils
37 test_utils.transition_power_test_template(
48 test_utils.noise_accumulator_test_template(
/external/autotest/client/site_tests/network_ChromeWifiConfigure/
Dnetwork_ChromeWifiConfigure.py11 from autotest_lib.client.cros.networking.chrome_testing import test_utils
24 value = test_utils.get_ui_property(network, property_name)
41 guid = test_utils.call_test_function_check_success(
48 network = test_utils.call_test_function_check_success(
/external/ltp/testcases/kernel/sched/eas/
Dsched_boost.c35 static int test_utils[NUM_TESTS]; variable
98 test_utils[test_index] = max_util_seen; in parse_results()
124 if (test_utils[i] < target_util - TEST_MARGIN || in check_results()
125 test_utils[i] > target_util + TEST_MARGIN) in check_results()
128 i, test_boost[i], test_utils[i], in check_results()
/external/bsdiff/
Dpatch_writer_unittest.cc55 test_utils::ScopedTempFile patch_file_{"bsdiff_newfile.XXXXXX"};
62 test_utils::BsdiffPatchFile patch; in TEST_F()
79 test_utils::BsdiffPatchFile patch; in TEST_F()
101 test_utils::BsdiffPatchFile patch; in TEST_F()
/external/libchrome/mojo/public/cpp/test_support/
DBUILD.gn5 static_library("test_utils") {
10 "lib/test_utils.cc",
11 "test_utils.h",
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
DBUILD28 ":test_utils",
68 ":test_utils",
104 ":test_utils",
149 name = "test_utils",
150 srcs = ["test_utils.py"],
Dparallel_reader_test.py23 from tensorflow.contrib.slim.python.slim.data import test_utils
43 tfrecord_paths = test_utils.create_tfrecord_files(
82 tfrecord_paths = test_utils.create_tfrecord_files(
165 self._tfrecord_paths = test_utils.create_tfrecord_files(
192 [tfrecord_path] = test_utils.create_tfrecord_files(
209 [tfrecord_path] = test_utils.create_tfrecord_files(
/external/autotest/client/cros/networking/chrome_testing/
Dchrome_networking_test_api.py9 from autotest_lib.client.cros.networking.chrome_testing import test_utils
55 test_utils.LONG_TIMEOUT,
116 test_utils.LONG_TIMEOUT,
/external/python/apitools/samples/
Duptodate_check_test.py21 from apitools.gen import test_utils
33 @test_utils.RunOnlyOnPython27
45 with test_utils.TempDir() as tmp_dir_path:

123456