Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 25 of 1759) sorted by relevance

12345678910>>...71

/dports/devel/cpp-hocon/cpp-hocon-0.3.0/lib/tests/
H A Dpath_test.cc13 REQUIRE(test_path({"foo.bar"}) == a);
20 REQUIRE(test_path({ "foo", "bar" }) == a);
40 render_test(test_path({"foo"}), "foo");
82 REQUIRE(test_path({"foo"}) == path(vector<path> { test_path({"foo"}) }));
83 vector<path> paths { test_path({"foo", "bar"}), test_path({"baz", "bat" }) };
88 REQUIRE(test_path({"foo", "bar"}) == test_path({"bar"}).prepend(test_path({"foo"})));
89 path first = test_path({"a", "b"});
90 path second = test_path({"c", "d"});
101 REQUIRE(test_path({"a"}) == test_path({"a", "b"}).parent());
102 REQUIRE(test_path({"a", "b"}) == test_path({"a", "b", "c"}).parent());
[all …]
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/io/fs/
H A DFilePath.cpp421 test_path(".", ".");
422 test_path("./", ".");
424 test_path("./a", "a");
430 test_path("/a", "/a");
437 test_path("/", "/");
448 test_path("/a", "/a");
482 test_path("a", "a");
484 test_path("a/", "a");
487 test_path("", "");
498 test_path("a", "a");
[all …]
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/torture/raw/
H A Dchkpath.c105 ret &= test_path(cli, BASEDIR, NT_STATUS_OK, NT_STATUS_OK); in test_chkpath()
107 ret &= test_path(cli, "", NT_STATUS_OK, NT_STATUS_OK); in test_chkpath()
108 ret &= test_path(cli, ".", NT_STATUS_OBJECT_NAME_INVALID, NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
109 ret &= test_path(cli, ".\\", NT_STATUS_OBJECT_NAME_INVALID, NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
111 ret &= test_path(cli, ".\\.", NT_STATUS_OBJECT_PATH_NOT_FOUND, NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
118 ret &= test_path(cli, "\\.\\", NT_STATUS_OBJECT_NAME_INVALID,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
154 ret &= test_path(cli, BASEDIR"\\nt", NT_STATUS_OK, NT_STATUS_OK); in test_chkpath()
157 ret &= test_path(cli, ".\\", NT_STATUS_OBJECT_NAME_INVALID,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
163 ret &= test_path(cli, "\\", NT_STATUS_OK,NT_STATUS_OK); in test_chkpath()
164 ret &= test_path(cli, "\\.", NT_STATUS_OBJECT_NAME_INVALID,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
[all …]
/dports/textproc/libsphinxclient/sphinx-2.0.9-release/test/test_028/
H A Dtest.inc1 printf ( "testing $test_path, spelldump... " );
13 …exec ( "$spelldump_path $test_path/model.dict $test_path/model.aff $test_path/model.spell", $error…
15 if ( !file_exists ( "$test_path/model.spell" ) )
22 exec ( "$spelldump_path $test_path/model.dict $test_path/model.aff $test_path/current.spell", $erro…
24 if ( !file_exists ( "$test_path/current.spell" ) )
27 $model = file_get_contents ( "$test_path/model.spell" );
28 $result = file_get_contents ( "$test_path/current.spell" );
32 system ( "diff -u3 $test_path/model.spell $test_path/current.spell > $test_path/report.txt" );
34 system ( "diff $test_path/model.spell $test_path/current.spell > $test_path/report.txt" );
40 unlink ( "$test_path/current.spell" );
/dports/textproc/sphinxsearch/sphinx-2.2.11-release/test/test_028/
H A Dtest.inc1 printf ( "testing $test_path, spelldump... " );
13 …exec ( "$spelldump_path $test_path/model.dict $test_path/model.aff $test_path/model.spell", $error…
15 if ( !file_exists ( "$test_path/model.spell" ) )
22 exec ( "$spelldump_path $test_path/model.dict $test_path/model.aff $test_path/current.spell", $erro…
24 if ( !file_exists ( "$test_path/current.spell" ) )
27 $model = file_get_contents ( "$test_path/model.spell" );
28 $result = file_get_contents ( "$test_path/current.spell" );
34 system ( "diff -u3 $test_path/model.spell $test_path/current.spell > $test_path/report.txt" );
36 system ( "diff $test_path/model.spell $test_path/current.spell > $test_path/report.txt" );
42 unlink ( "$test_path/current.spell" );
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/test/gpu/gpu_tests/
H A Dgpu_process_integration_test.py126 def _Navigate(self, test_path): argument
142 self._Navigate(test_path)
228 self._NavigateAndWait(test_path)
233 self._NavigateAndWait(test_path)
238 self._NavigateAndWait(test_path)
268 self._Navigate(test_path)
278 self._Navigate(test_path)
295 self._Navigate(test_path)
322 self._Navigate(test_path)
334 self._Navigate(test_path)
[all …]
H A Dcontext_lost_integration_test.py134 getattr(self, test_name)(test_path)
243 self, test_path): argument
246 self._NavigateAndWaitForLoad(test_path)
253 self._NavigateAndWaitForLoad(test_path)
261 self._NavigateAndWaitForLoad(test_path)
279 self._NavigateAndWaitForLoad(test_path)
289 self._NavigateAndWaitForLoad(test_path)
295 self._NavigateAndWaitForLoad(test_path)
306 self._NavigateAndWaitForLoad(test_path)
407 self, test_path): argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/files/
H A Dscoped_temp_dir_unittest.cc16 FilePath test_path; in TEST() local
20 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
23 EXPECT_TRUE(dir.Set(test_path)); in TEST()
26 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
30 EXPECT_TRUE(dir.Set(test_path)); in TEST()
38 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
43 EXPECT_TRUE(dir.Set(test_path)); in TEST()
51 FilePath test_path; in TEST() local
55 test_path = dir.GetPath(); in TEST()
70 FilePath test_path; in TEST() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/files/
H A Dscoped_temp_dir_unittest.cc16 FilePath test_path; in TEST() local
20 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
23 EXPECT_TRUE(dir.Set(test_path)); in TEST()
26 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
30 EXPECT_TRUE(dir.Set(test_path)); in TEST()
38 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
43 EXPECT_TRUE(dir.Set(test_path)); in TEST()
51 FilePath test_path; in TEST() local
55 test_path = dir.GetPath(); in TEST()
70 FilePath test_path; in TEST() local
[all …]
/dports/japanese/libslang/slang-1.4.5jp2/src/test/
H A Dospath.sl5 static define test_path (path, dir, base, ext, dirbase) function
22 test_path ("etc", ".", "etc", "", "./etc");
24 test_path ("/", "/", "", "", "/");
25 test_path (".", ".", ".", ".", "./.");
26 test_path ("/a./b", "/a.", "b", "", "/a./b");
27 test_path (".c", ".", ".c", ".c", "./.c");
30 test_path ("etc", ".", "etc", "", ".\\etc");
32 test_path ("\\", "\\", "", "", "\\");
33 test_path (".", ".", ".", ".", ".\\.");
34 test_path ("\\a.\\b", "\\a.", "b", "", "\\a.\\b");
[all …]
/dports/www/py-routes/Routes-2.5.1/tests/test_functional/
H A Dtest_resources.py112 def test_path(path, method): function
117 test_path('/people', 'GET')
122 test_path('/people', 'POST')
129 test_path('/people/2', 'GET')
140 test_path('/people/2', 'PUT')
175 def test_path(path, method): function
180 test_path('/people', 'GET')
183 test_path('/people', 'POST')
186 test_path('/people/2', 'GET')
206 def test_path(path, method): function
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/
H A Ddigraph.cc95 struct test_path struct
153 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
156 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
160 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
164 test_path path_to_d = sp.get_shortest_path (d); in test_shortest_paths()
169 test_path path_to_e = sp.get_shortest_path (e); in test_shortest_paths()
174 test_path path_to_f = sp.get_shortest_path (f); in test_shortest_paths()
188 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
191 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
194 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/
H A Ddigraph.cc95 struct test_path struct
153 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
156 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
160 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
164 test_path path_to_d = sp.get_shortest_path (d); in test_shortest_paths()
169 test_path path_to_e = sp.get_shortest_path (e); in test_shortest_paths()
174 test_path path_to_f = sp.get_shortest_path (f); in test_shortest_paths()
188 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
191 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
194 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
[all …]
/dports/lang/gcc11/gcc-11.2.0/gcc/
H A Ddigraph.cc95 struct test_path struct
153 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
156 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
160 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
164 test_path path_to_d = sp.get_shortest_path (d); in test_shortest_paths()
169 test_path path_to_e = sp.get_shortest_path (e); in test_shortest_paths()
174 test_path path_to_f = sp.get_shortest_path (f); in test_shortest_paths()
188 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
191 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
194 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/
H A Ddigraph.cc95 struct test_path struct
153 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
156 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
160 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
164 test_path path_to_d = sp.get_shortest_path (d); in test_shortest_paths()
169 test_path path_to_e = sp.get_shortest_path (e); in test_shortest_paths()
174 test_path path_to_f = sp.get_shortest_path (f); in test_shortest_paths()
188 test_path path_to_a = sp.get_shortest_path (a); in test_shortest_paths()
191 test_path path_to_b = sp.get_shortest_path (b); in test_shortest_paths()
194 test_path path_to_c = sp.get_shortest_path (c); in test_shortest_paths()
[all …]
/dports/security/py-dfwinreg/dfwinreg-20201006/tests/
H A Dregf.py81 self._SkipIfPathNotExists(test_path)
93 self._SkipIfPathNotExists(test_path)
109 self._SkipIfPathNotExists(test_path)
127 self._SkipIfPathNotExists(test_path)
140 self._SkipIfPathNotExists(test_path)
209 self._SkipIfPathNotExists(test_path)
241 self._SkipIfPathNotExists(test_path)
267 self._SkipIfPathNotExists(test_path)
295 self._SkipIfPathNotExists(test_path)
322 self._SkipIfPathNotExists(test_path)
[all …]
H A Dcreg.py75 self._SkipIfPathNotExists(test_path)
102 self._SkipIfPathNotExists(test_path)
153 self._SkipIfPathNotExists(test_path)
186 self._SkipIfPathNotExists(test_path)
212 self._SkipIfPathNotExists(test_path)
239 self._SkipIfPathNotExists(test_path)
266 self._SkipIfPathNotExists(test_path)
284 self._SkipIfPathNotExists(test_path)
317 self._SkipIfPathNotExists(test_path)
337 self._SkipIfPathNotExists(test_path)
[all …]
/dports/devel/libslang2/slang-2.3.2/src/test/
H A Dospath.sl5 static define test_path (path, dir, base, ext, dirbase, sansext) function
25 test_path ("etc", ".", "etc", "", "./etc", "ext");
27 test_path ("/", "/", "", "", "/", "");
28 test_path (".", ".", ".", ".", "./.", "");
29 test_path ("/a./b", "/a.", "b", "", "/a./b", "b");
30 test_path (".c", ".", ".c", ".c", "./.c", "");
35 test_path ("etc", ".", "etc", "", ".\\etc");
37 test_path ("\\", "\\", "", "", "\\");
38 test_path (".", ".", ".", ".", ".\\.");
39 test_path ("\\a.\\b", "\\a.", "b", "", "\\a.\\b");
[all …]
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/tools/wave/testing/
H A Dtest_loader.py44 if "manual" not in test_path:
48 if not self._is_valid_test(test_path,
54 self._tests[MANUAL][api].append(test_path)
79 for test_path in test_paths:
80 if not test_path.startswith("/"):
81 test_path = "/" + test_path
86 loaded_tests[api_name].append(test_path)
89 def _parse_api_name(self, test_path): argument
90 for part in test_path.split("/"):
102 if pattern.match(test_path) is not None:
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/tests/tools/wave/testing/
H A Dtest_loader.py44 if "manual" not in test_path:
48 if not self._is_valid_test(test_path,
54 self._tests[MANUAL][api].append(test_path)
79 for test_path in test_paths:
80 if not test_path.startswith("/"):
81 test_path = "/" + test_path
86 loaded_tests[api_name].append(test_path)
89 def _parse_api_name(self, test_path): argument
90 for part in test_path.split("/"):
102 if pattern.match(test_path) is not None:
[all …]
/dports/net/samba412/samba-4.12.15/source4/torture/raw/
H A Dchkpath.c113 static bool test_path(struct smbcli_state *cli, const char *path, in test_path() function
162 ret &= test_path(cli, ".", NT_STATUS_OBJECT_NAME_INVALID, NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
163 ret &= test_path(cli, ".\\", NT_STATUS_OBJECT_NAME_INVALID, NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
165 ret &= test_path(cli, ".\\.", NT_STATUS_OBJECT_PATH_NOT_FOUND, NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
172 ret &= test_path(cli, "\\.\\", NT_STATUS_OBJECT_NAME_INVALID,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
173 ret &= test_path(cli, "\\.\\\\", NT_STATUS_OBJECT_NAME_INVALID,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
208 ret &= test_path(cli, BASEDIR"\\nt", NT_STATUS_OK, NT_STATUS_OK); in test_chkpath()
211 ret &= test_path(cli, ".\\", NT_STATUS_OBJECT_NAME_INVALID,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
212 ret &= test_path(cli, ".\\.", NT_STATUS_OBJECT_PATH_NOT_FOUND,NT_STATUS_DOS(ERRDOS,ERRbadpath)); in test_chkpath()
217 ret &= test_path(cli, "\\", NT_STATUS_OK,NT_STATUS_OK); in test_chkpath()
[all …]
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/tools/wave/testing/
H A Dtest_loader.py44 if "manual" not in test_path:
48 if not self._is_valid_test(test_path,
54 self._tests[MANUAL][api].append(test_path)
79 for test_path in test_paths:
80 if not test_path.startswith("/"):
81 test_path = "/" + test_path
86 loaded_tests[api_name].append(test_path)
89 def _parse_api_name(self, test_path): argument
90 for part in test_path.split("/"):
103 if pattern.match(test_path) is not None:
[all …]
/dports/devel/R-cran-testthat/testthat/tests/testthat/
H A Dtest-test-path.R2 expect_equal(test_path("test-test-path.R"), "test-test-path.R")
5 expect_equal(test_path("xxxx"), "xxxx")
12 expect_equal(test_path("test-test-path.R"), "test-test-path.R")
13 expect_equal(test_path("xxxx"), "xxxx")
17 withr::local_dir(test_path("test-path-present"))
20 expect_equal(test_path("empty"), "tests/testthat/empty")
22 expect_equal(test_path("xxx"), "tests/testthat/xxx")
26 withr::local_dir(test_path("test-path-missing"))
29 expect_error(test_path("empty"), "Can't find `tests/testthat/`")
33 expect_equal(test_path(), ".")
/dports/sysutils/radmind/radmind-1.15.4/
H A Droot.c15 char test_path[ MAXPATHLEN ]; in get_root() local
40 if ( snprintf( test_path, MAXPATHLEN, "%s/tmp/transcript", in get_root()
47 if ( strstr( real_path, test_path ) != NULL ) { in get_root()
49 radmind_real_path, &real_path[ strlen( test_path ) ]) in get_root()
52 radmind_real_path, &real_path[ strlen( test_path )] ); in get_root()
56 radmind_real_path, &real_path[ strlen( test_path ) ]) in get_root()
59 radmind_real_path, &real_path[ strlen( test_path )] ); in get_root()
63 if ( snprintf( test_path, MAXPATHLEN, "%s/transcript", in get_root()
70 if ( strstr( real_path, test_path ) != NULL ) { in get_root()
79 radmind_real_path, &real_path[ strlen( test_path ) ]) in get_root()
[all …]
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/tests/
H A Dstatefile.cc59 std::string filename_test(test_path + "/" + filename); in CopyTestStateFileFromOriginal()
87 char test_path[]{TEST_TEMP_DIR}; in TEST() local
93 ASSERT_TRUE(StateFileExists(test_path, fname, 42001)); in TEST()
94 ReadStateFile(test_path, fname, 42001); in TEST()
113 std::string test_path{TEST_TEMP_DIR}; in TEST() local
121 ReadStateFile(test_path.c_str(), fname, 42001); in TEST()
151 char test_path[]{TEST_TEMP_DIR}; in TEST() local
158 ReadStateFile(test_path, fname, 42001); in TEST()
174 char test_path[]{TEST_TEMP_DIR}; in TEST() local
190 char test_path[]{TEST_TEMP_DIR}; in TEST() local
[all …]

12345678910>>...71