Home
last modified time | relevance | path

Searched refs:URI (Results 1 – 25 of 9878) sorted by relevance

12345678910>>...396

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.common.tests/src/org/eclipse/equinox/common/tests/
H A DURIUtilTest.java426 new URI[] {new URI("b"), new URI("file:/a/"), new URI("file:/a/b")}, // in testMakeAbsolute()
427 new URI[] {new URI("b"), new URI("file:/a"), new URI("file:/a/b")}, in testMakeAbsolute()
460 new URI[] {new URI("b"), new URI("file:/c:/a/"), new URI("file:/c:/a/b")}, // in testMakeAbsolute()
461 new URI[] {new URI("b"), new URI("file:/c:/a"), new URI("file:/c:/a/b")}, in testMakeAbsolute()
471 new URI[] {new URI("b"), new URI("file:/C:/a/"), new URI("file:/C:/a/b")}, // in testMakeAbsolute()
472 new URI[] {new URI("b"), new URI("file:/C:/a"), new URI("file:/C:/a/b")}, // in testMakeAbsolute()
475 new URI[] {new URI(""), new URI("file:/c:/"), new URI("file:/c:/")}, // in testMakeAbsolute()
509 new URI[] {new URI("file:/a/b"), new URI("file:/a/x"), new URI("../b")}, in testMakeRelative()
516 new URI[] {new URI("file:/"), new URI("file:/"), new URI("")}, // in testMakeRelative()
533 new URI[] {new URI("file:/c:/a/b"), new URI("file:/c:/a/x"), new URI("../b")}, in testMakeRelative()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/filecache/
H A DTestURIFragments.java20 import java.net.URI;
36 assertFalse(DistributedCache.checkURIs(new URI[] { new URI( in testURIs()
39 new URI[] { new URI("file://foo/bar/myCacheArchive.txt") })); in testURIs()
46 assertFalse(DistributedCache.checkURIs(new URI[] { new URI( in testURIs()
47 "file://foo/bar/myCacheFile.txt") }, new URI[] { new URI( in testURIs()
57 assertFalse(DistributedCache.checkURIs(new URI[] { new URI( in testURIs()
58 "file://foo/bar/myCacheFile.txt#cache") }, new URI[] { new URI( in testURIs()
62 new URI("file://foo/bar/myCacheFile2.txt#file2") }, new URI[] { in testURIs()
67 new URI("file://foo/bar/myCacheFile2.txt#file") }, new URI[] { in testURIs()
72 new URI("file://foo/bar/myCacheFile2.txt#cache") }, new URI[] { in testURIs()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/testfiles/src/
H A Duri-test.cpp18 using Inkscape::URI;
32 ASSERT_ANY_THROW(URI(nullptr)); in TEST()
33 ASSERT_ANY_THROW(URI("nonhex-%XX")); in TEST()
38 ASSERT_STREQ(URI().getPath(), nullptr); in TEST()
63 ASSERT_EQ(URI().str(), ""); in TEST()
64 ASSERT_EQ(URI("").str(), ""); in TEST()
133 ASSERT_ANY_THROW(URI().getContents()); in TEST()
176 ASSERT_FALSE(URI().isOpaque()); in TEST()
191 ASSERT_TRUE(URI().isRelative()); in TEST()
207 ASSERT_FALSE(URI().isNetPath()); in TEST()
[all …]
/dports/lang/ruby26/ruby-2.6.9/test/uri/
H A Dtest_common.rb5 module URI module
18 URI.extract('http://example.com'))
20 URI.extract('(http://example.com)'))
37 assert_instance_of Regexp, URI.regexp
39 assert_equal URI.regexp, URI.regexp
44 assert_equal nil, ''.slice(URI.regexp)
45 assert_equal nil, 'xxxx'.slice(URI.regexp)
46 assert_equal nil, ':'.slice(URI.regexp)
94 URI.decode_www_form_component(
131 assert_equal('', URI.encode_www_form([]))
[all …]
H A Dtest_generic.rb8 @base_url = URI.parse(@url)
20 str = URI(exp).to_s
187 uri = URI.parse(url)
684 assert_equal(URI.parse('http://foo/bar'), URI.join('http://foo/bar'))
685 assert_equal(URI.parse('http://foo/bar'), URI.join('http://foo', 'bar'))
686 assert_equal(URI.parse('http://foo/bar/'), URI.join('http://foo', 'bar/'))
688 assert_equal(URI.parse('http://foo/baz'), URI.join('http://foo', 'bar', 'baz'))
689 assert_equal(URI.parse('http://foo/baz'), URI.join('http://foo', 'bar', '/baz'))
690 assert_equal(URI.parse('http://foo/baz/'), URI.join('http://foo', 'bar', '/baz/'))
691 assert_equal(URI.parse('http://foo/bar/baz'), URI.join('http://foo', 'bar/', 'baz'))
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/data/verify_certificate_chain_unittest/many-names/
H A Dok-all-types.pem59URI:http://test/0, URI:http://test/1, URI:http://test/2, URI:http://test/3, URI:http://test/4, URI
2077 URI:http://test/0
2078 URI:http://test/1
2079 URI:http://test/2
2080 URI:http://test/3
2081 URI:http://test/4
2082 URI:http://test/5
2083 URI:http://test/6
2084 URI:http://test/7
2085 URI:http://test/8
[all …]
H A Dok-different-types-ips.pem2331 URI:http://test/0
2332 URI:http://test/1
2333 URI:http://test/2
2334 URI:http://test/3
2335 URI:http://test/4
2336 URI:http://test/5
2337 URI:http://test/6
2338 URI:http://test/7
2339 URI:http://test/8
2340 URI:http://test/9
[all …]
H A Dok-different-types-dirnames.pem2607 URI:http://test/0
2608 URI:http://test/1
2609 URI:http://test/2
2610 URI:http://test/3
2611 URI:http://test/4
2612 URI:http://test/5
2613 URI:http://test/6
2614 URI:http://test/7
2615 URI:http://test/8
2616 URI:http://test/9
[all …]
H A Dok-different-types-dns.pem2436 URI:http://test/0
2437 URI:http://test/1
2438 URI:http://test/2
2439 URI:http://test/3
2440 URI:http://test/4
2441 URI:http://test/5
2442 URI:http://test/6
2443 URI:http://test/7
2444 URI:http://test/8
2445 URI:http://test/9
[all …]
/dports/net/p5-URI-db/URI-db-0.16/
H A DMETA.yml16 name: URI-db
21 URI::couch:
24 URI::couchdb:
27 URI::cubrid:
30 URI::db:
33 URI::db2:
36 URI::derby:
42 URI::hive:
66 URI::max:
93 URI::pg:
[all …]
H A DMANIFEST3 lib/URI/_db.pm
4 lib/URI/_odbc.pm
6 lib/URI/couch.pm
7 lib/URI/couchdb.pm
8 lib/URI/cubrid.pm
9 lib/URI/db.pm
10 lib/URI/db2.pm
11 lib/URI/derby.pm
13 lib/URI/hive.pm
21 lib/URI/max.pm
[all …]
/dports/net/p5-URI-Fast/URI-Fast-0.55/lib/URI/Fast/
H A DBenchmarks.pod3 URI::Fast::Benchmarks - comparing URI::Fast to other modules
11 Rate URI URI::Fast
18 Rate URI URI::Fast
25 Rate URI URI::Fast
32 Rate URI URI::Fast
39 Rate URI URI::Fast
46 Rate URI URI::Fast
53 Rate URI URI::Fast
60 Rate URI URI::Fast
67 Rate URI URI::Fast
[all …]
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/modern-uri-0.3.2.0/tests/Text/
H A DURISpec.hs18 import Text.URI (URI (..), RTextException (..), RTextLabel (..))
21 import qualified Text.URI as URI
51 URI.mkURI s `shouldThrow` (== URI.ParseException b)
54 URI.mkURI "" `shouldReturn` URI.emptyURI
57 URI.render URI.emptyURI `shouldBe` ""
59 URI.renderBs URI.emptyURI `shouldBe` ""
61 URI.renderStr URI.emptyURI `shouldBe` ""
232 (URI.render <$> URI.mkURI "https:/fir:st/se:cond")
236 (URI.render <$> URI.mkURI "//host/fir:st/se:cond")
294 return URI
[all …]
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/zaproxy/zap/spider/filters/
H A DHttpPrefixFetchFilterUnitTest.java45 URI prefixUri = new URI("example.org/", true); in shouldFailToCreateFetchFilterWithNoScheme()
53 URI prefixUri = new URI("ftp://example.org/", true); in shouldFailToCreateFetchFilterWithNonHttpOrHttpsScheme()
61 URI prefixUri = new URI("http://", true); in shouldFailToCreateFetchFilterWithNoHost()
69 URI prefixUri = new URI("http://a%0/", true); in shouldFailToCreateFetchFilterWithMalformedHost()
77 URI prefixUri = new URI("http://example.org", true); in shouldNotAddPathToNormalisedPrefixIfPrefixDoesNotHavePath()
178 URI uri = new URI("/path", true); in shouldFilterUriWithNoSchemeAsOutOfScope()
190 URI uri = new URI("ftp://example.org/", true); in shouldFilterUriWithNonHttpOrHttpsSchemeAsOutOfScope()
202 URI uri = new URI("http://", true); in shouldFilterUriWithNoHostAsOutOfScope()
214 URI uri = new URI("http://a%0/", true); in shouldFilterUriWithMalformedHostAsOutOfScope()
226 URI uri = new URI("https://example.org/", true); in shouldFilterUriWithDifferentSchemeAsOutOfScope()
[all …]
/dports/databases/tiledb/TileDB-2.5.2/tiledb/sm/misc/
H A Duri.cc53 URI::URI() { in URI() function in tiledb::sm::URI
57 URI::URI(char* path) in URI() function in tiledb::sm::URI
61 URI::URI(const char* path) in URI() function in tiledb::sm::URI
65 URI::URI(const std::string& path) { in URI() function in tiledb::sm::URI
71 URI::is_hdfs(path) || URI::is_s3(path) || URI::is_azure(path) || in URI()
72 URI::is_gcs(path) || URI::is_memfs(path) || URI::is_tiledb(path)) in URI()
78 URI::~URI() = default;
84 URI URI::add_trailing_slash() const { in add_trailing_slash()
94 URI URI::remove_trailing_slash() const { in remove_trailing_slash()
239 URI URI::parent() const { in parent()
[all …]
/dports/net/p5-URI/URI-5.10/xt/author/
H A D00-compile.t12 'URI.pm',
13 'URI/Escape.pm',
15 'URI/IRI.pm',
17 'URI/Split.pm',
18 'URI/URL.pm',
22 'URI/_idna.pm',
23 'URI/_ldap.pm',
30 'URI/data.pm',
31 'URI/file.pm',
39 'URI/ftp.pm',
[all …]
/dports/java/icedtea-web/icedtea-web-1.6.2/tests/netx/unit/net/sourceforge/jnlp/
H A DSecurityDescTest.java102 final URI codebase = new URI("http://example.com"); in testGetHostWithSpecifiedPort()
103 final URI expected = new URI("http://example.com:80"); in testGetHostWithSpecifiedPort()
109 final URI codebase = new URI("ftp://example.com"); in testGetHostWithSpecifiedPortWithFtpScheme()
110 final URI expected = new URI("ftp://example.com:80"); in testGetHostWithSpecifiedPortWithFtpScheme()
124 final URI expected = new URI("http://example.com:80"); in testGetHostWithSpecifiedPortWithPort()
131 final URI expected = new URI("http://example.com:80"); in testGetHostWithSpecifiedPortWithPath()
149 final URI codebase = new URI("http://example.com"); in testGetHost()
150 final URI expected = new URI("http://example.com"); in testGetHost()
156 final URI codebase = new URI("ftp://example.com"); in testGetHostWithFtpScheme()
157 final URI expected = new URI("ftp://example.com"); in testGetHostWithFtpScheme()
[all …]
/dports/lang/yap/yap-6.2.2/packages/clib/
H A Dtest_uri.pl22 uri_iri(URI, IRI),
23 uri_iri(URI, X).
35 uri_iri(URI, IRI).
38 uri_iri(URI, IRI).
40 test(resolve, URI == 'g:h') :- resolve('g:h', URI).
41 test(resolve, URI == 'http://a/b/c/g') :- resolve('g', URI).
42 test(resolve, URI == 'http://a/b/c/g') :- resolve('./g', URI).
44 test(resolve, URI == 'http://a/g') :- resolve('/g', URI).
45 test(resolve, URI == 'http://g') :- resolve('//g', URI).
55 test(resolve, URI == 'http://a/b/c/') :- resolve('.', URI).
[all …]
/dports/databases/tiledb/TileDB-2.5.2/test/src/
H A Dunit-uri.cc57 URI uri("file:///path");
64 uri = URI("file:///path/");
73 URI uri("file:///path");
80 uri = URI("file://path");
89 uri = URI("");
104 URI uri = URI("path1");
115 uri = URI(".");
121 URI uri = URI("file:///my/path");
150 uri = URI("C:\\my\\path");
227 URI uri("C:\\path");
[all …]
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/test/elixir/
H A Duri_test.exs6 doctest URI
11 assert URI.encode("\r\n&<%>\" ゆ", &URI.char_unreserved?/1) ==
97 assert URI.new("") == {:ok, %URI{}}
108 test "returns the given URI if a %URI{} struct is given" do
317 assert URI.to_string(URI.new!("//user:password@google.com/")) ==
342 assert URI.merge("http://example.com", URI.new!("/foo"))
354 assert URI.merge(base, %URI{fragment: "fragment"})
399 assert URI.merge(URI.new!(page_url), URI.new!(image_url)) |> to_string ==
407 assert URI.to_string(%URI{authority: "foo@example.com:80"}) ==
413 assert URI.to_string(%URI{
[all …]
/dports/lang/elixir/elixir-1.12.3/lib/elixir/test/elixir/
H A Duri_test.exs6 doctest URI
11 assert URI.encode("\r\n&<%>\" ゆ", &URI.char_unreserved?/1) ==
102 test "returns the given URI if a %URI{} struct is given" do
103 assert URI.parse(uri = %URI{scheme: "http", host: "foo.com"}) == uri
107 expected_uri = %URI{
123 expected_uri = %URI{
369 assert URI.to_string(URI.parse("gid:hello/123")) == "gid:hello/123"
371 assert URI.to_string(URI.parse("//user:password@google.com/")) ==
400 assert URI.merge("http://example.com", URI.parse("/foo"))
412 assert URI.merge(base, %URI{path: "", fragment: "fragment"})
[all …]
/dports/net/p5-URI/URI-5.10/
H A DMANIFEST12 lib/URI.pm
13 lib/URI/Escape.pm
15 lib/URI/IRI.pm
17 lib/URI/Split.pm
18 lib/URI/URL.pm
22 lib/URI/_idna.pm
23 lib/URI/_ldap.pm
30 lib/URI/data.pm
31 lib/URI/file.pm
39 lib/URI/ftp.pm
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/clib/
H A Dtest_uri.pl75 test(resolve, URI == 'g:h') :- resolve('g:h', URI).
76 test(resolve, URI == 'http://a/b/c/g') :- resolve('g', URI).
77 test(resolve, URI == 'http://a/b/c/g') :- resolve('./g', URI).
78 test(resolve, URI == 'http://a/b/c/g/') :- resolve('g/', URI).
79 test(resolve, URI == 'http://a/g') :- resolve('/g', URI).
81 test(resolve, URI == 'http://a/b/c/d;p?y') :- resolve('?y', URI).
83 test(resolve, URI == 'http://a/b/c/d;p?q#s') :- resolve('#s', URI).
86 test(resolve, URI == 'http://a/b/c/;x') :- resolve(';x', URI).
89 test(resolve, URI == 'http://a/b/c/d;p?q') :- resolve('', URI).
90 test(resolve, URI == 'http://a/b/c/') :- resolve('.', URI).
[all …]
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/
H A Dtest_uri.cpp20 Botan::URI uri(Botan::URI::Type::Domain, "localhost", 80); in test_uri_ctor()
31 …result.test_eq("domain", Botan::URI(Botan::URI::Type::Domain, "localhost", 80).to_string(), "local… in test_uri_tostring()
32 …result.test_eq("IPv4", Botan::URI(Botan::URI::Type::IPv4, "192.168.1.1", 80).to_string(), "192.168… in test_uri_tostring()
33 … result.test_eq("IPv6", Botan::URI(Botan::URI::Type::IPv6, "::1", 80).to_string(), "[::1]:80"); in test_uri_tostring()
34 … result.test_eq("IPv6 no port", Botan::URI(Botan::URI::Type::IPv6, "::1", 0).to_string(), "::1"); in test_uri_tostring()
35 … result.test_throws("invalid", []() {Botan::URI(Botan::URI::Type::NotSet, "", 0).to_string();}); in test_uri_tostring()
47 Botan::URI::Type type; in test_uri_factories()
71 if(t.type!=Botan::URI::Type::IPv4) in test_uri_factories()
73 if(t.type!=Botan::URI::Type::IPv6) in test_uri_factories()
75 if(t.type!=Botan::URI::Type::Domain) in test_uri_factories()
[all …]
/dports/security/botan2/Botan-2.18.2/src/tests/
H A Dtest_uri.cpp20 Botan::URI uri(Botan::URI::Type::Domain, "localhost", 80); in test_uri_ctor()
31 …result.test_eq("domain", Botan::URI(Botan::URI::Type::Domain, "localhost", 80).to_string(), "local… in test_uri_tostring()
32 …result.test_eq("IPv4", Botan::URI(Botan::URI::Type::IPv4, "192.168.1.1", 80).to_string(), "192.168… in test_uri_tostring()
33 … result.test_eq("IPv6", Botan::URI(Botan::URI::Type::IPv6, "::1", 80).to_string(), "[::1]:80"); in test_uri_tostring()
34 … result.test_eq("IPv6 no port", Botan::URI(Botan::URI::Type::IPv6, "::1", 0).to_string(), "::1"); in test_uri_tostring()
35 … result.test_throws("invalid", []() {Botan::URI(Botan::URI::Type::NotSet, "", 0).to_string();}); in test_uri_tostring()
47 Botan::URI::Type type; in test_uri_factories()
71 if(t.type!=Botan::URI::Type::IPv4) in test_uri_factories()
73 if(t.type!=Botan::URI::Type::IPv6) in test_uri_factories()
75 if(t.type!=Botan::URI::Type::Domain) in test_uri_factories()
[all …]

12345678910>>...396