Home
last modified time | relevance | path

Searched refs:test_source (Results 1 – 25 of 33) sorted by relevance

12

/aosp_15_r20/external/python/cpython3/Lib/test/test_peg_generator/
Dtest_c_parser.py114 def run_test(self, grammar_source, test_source): argument
116 test_source = textwrap.indent(textwrap.dedent(test_source), 8 * " ")
119 TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
143 test_source = """
161 self.run_test(grammar_source, test_source)
168 test_source = """
173 self.run_test(grammar_source, test_source)
180 test_source = """
185 self.run_test(grammar_source, test_source)
196 test_source = """
[all …]
/aosp_15_r20/external/libchrome/components/json_schema/
H A Djson_schema_validator_unittest.cc17 void ExpectValid(const std::string& test_source, in ExpectValid() argument
26 ADD_FAILURE() << test_source << ": " in ExpectValid()
32 void ExpectNotValid(const std::string& test_source, in ExpectNotValid() argument
40 ADD_FAILURE() << test_source; in ExpectNotValid()
44 ASSERT_EQ(1u, validator.errors().size()) << test_source; in ExpectNotValid()
45 EXPECT_EQ(expected_error_path, validator.errors()[0].path) << test_source; in ExpectNotValid()
47 << test_source; in ExpectNotValid()
H A Djson_schema_validator_unittest_base.h28 virtual void ExpectValid(const std::string& test_source,
33 virtual void ExpectNotValid(const std::string& test_source,
/aosp_15_r20/external/libaom/build/cmake/
H A Dcompiler_tests.cmake69 # Confirms $test_source compiles and stores $test_name in one of
74 function(aom_check_c_compiles test_name test_source result_var)
86 check_c_source_compiles("${test_source} ${AOM_C_MAIN}" C_TEST_COMPILED)
106 # Confirms $test_source compiles and stores $test_name in one of
111 function(aom_check_cxx_compiles test_name test_source result_var)
123 check_cxx_source_compiles("${test_source} ${AOM_CXX_MAIN}"
144 # Convenience function that confirms $test_source compiles as C and C++.
149 function(aom_check_source_compiles test_name test_source result_var)
152 aom_check_c_compiles(${test_name} ${test_source} C_PASSED)
153 aom_check_cxx_compiles(${test_name} ${test_source} CXX_PASSED)
/aosp_15_r20/external/libepoxy/test/
H A Dmeson.build67 test_source = test[2] variable
72 test_bin = executable(test_name, test_source,
113 test_source = test[1] variable
119 test_bin = executable(test_name, test_source,
149 test_source = test[1] variable
152 test_bin = executable(test_name, test_source,
/aosp_15_r20/external/pigweed/pw_module/py/pw_module/
H A Dcreate.py808 test_source = self._new_source(f'{self._ctx.name.main}_test')
824 test_source.line(
827 test_source.line('#include "pw_unit_test/framework.h"\n')
828 test_source.line(f'namespace {namespace} {{')
829 test_source.line('namespace {\n')
830 test_source.line(
833 with test_source.indent():
834 test_source.line('EXPECT_EQ(magic, 42);')
835 test_source.line('}\n')
836 test_source.line('} // namespace')
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/autograph/pyct/
H A Dloader_test.py104 test_source = textwrap.dedent(u"""
110 module, _ = loader.load_source(test_source, delete_on_exit=True)
116 test_source = textwrap.dedent('')
117 _, filename = loader.load_source(test_source, delete_on_exit=True)
/aosp_15_r20/external/wayland-protocols/freedesktop.org/tests/
H A Dmeson.build88 test_source = custom_target( variable
97 test_source,
120 test_source = custom_target( variable
129 test_source,
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_multiprocessing_main_handling.py32 test_source = """\ variable
112 source=test_source, omit_suffix=False):
122 source=test_source, depth=1):
291 main_in_children_source = test_source
Dtest_cmd_line_script.py27 test_source = """\ variable
80 def _make_test_script(script_dir, script_basename, source=test_source):
86 source=test_source, depth=1):
Dtest_imp.py421 def test_source(self): member in ReloadTests
/aosp_15_r20/external/compiler-rt/make/platform/
H A Dclang_linux.mk37 test_source = $(ProjSrcRoot)/make/platform/clang_linux_test_input.c
40 ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0)
45 ifeq ($(call TryCompile,$(CC),$(test_source),-m32),0)
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_runpy.py25 test_source = ( variable in RunModuleCodeTest
44 d = _run_code(self.test_source, {})
62 d2 = _run_module_code(self.test_source,
312 test_source = """\ variable in RunPathTest
335 source = self.test_source
Dtest_cmd_line_script.py18 test_source = """\ variable
43 def _make_test_script(script_dir, script_basename, source=test_source):
47 source=test_source, depth=1):
Dtest_imp.py50 def test_source(self): member in ReloadTests
/aosp_15_r20/external/bazelbuild-rules_go/tests/legacy/providers/
H A DBUILD.bazel2 load("//tests/legacy/providers:test.bzl", "test_source")
11 test_source(
H A Dtest.bzl6 test_source = rule(
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
H A Dnghttp2_util_test.cc20 auto* test_source = static_cast<TestDataSource*>(source->ptr); in FakeSendCallback() local
21 absl::string_view payload = test_source->ReadNext(length); in FakeSendCallback()
/aosp_15_r20/external/rust/android-crates-io/crates/anyhow/
DAndroid.bp258 crate_name: "test_source",
261 crate_root: "tests/test_source.rs",
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DPipeTest.java53 public void test_source() throws IOException { in test_source() method in PipeTest
/aosp_15_r20/external/eigen/cmake/
H A DEigenTesting.cmake196 file(READ "${filename}" test_source)
198 occurrences "${test_source}")
205 string(REGEX MATCHALL "EIGEN_TEST_PART_[0-9]+" occurrences "${test_source}")
/aosp_15_r20/external/bazelbuild-rules_go/docs/go/core/
H A Dbuildgraph.excalidraw661 "text": "test_source.go",
666 "originalText": "test_source.go"
/aosp_15_r20/external/bazelbuild-rules_go/go/private/rules/
H A Dtest.bzl148 test_source = go.library_to_source(go, struct(
155 source = test_source,
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_utils.py842 test_source = override if override is not None else 'python-unittest'
843 return os.path.join('test-reports', test_source)
/aosp_15_r20/external/pytorch/test/profiler/
H A Dtest_profiler.py231 def test_source(self): member in TestProfiler

12