Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_peg_generator/
Dtest_c_parser.py95 def run_test(self, grammar_source, test_source): argument
97 test_source = textwrap.indent(textwrap.dedent(test_source), 8 * " ")
100 TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
124 test_source = """
142 self.run_test(grammar_source, test_source)
149 test_source = """
154 self.run_test(grammar_source, test_source)
161 test_source = """
166 self.run_test(grammar_source, test_source)
177 test_source = """
[all …]
/external/libchrome/components/json_schema/
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()
Djson_schema_validator_unittest_base.h28 virtual void ExpectValid(const std::string& test_source,
33 virtual void ExpectNotValid(const std::string& test_source,
/external/libaom/build/cmake/
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)
/external/libepoxy/test/
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,
/external/tensorflow/tensorflow/python/autograph/pyct/
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)
/external/pigweed/pw_module/py/pw_module/
Dcreate.py684 test_source = self._new_source(f'{self._ctx.name.main}_test')
700 test_source.line(
703 test_source.line('#include "gtest/gtest.h"\n')
704 test_source.line(f'namespace {namespace} {{')
705 test_source.line('namespace {\n')
706 test_source.line(
709 with test_source.indent():
710 test_source.line('EXPECT_EQ(magic, 42);')
711 test_source.line('}\n')
712 test_source.line('} // namespace')
[all …]
/external/compiler-rt/make/platform/
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)
/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.py387 def test_source(self): member in ReloadTests
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
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()
Dnghttp2_adapter_test.cc49 auto* test_source = static_cast<TestDataSource*>(source->ptr); in TestSendCallback() local
50 absl::string_view payload = test_source->ReadNext(length); in TestSendCallback()
/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
/external/rust/crates/anyhow/
DAndroid.bp176 srcs: ["tests/test_source.rs"],
/external/eigen/cmake/
DEigenTesting.cmake196 file(READ "${filename}" test_source)
198 occurrences "${test_source}")
205 string(REGEX MATCHALL "EIGEN_TEST_PART_[0-9]+" occurrences "${test_source}")