Home
last modified time | relevance | path

Searched refs:expected_path (Results 1 – 13 of 13) sorted by relevance

/third_party/cJSON/tests/
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/openssl/test/recipes/
D61-test_bio_prefix.t28 my $expected_path = data_file($input_result{$_}->[1]);
36 is(compare_text($result_path, $expected_path, \&cmp_line), 0,
37 "comparing the dump of $_ with $expected_path");
D04-test_conf.t31 my $expected_path = data_file($input_result{$_});
38 is(compare_text($result_path, $expected_path, sub {
/third_party/node/test/cctest/
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/
Drun-test.py38 expected_path = args.gen_folder / expected_file variable
57 with expected_path.open() as f:
/third_party/python/Lib/test/
Dtest_pydoc.py1536 expected_path = [self.abs_curdir] + clean_path
1537 self.assertEqual(self._get_revised_path(clean_path), expected_path)
1541 expected_path = [self.abs_curdir] + clean_path
1543 self.assertEqual(self._get_revised_path(leading_argv0dir), expected_path)
1545 self.assertEqual(self._get_revised_path(trailing_argv0dir), expected_path)
1553 expected_path = [self.abs_curdir] + leading_argv0dir
1554 self.assertEqual(_get_revised_path(leading_argv0dir), expected_path)
1556 expected_path = [self.abs_curdir] + trailing_argv0dir
1557 self.assertEqual(_get_revised_path(trailing_argv0dir), expected_path)
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))
Dtest_embed.py259 expected_path = self.test_exe
261 expected_path = os.path.join(os.getcwd(), "spam")
/third_party/rust/crates/clap/clap_complete_fig/tests/
Dcommon.rs251 expected_path: impl AsRef<std::path::Path>, in assert_matches_path()
261 .matches_path(expected_path, buf); in assert_matches_path()
/third_party/rust/crates/clap/clap_complete/tests/
Dcommon.rs265 expected_path: impl AsRef<std::path::Path>, in assert_matches_path()
276 .matches_path(expected_path, buf); in assert_matches_path()
/third_party/rust/crates/clap/clap_mangen/tests/
Dcommon.rs275 pub fn assert_matches_path(expected_path: impl AsRef<std::path::Path>, cmd: clap::Command) { in assert_matches_path()
281 .matches_path(expected_path, buf); in assert_matches_path()
/third_party/python/Lib/test/test_importlib/
Dtest_namespace_pkgs.py342 expected_path = os.path.join(self.root, 'portion1', 'foo')
343 self.assertEqual(foo.__path__[0], expected_path)
/third_party/python/Lib/unittest/test/testmock/
Dtestmagicmethods.py328 expected_path = mock.__fspath__()
331 self.assertEqual(os.fspath(mock), expected_path)