Home
last modified time | relevance | path

Searched refs:expected_path (Results 1 - 14 of 14) sorted by relevance

/third_party/typescript/tests/issues_cookbook_tests/
H A Dmain.py26 def __init__(self, path, expected_path='') -> None:
28 self.sdklinter = autotest_sdk.SDKLinterTest(path, expected_path)
37 parser.add_argument('--expected_path', default='',
45 print(args.project_path, args.expected_path)
46 m = MainClass(args.project_path, expected_path=args.expected_path)
H A Dautotest_sdk.py43 expected_path = 'tmp' variable in SDKLinterTest
48 def __init__(self, project_path='', expected_path='') -> None:
50 self.expected_path = expected_path.replace('\\', '/')
120 items = os.listdir(os.path.abspath(self.expected_path))
124 file_path = os.path.join(self.expected_path, item)
139 file_path = os.path.join(self.expected_path, os.path.splitext(
200 for root, dirs, files in os.walk(self.expected_path):
/third_party/cJSON/tests/
H A Dparse_examples.c56 char *expected_path = NULL; in do_test() local
64 expected_path = (char*)malloc(sizeof(TEST_DIR_PATH) + test_name_length + sizeof(".expected")); in do_test()
65 TEST_ASSERT_NOT_NULL_MESSAGE(expected_path, "Failed to allocate expected_path buffer."); in do_test()
69 sprintf(expected_path, TEST_DIR_PATH"%s.expected", test_name); in do_test()
72 expected = read_file(expected_path); in do_test()
103 if (expected_path != NULL) in do_test()
105 free(expected_path); in do_test()
/third_party/node/deps/v8/tools/testrunner/outproc/
H A Dmkgrokdump.py11 def __init__(self, expected_outcomes, expected_path):
13 self._expected_path = expected_path
21 fromfile="expected_path")
/third_party/node/test/cctest/
H A Dtest_inspector_socket.cc588 std::string expected_path; in ReportsHttpGet_handshake() local
591 expected_path = "/some/path"; in ReportsHttpGet_handshake()
594 expected_path = "/respond/withtext"; in ReportsHttpGet_handshake()
598 expected_path = "/some/path2"; in ReportsHttpGet_handshake()
601 expected_path = "/close"; in ReportsHttpGet_handshake()
608 EXPECT_EQ(expected_path, path); in ReportsHttpGet_handshake()
672 std::string expected_path = "/ws/path"; in GetThenHandshake_handshake() local
676 expected_path = "/respond/withtext"; in GetThenHandshake_handshake()
686 EXPECT_EQ(expected_path, path); in GetThenHandshake_handshake()
/third_party/mesa3d/src/intel/tools/tests/
H A Drun-test.py38 expected_path = args.gen_folder / expected_file variable
57 with expected_path.open() as f:
/third_party/python/Lib/test/
H A Dtest_pydoc.py1581 expected_path = [self.abs_curdir] + clean_path
1582 self.assertEqual(self._get_revised_path(clean_path), expected_path)
1586 expected_path = [self.abs_curdir] + clean_path
1588 self.assertEqual(self._get_revised_path(leading_argv0dir), expected_path)
1590 self.assertEqual(self._get_revised_path(trailing_argv0dir), expected_path)
1597 expected_path = [self.abs_curdir] + leading_argv0dir
1598 self.assertEqual(_get_revised_path(leading_argv0dir), expected_path)
1600 expected_path = [self.abs_curdir] + trailing_argv0dir
1601 self.assertEqual(_get_revised_path(trailing_argv0dir), expected_path)
H A Dtest_urllib.py1491 expected_path = os.path.join("parts", "of", "a", "path")
1493 result = urllib.request.pathname2url(expected_path)
1498 self.assertEqual(expected_path, result,
1500 (result, expected_path))
H A Dtest_embed.py269 expected_path = self.test_exe
271 expected_path = os.path.join(os.getcwd(), "spam")
272 expected_output = f"sys.executable: {expected_path}\n"
/third_party/rust/crates/clap/clap_complete_fig/tests/
H A Dcommon.rs251 expected_path: impl AsRef<std::path::Path>, in basic_command()
261 .matches_path(expected_path, buf); in basic_command()
/third_party/rust/crates/clap/clap_complete/tests/
H A Dcommon.rs279 expected_path: impl AsRef<std::path::Path>, in basic_command()
290 .matches_path(expected_path, buf); in basic_command()
/third_party/node/deps/v8/tools/unittests/
H A Drun_perf_test.py102 expected_path = os.path.join(base_path, 'build')
103 self.assertEqual(expected_path,
/third_party/python/Lib/test/test_importlib/
H A Dtest_namespace_pkgs.py374 expected_path = os.path.join(self.root, 'portion1', 'foo')
375 self.assertEqual(foo.__path__[0], expected_path)
/third_party/python/Lib/unittest/test/testmock/
H A Dtestmagicmethods.py328 expected_path = mock.__fspath__()
331 self.assertEqual(os.fspath(mock), expected_path)

Completed in 17 milliseconds