Searched refs:expected_path (Results 1 – 9 of 9) sorted by relevance
/third_party/cJSON/tests/ |
D | parse_examples.c | 56 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/test/cctest/ |
D | test_inspector_socket.cc | 588 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/ |
D | run-test.py | 38 expected_path = args.gen_folder / expected_file variable 57 with expected_path.open() as f:
|
/third_party/python/Lib/test/ |
D | test_pydoc.py | 1536 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)
|
D | test_urllib.py | 1491 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))
|
D | test_embed.py | 259 expected_path = self.test_exe 261 expected_path = os.path.join(os.getcwd(), "spam")
|
/third_party/mindspore/tests/ut/cpp/dataset/common/ |
D | bboxop_common.cc | 159 std::string expected_path = in CompareActualAndExpected() local 161 cv::Mat expect_img = cv::imread(expected_path, cv::IMREAD_COLOR); in CompareActualAndExpected()
|
/third_party/python/Lib/test/test_importlib/ |
D | test_namespace_pkgs.py | 342 expected_path = os.path.join(self.root, 'portion1', 'foo') 343 self.assertEqual(foo.__path__[0], expected_path)
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 328 expected_path = mock.__fspath__() 331 self.assertEqual(os.fspath(mock), expected_path)
|