Home
last modified time | relevance | path

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

123456

/external/oss-fuzz/infra/build/functions/
Dupdate_build_status_test.py30 import test_utils
144 cls.ds_emulator = test_utils.start_datastore_emulator()
145 test_utils.wait_for_emulator_ready(cls.ds_emulator, 'datastore',
146 test_utils.DATASTORE_READY_INDICATOR)
147 test_utils.set_gcp_environment()
150 test_utils.reset_ds_emulator()
212 test_utils.cleanup_emulator(cls.ds_emulator)
220 cls.ds_emulator = test_utils.start_datastore_emulator()
221 test_utils.wait_for_emulator_ready(cls.ds_emulator, 'datastore',
222 test_utils.DATASTORE_READY_INDICATOR)
[all …]
Drequest_coverage_build_test.py31 import test_utils
41 cls.ds_emulator = test_utils.start_datastore_emulator()
42 test_utils.wait_for_emulator_ready(cls.ds_emulator, 'datastore',
43 test_utils.DATASTORE_READY_INDICATOR)
44 test_utils.set_gcp_environment()
47 test_utils.reset_ds_emulator()
59 datetime.datetime = test_utils.SpoofedDatetime
86 test_utils.cleanup_emulator(cls.ds_emulator)
Drequest_build_test.py34 import test_utils
44 cls.ds_emulator = test_utils.start_datastore_emulator()
45 test_utils.wait_for_emulator_ready(cls.ds_emulator, 'datastore',
46 test_utils.DATASTORE_READY_INDICATOR)
47 test_utils.set_gcp_environment()
50 test_utils.reset_ds_emulator()
57 datetime.datetime = test_utils.SpoofedDatetime
113 test_utils.cleanup_emulator(cls.ds_emulator)
Dproject_sync_test.py33 import test_utils
106 cls.ds_emulator = test_utils.start_datastore_emulator()
107 test_utils.wait_for_emulator_ready(cls.ds_emulator, 'datastore',
108 test_utils.DATASTORE_READY_INDICATOR)
109 test_utils.set_gcp_environment()
112 test_utils.reset_ds_emulator()
315 test_utils.cleanup_emulator(cls.ds_emulator)
/external/angle/src/tests/
Dangle_perftests.gni31 "test_utils/ANGLETest.cpp",
32 "test_utils/ANGLETest.h",
33 "test_utils/MultiviewTest.cpp",
34 "test_utils/MultiviewTest.h",
35 "test_utils/draw_call_perf_utils.cpp",
36 "test_utils/draw_call_perf_utils.h",
56 "test_utils/third_party/vulkan_command_buffer_utils.cpp",
57 "test_utils/third_party/vulkan_command_buffer_utils.h",
Dangle_unittests.gni73 "test_utils/ShaderExtensionTest.h",
74 "test_utils/angle_test_instantiate.h",
75 "test_utils/compiler_test.cpp",
76 "test_utils/compiler_test.h",
141 "test_utils/ConstantFoldingTest.cpp",
142 "test_utils/ConstantFoldingTest.h",
143 "test_utils/ShaderCompileTreeTest.cpp",
144 "test_utils/ShaderCompileTreeTest.h",
172 angle_unittests_sources += [ "test_utils/runner/TestSuite_unittest.cpp" ]
/external/python/apitools/apitools/gen/
Dgen_client_test.py22 from apitools.gen import test_utils
38 with test_utils.CaptureOutput() as (_, err):
45 with test_utils.TempDir() as tmp_dir_path:
60 with test_utils.TempDir() as tmp_dir_path:
82 with test_utils.TempDir() as tmp_dir_path:
97 with test_utils.TempDir() as tmp_dir_path:
112 with test_utils.TempDir() as tmp_dir_path:
126 with test_utils.TempDir() as tmp_dir_path:
Dclient_generation_test.py28 from apitools.gen import test_utils
44 @test_utils.SkipOnWindows
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
23 class LockTests(test_utils.TestCase):
122 test_utils.run_briefly(self.loop)
126 test_utils.run_briefly(self.loop)
129 test_utils.run_briefly(self.loop)
135 test_utils.run_briefly(self.loop)
139 test_utils.run_briefly(self.loop)
189 test_utils.run_briefly(self.loop)
192 test_utils.run_briefly(self.loop)
195 test_utils.run_briefly(self.loop)
[all …]
Dtest_sslproto.py19 from test.test_asyncio import utils as test_utils unknown
28 class SslProtoHandshakeTests(test_utils.TestCase):
36 sslcontext = test_utils.dummy_ssl_context()
60 sslcontext = test_utils.dummy_ssl_context()
68 sslcontext = test_utils.dummy_ssl_context()
80 test_utils.run_briefly(self.loop)
105 test_utils.run_briefly(self.loop)
114 test_utils.run_briefly(self.loop)
221 server_context = test_utils.simple_server_sslcontext()
222 client_context = test_utils.simple_client_sslcontext()
[all …]
Dtest_events.py33 from test.test_asyncio import utils as test_utils unknown
249 test_utils.run_briefly(self.loop)
394 test_utils.run_until(self.loop, lambda: len(bytes_read) >= 3)
396 test_utils.run_until(self.loop, lambda: len(bytes_read) >= 6)
457 test_utils.run_until(self.loop, lambda: caught)
513 with test_utils.run_test_server() as httpd:
524 with test_utils.run_test_unix_server() as httpd:
575 conn_fut = create_connection(ssl=test_utils.dummy_ssl_context())
589 return test_utils.dummy_ssl_context()
604 with test_utils.disable_logger():
[all …]
Dtest_sock_lowlevel.py9 from test.test_asyncio import utils as test_utils unknown
62 test_utils.run_briefly(self.loop)
122 with test_utils.run_test_server() as httpd:
250 with test_utils.run_test_server() as httpd:
317 with test_utils.run_test_server() as httpd:
372 with test_utils.run_test_server() as httpd:
378 with test_utils.run_test_unix_server() as httpd:
438 with test_utils.run_test_server() as httpd:
469 test_utils.TestCase):
475 test_utils.TestCase):
[all …]
Dtest_subprocess.py11 from test.test_asyncio import utils as test_utils unknown
41 class SubprocessTransportTests(test_utils.TestCase):
250 with test_utils.disable_logger():
440 with test_utils.disable_logger():
458 with test_utils.disable_logger():
460 test_utils.run_briefly(self.loop)
484 with test_utils.disable_logger():
497 test_utils.run_briefly(self.loop)
520 with test_utils.disable_logger():
522 test_utils.run_briefly(self.loop)
[all …]
Dtest_tasks.py23 from test.test_asyncio import utils as test_utils unknown
333 filename, lineno = test_utils.get_function_source(notmuch)
431 filename, lineno = test_utils.get_function_source(notmuch)
450 src = '%s:%s' % test_utils.get_function_source(notmuch)
469 test_utils.run_briefly(self.loop)
698 test_utils.run_briefly(self.loop) # start coro
714 test_utils.run_briefly(self.loop) # start task
729 test_utils.run_briefly(self.loop)
753 test_utils.run_briefly(self.loop)
756 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/pigweed/pw_kvs/
DBUILD156 name = "test_utils",
220 ":test_utils",
232 ":test_utils",
292 ":test_utils",
310 ":test_utils",
328 ":test_utils",
346 ":test_utils",
378 ":test_utils",
391 ":test_utils",
405 ":test_utils",
[all …]
/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/ltp/testcases/kernel/sched/eas/
Dsched_boost.c35 static int test_utils[NUM_TESTS]; variable
103 test_utils[test_index] = max_util_seen; in parse_results()
128 if (test_utils[i] < target_util - TEST_MARGIN || in check_results()
129 test_utils[i] > target_util + TEST_MARGIN) in check_results()
132 i, test_boost[i], test_utils[i], in check_results()
138 i, test_boost[i], test_utils[i], in check_results()
/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/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 …]
/external/tensorflow/tensorflow/lite/tools/
Dvisualize_test.py23 from tensorflow.lite.tools import test_utils
38 model = test_utils.build_mock_flatbuffer_model()
40 self.assertEqual(test_utils.TFLITE_SCHEMA_VERSION, model_dict['version'])
48 model = test_utils.build_mock_flatbuffer_model()
/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/pigweed/pw_rpc/nanopb/
DBUILD.gn114 "..:test_utils",
127 "..:test_utils",
139 "..:test_utils",
150 "..:test_utils",
162 "..:test_utils",
/external/pigweed/pw_rpc/
DBUILD.gn127 pw_source_set("test_utils") {
218 ":test_utils",
226 ":test_utils",
271 ":test_utils",
279 ":test_utils",
288 ":test_utils",
297 ":test_utils",

123456