ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
URITest Class Reference
+ Inheritance diagram for URITest:
+ Collaboration diagram for URITest:

Public Member Functions

 test_init ()
 
 test_ipv4 ()
 test_init More...
 
 test_localhost ()
 test_init More...
 
 test_components ($uri)
 test_init More...
 
 test_base_uri ($uri)
 test_init More...
 
 test_base_uri_idempotent ($uri)
 test_init More...
 
 test_no_path ()
 test_init More...
 
 test_no_query ()
 test_init More...
 
 test_authority_and_query ()
 test_init More...
 
 test_authority_and_fragment ()
 test_init More...
 
 test_authority_path_fragment ()
 test_init More...
 
 test_path ()
 test_init More...
 
 test_authority_only ()
 test_init More...
 
 test_no_schema ()
 test_init More...
 
 test_no_authority ()
 test_init More...
 
 test_wrong_char_in_schema ()
 test_init More...
 
 test_wrong_authority_in_schema_1 ()
 test_init More...
 
 test_wrong_authority_in_schema_2 ()
 test_init More...
 
 test_uri_invalid ()
 test_init More...
 
 test_fakepcenc ()
 test_init More...
 
 test_alphadigit_start_host ()
 test_init More...
 
 test_alphadigit_start_host_2 ()
 test_init More...
 
 test_alphadigit_start_host_3 ()
 test_init More...
 
 test_alphadigit_start_host_4 ()
 test_init More...
 
 test_alphadigit_start_host_5 ()
 test_init More...
 
 test_with_schema ($uri)
 test_init More...
 
 test_with_schema_invalid_1 ()
 test_with_schema More...
 
 test_with_schema_invalid_2 ()
 test_with_schema More...
 
 test_with_port ($uri)
 test_init More...
 
 test_with_port_invalid_1 ()
 test_with_port More...
 
 test_with_port_invalid_2 ()
 test_with_port More...
 
 test_with_host ($uri)
 test_init More...
 
 test_with_host_invalid_1 ()
 test_with_host More...
 
 test_with_host_invalid_2 ()
 test_with_host More...
 
 test_with_host_invalid_3 ()
 test_with_host More...
 
 test_with_host_invalid_4 ()
 test_with_host More...
 
 test_with_authority ($uri)
 test_init More...
 
 test_with_authority_invalid_1 ()
 test_with_authority More...
 
 test_with_authority_invalid_2 ()
 test_with_authority More...
 
 test_with_authority_invalid_3 ()
 test_with_authority More...
 
 test_with_authority_invalid_4 ()
 test_with_authority More...
 
 test_with_authority_invalid_5 ()
 test_with_authority More...
 
 test_with_authority_invalid_6 ()
 test_with_authority More...
 
 test_with_authority_invalid_7 ()
 test_with_authority More...
 
 test_with_authority_invalid_8 ()
 test_with_authority More...
 
 test_with_path ($uri)
 test_init More...
 
 test_with_path_invalid_1 ()
 test_with_path More...
 
 test_with_path_invalid_2 ()
 test_with_path More...
 
 test_with_path_invalid_3 ()
 test_with_path More...
 
 test_with_query ($uri)
 test_init More...
 
 test_with_query_invalid_1 ()
 test_with_query More...
 
 test_with_query_invalid_2 ()
 test_with_query More...
 
 test_with_fragment ($uri)
 test_init More...
 
 test_with_fragment_invalid_1 ()
 test_with_fragment More...
 
 test_with_fragment_invalid_2 ()
 test_with_fragment More...
 

Data Fields

const URI_COMPLETE = 'g+it://github.com:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_COMPLETE_IPV4 = 'g+it://10.0.0.86:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_COMPLETE_LOCALHOST = 'g+it://localhost:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_NO_PATH_1 = 'g-it://ilias%2Da.de:8080?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_NO_PATH_2 = 'g.it://amaz;on.co.uk:8080/?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_NO_QUERY_1 = 'git://one-letter-top-level.a:8080/someaccount/somerepo/somerepo.git/#fragment'
 
const URI_NO_QUERY_2 = 'git://github.com:8080/someaccount/somerepo/somerepo.git#fragment'
 
const URI_AUTHORITY_AND_QUERY_1 = 'git://github.com?query_p$,;:A!\'*+()ar_1=val_1&quer?y_par_2=val_2'
 
const URI_AUTHORITY_AND_QUERY_2 = 'git://github.com/?qu/ery_p$,;:A!\'*+()ar_1=val_1&quer?y_par_2=val_2'
 
const URI_AUTHORITY_AND_FRAGMENT = 'git://github.com:8080/#fragment$,;:A!\'*+()ar_1=val_1&'
 
const URI_AUTHORITY_PATH_FRAGMENT = 'git://git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git#frag:A!\'*+()arment'
 
const URI_PATH = 'git://git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git/'
 
const URI_AUTHORITY_ONLY = 'git://git$,;hub.com'
 
const URI_NO_SCHEMA = 'git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git/'
 
const URI_NO_AUTHORITY = 'git://:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_WRONG_SCHEMA = 'gi$t://git$,;hub.com'
 
const URI_WRONG_AUTHORITY_1 = 'git://git$,;hu<b.com:8080/someacc$,;ount/somerepo/somerepo.git/'
 
const URI_WRONG_AUTHORITY_2 = 'git://git$,;hu=b.com/someacc$,;ount/somerepo/somerepo.git/'
 
const URI_INVALID = 'https://host.de/ilias.php/"><script>alert(1)</script>?baseClass=ilObjChatroomGUI&cmd=getOSDNotifications&cmdMode=asynch&max_age=15192913'
 
const URI_FAKEPCENC = 'g+it://github.com:8080/someaccoun%t/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'
 
const URI_HOST_ALPHADIG_START_1 = 'g+it://-github.com:8080/someaccount'
 
const URI_HOST_ALPHADIG_START_2 = 'g+it://github-.com:8080/someaccount'
 
const URI_HOST_ALPHADIG_START_3 = 'http://.'
 
const URI_HOST_ALPHADIG_START_4 = 'http://../'
 
const URI_HOST_ALPHADIG_START_5 = 'http://-error-.invalid/'
 

Detailed Description

Definition at line 6 of file URITest.php.

Member Function Documentation

◆ test_alphadigit_start_host()

URITest::test_alphadigit_start_host ( )

test_init

Definition at line 339 of file URITest.php.

340  {
341  new ILIAS\Data\URI(self::URI_HOST_ALPHADIG_START_1);
342  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_alphadigit_start_host_2()

URITest::test_alphadigit_start_host_2 ( )

test_init

Definition at line 348 of file URITest.php.

349  {
350  new ILIAS\Data\URI(self::URI_HOST_ALPHADIG_START_2);
351  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_alphadigit_start_host_3()

URITest::test_alphadigit_start_host_3 ( )

test_init

Definition at line 357 of file URITest.php.

358  {
359  new ILIAS\Data\URI(self::URI_HOST_ALPHADIG_START_3);
360  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_alphadigit_start_host_4()

URITest::test_alphadigit_start_host_4 ( )

test_init

Definition at line 366 of file URITest.php.

367  {
368  new ILIAS\Data\URI(self::URI_HOST_ALPHADIG_START_4);
369  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_alphadigit_start_host_5()

URITest::test_alphadigit_start_host_5 ( )

test_init

Definition at line 375 of file URITest.php.

376  {
377  new ILIAS\Data\URI(self::URI_HOST_ALPHADIG_START_5);
378  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_authority_and_fragment()

URITest::test_authority_and_fragment ( )

test_init

Definition at line 214 of file URITest.php.

215  {
216  $uri = new ILIAS\Data\URI(self::URI_AUTHORITY_AND_FRAGMENT);
217  $this->assertEquals($uri->schema(), 'git');
218  $this->assertEquals($uri->authority(), 'github.com:8080');
219  $this->assertEquals($uri->host(), 'github.com');
220  $this->assertEquals($uri->port(), '8080');
221  $this->assertNull($uri->path());
222  $this->assertNull($uri->query());
223  $this->assertEquals($uri->fragment(), 'fragment$,;:A!\'*+()ar_1=val_1&');
224  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_authority_and_query()

URITest::test_authority_and_query ( )

test_init

Definition at line 190 of file URITest.php.

191  {
192  $uri = new ILIAS\Data\URI(self::URI_AUTHORITY_AND_QUERY_1);
193  $this->assertEquals($uri->schema(), 'git');
194  $this->assertEquals($uri->authority(), 'github.com');
195  $this->assertEquals($uri->host(), 'github.com');
196  $this->assertNull($uri->port());
197  $this->assertNull($uri->path());
198  $this->assertEquals($uri->query(), 'query_p$,;:A!\'*+()ar_1=val_1&quer?y_par_2=val_2');
199  $this->assertNull($uri->fragment());
200 
201  $uri = new ILIAS\Data\URI(self::URI_AUTHORITY_AND_QUERY_2);
202  $this->assertEquals($uri->schema(), 'git');
203  $this->assertEquals($uri->authority(), 'github.com');
204  $this->assertEquals($uri->host(), 'github.com');
205  $this->assertNull($uri->port());
206  $this->assertNull($uri->path());
207  $this->assertEquals($uri->query(), 'qu/ery_p$,;:A!\'*+()ar_1=val_1&quer?y_par_2=val_2');
208  $this->assertNull($uri->fragment());
209  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_authority_only()

URITest::test_authority_only ( )

test_init

Definition at line 259 of file URITest.php.

260  {
261  $uri = new ILIAS\Data\URI(self::URI_AUTHORITY_ONLY);
262  $this->assertEquals($uri->schema(), 'git');
263  $this->assertEquals($uri->authority(), 'git$,;hub.com');
264  $this->assertEquals($uri->host(), 'git$,;hub.com');
265  $this->assertNull($uri->port());
266  $this->assertNull($uri->path());
267  $this->assertNull($uri->query());
268  $this->assertNull($uri->fragment());
269  $this->assertEquals($uri->baseURI(), 'git://git$,;hub.com');
270  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_authority_path_fragment()

URITest::test_authority_path_fragment ( )

test_init

Definition at line 228 of file URITest.php.

229  {
230  $uri = new ILIAS\Data\URI(self::URI_AUTHORITY_PATH_FRAGMENT);
231  $this->assertEquals($uri->schema(), 'git');
232  $this->assertEquals($uri->authority(), 'git$,;hub.com:8080');
233  $this->assertEquals($uri->host(), 'git$,;hub.com');
234  $this->assertEquals($uri->port(), '8080');
235  $this->assertEquals($uri->path(), 'someacc$,;ount/somerepo/somerepo.git');
236  $this->assertNull($uri->query());
237  $this->assertEquals($uri->fragment(), 'frag:A!\'*+()arment');
238  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_base_uri()

URITest::test_base_uri (   $uri)

test_init

Definition at line 107 of file URITest.php.

108  {
109  $this->assertEquals($uri->baseURI(), 'g+it://github.com:8080/someaccount/somerepo/somerepo.git');
110  }

◆ test_base_uri_idempotent()

URITest::test_base_uri_idempotent (   $uri)

test_init

Definition at line 115 of file URITest.php.

116  {
117  $base_uri = $uri->baseURI();
118  $this->assertEquals($base_uri, 'g+it://github.com:8080/someaccount/somerepo/somerepo.git');
119  $this->assertEquals($uri->schema(), 'g+it');
120  $this->assertEquals($uri->authority(), 'github.com:8080');
121  $this->assertEquals($uri->host(), 'github.com');
122  $this->assertEquals($uri->port(), '8080');
123  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
124  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
125  $this->assertEquals($uri->fragment(), 'fragment');
126 
127  $uri = new ILIAS\Data\URI($base_uri);
128  $this->assertEquals($base_uri, $uri->baseURI());
129  $this->assertEquals($uri->schema(), 'g+it');
130  $this->assertEquals($uri->authority(), 'github.com:8080');
131  $this->assertEquals($uri->host(), 'github.com');
132  $this->assertEquals($uri->port(), '8080');
133  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
134  $this->assertNull($uri->query());
135  $this->assertNull($uri->fragment());
136  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_components()

URITest::test_components (   $uri)

test_init

Definition at line 93 of file URITest.php.

94  {
95  $this->assertEquals($uri->schema(), 'g+it');
96  $this->assertEquals($uri->authority(), 'github.com:8080');
97  $this->assertEquals($uri->host(), 'github.com');
98  $this->assertEquals($uri->port(), '8080');
99  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
100  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
101  $this->assertEquals($uri->fragment(), 'fragment');
102  }

◆ test_fakepcenc()

URITest::test_fakepcenc ( )

test_init

Definition at line 330 of file URITest.php.

331  {
332  new ILIAS\Data\URI(self::URI_FAKEPCENC);
333  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_init()

URITest::test_init ( )

Definition at line 53 of file URITest.php.

54  {
55  return new ILIAS\Data\URI(self::URI_COMPLETE);
56  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_ipv4()

URITest::test_ipv4 ( )

test_init

Definition at line 61 of file URITest.php.

62  {
63  $uri = new ILIAS\Data\URI(self::URI_COMPLETE_IPV4);
64  $this->assertEquals($uri->schema(), 'g+it');
65  $this->assertEquals($uri->authority(), '10.0.0.86:8080');
66  $this->assertEquals($uri->host(), '10.0.0.86');
67  $this->assertEquals($uri->port(), 8080);
68  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
69  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
70  $this->assertEquals($uri->fragment(), 'fragment');
71  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_localhost()

URITest::test_localhost ( )

test_init

Definition at line 77 of file URITest.php.

78  {
79  $uri = new ILIAS\Data\URI(self::URI_COMPLETE_LOCALHOST);
80  $this->assertEquals($uri->schema(), 'g+it');
81  $this->assertEquals($uri->authority(), 'localhost:8080');
82  $this->assertEquals($uri->host(), 'localhost');
83  $this->assertEquals($uri->port(), 8080);
84  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
85  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
86  $this->assertEquals($uri->fragment(), 'fragment');
87  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_no_authority()

URITest::test_no_authority ( )

test_init

Definition at line 285 of file URITest.php.

286  {
287  new ILIAS\Data\URI(self::URI_NO_AUTHORITY);
288  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_no_path()

URITest::test_no_path ( )

test_init

Definition at line 142 of file URITest.php.

143  {
144  $uri = new ILIAS\Data\URI(self::URI_NO_PATH_1);
145  $this->assertEquals($uri->schema(), 'g-it');
146  $this->assertEquals($uri->authority(), 'ilias%2Da.de:8080');
147  $this->assertEquals($uri->host(), 'ilias%2Da.de');
148  $this->assertEquals($uri->port(), '8080');
149  $this->assertNull($uri->path());
150  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
151  $this->assertEquals($uri->fragment(), 'fragment');
152 
153  $uri = new ILIAS\Data\URI(self::URI_NO_PATH_2);
154  $this->assertEquals($uri->schema(), 'g.it');
155  $this->assertEquals($uri->authority(), 'amaz;on.co.uk:8080');
156  $this->assertEquals($uri->host(), 'amaz;on.co.uk');
157  $this->assertEquals($uri->port(), '8080');
158  $this->assertNull($uri->path());
159  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
160  $this->assertEquals($uri->fragment(), 'fragment');
161  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_no_query()

URITest::test_no_query ( )

test_init

Definition at line 166 of file URITest.php.

167  {
168  $uri = new ILIAS\Data\URI(self::URI_NO_QUERY_1);
169  $this->assertEquals($uri->schema(), 'git');
170  $this->assertEquals($uri->authority(), 'one-letter-top-level.a:8080');
171  $this->assertEquals($uri->host(), 'one-letter-top-level.a');
172  $this->assertEquals($uri->port(), '8080');
173  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
174  $this->assertNull($uri->query());
175  $this->assertEquals($uri->fragment(), 'fragment');
176 
177  $uri = new ILIAS\Data\URI(self::URI_NO_QUERY_2);
178  $this->assertEquals($uri->schema(), 'git');
179  $this->assertEquals($uri->authority(), 'github.com:8080');
180  $this->assertEquals($uri->host(), 'github.com');
181  $this->assertEquals($uri->port(), '8080');
182  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
183  $this->assertNull($uri->query());
184  $this->assertEquals($uri->fragment(), 'fragment');
185  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_no_schema()

URITest::test_no_schema ( )

test_init

Definition at line 276 of file URITest.php.

277  {
278  new ILIAS\Data\URI(self::URI_NO_SCHEMA);
279  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_path()

URITest::test_path ( )

test_init

Definition at line 243 of file URITest.php.

244  {
245  $uri = new ILIAS\Data\URI(self::URI_PATH);
246  $this->assertEquals($uri->schema(), 'git');
247  $this->assertEquals($uri->authority(), 'git$,;hub.com:8080');
248  $this->assertEquals($uri->host(), 'git$,;hub.com');
249  $this->assertEquals($uri->port(), '8080');
250  $this->assertEquals($uri->path(), 'someacc$,;ount/somerepo/somerepo.git');
251  $this->assertNull($uri->query());
252  $this->assertNull($uri->fragment());
253  $this->assertEquals($uri->baseURI(), 'git://git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git');
254  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_uri_invalid()

URITest::test_uri_invalid ( )

test_init

Definition at line 321 of file URITest.php.

322  {
323  new ILIAS\Data\URI(self::URI_INVALID);
324  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority()

URITest::test_with_authority (   $uri)

test_init

Definition at line 540 of file URITest.php.

541  {
542  $this->assertEquals($uri->schema(), 'g+it');
543  $this->assertEquals($uri->authority(), 'github.com:8080');
544  $this->assertEquals($uri->host(), 'github.com');
545  $this->assertEquals($uri->port(), '8080');
546  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
547  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
548  $this->assertEquals($uri->fragment(), 'fragment');
549  $uri = $uri->withAuthority('www1.ilias.de');
550  $this->assertEquals($uri->schema(), 'g+it');
551  $this->assertEquals($uri->authority(), 'www1.ilias.de');
552  $this->assertEquals($uri->host(), 'www1.ilias.de');
553  $this->assertNull($uri->port());
554  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
555  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
556  $this->assertEquals($uri->fragment(), 'fragment');
557  $uri = $uri->withAuthority('ilias.de:80');
558  $this->assertEquals($uri->schema(), 'g+it');
559  $this->assertEquals($uri->authority(), 'ilias.de:80');
560  $this->assertEquals($uri->host(), 'ilias.de');
561  $this->assertEquals($uri->port(), '80');
562  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
563  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
564  $this->assertEquals($uri->fragment(), 'fragment');
565  $uri = $uri->withAuthority('a:1');
566  $this->assertEquals($uri->schema(), 'g+it');
567  $this->assertEquals($uri->authority(), 'a:1');
568  $this->assertEquals($uri->host(), 'a');
569  $this->assertEquals($uri->port(), 1);
570  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
571  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
572  $this->assertEquals($uri->fragment(), 'fragment');
573  $uri = $uri->withAuthority('a');
574  $this->assertEquals($uri->schema(), 'g+it');
575  $this->assertEquals($uri->authority(), 'a');
576  $this->assertEquals($uri->host(), 'a');
577  $this->assertNull($uri->port());
578  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
579  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
580  $this->assertEquals($uri->fragment(), 'fragment');
581  $uri = $uri->withAuthority('1.2.3.4');
582  $this->assertEquals($uri->schema(), 'g+it');
583  $this->assertEquals($uri->authority(), '1.2.3.4');
584  $this->assertEquals($uri->host(), '1.2.3.4');
585  $this->assertNull($uri->port());
586  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
587  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
588  $this->assertEquals($uri->fragment(), 'fragment');
589  $uri = $uri->withAuthority('1.2.3.4:5');
590  $this->assertEquals($uri->schema(), 'g+it');
591  $this->assertEquals($uri->authority(), '1.2.3.4:5');
592  $this->assertEquals($uri->host(), '1.2.3.4');
593  $this->assertEquals($uri->port(), 5);
594  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
595  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
596  $this->assertEquals($uri->fragment(), 'fragment');
597  $uri = $uri->withAuthority('localhost1');
598  $this->assertEquals($uri->schema(), 'g+it');
599  $this->assertEquals($uri->authority(), 'localhost1');
600  $this->assertEquals($uri->host(), 'localhost1');
601  $this->assertNull($uri->port());
602  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
603  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
604  $this->assertEquals($uri->fragment(), 'fragment');
605  $uri = $uri->withAuthority('localhost1:10');
606  $this->assertEquals($uri->schema(), 'g+it');
607  $this->assertEquals($uri->authority(), 'localhost1:10');
608  $this->assertEquals($uri->host(), 'localhost1');
609  $this->assertEquals($uri->port(), 10);
610  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
611  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
612  $this->assertEquals($uri->fragment(), 'fragment');
613  }

◆ test_with_authority_invalid_1()

URITest::test_with_authority_invalid_1 ( )

test_with_authority

Definition at line 619 of file URITest.php.

620  {
621  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
622  $uri->withAuthority('-foo-.de');
623  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_2()

URITest::test_with_authority_invalid_2 ( )

test_with_authority

Definition at line 629 of file URITest.php.

630  {
631  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
632  $uri->withHost(null);
633  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_3()

URITest::test_with_authority_invalid_3 ( )

test_with_authority

Definition at line 640 of file URITest.php.

641  {
642  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
643  $uri->withHost('ilias.de:');
644  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_4()

URITest::test_with_authority_invalid_4 ( )

test_with_authority

Definition at line 650 of file URITest.php.

651  {
652  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
653  $uri->withHost('ilias.de: ');
654  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_5()

URITest::test_with_authority_invalid_5 ( )

test_with_authority

Definition at line 660 of file URITest.php.

661  {
662  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
663  $uri->withHost('ilias.de:aaa');
664  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_6()

URITest::test_with_authority_invalid_6 ( )

test_with_authority

Definition at line 670 of file URITest.php.

671  {
672  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
673  $uri->withAuthority('foo.de&<script>');
674  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_7()

URITest::test_with_authority_invalid_7 ( )

test_with_authority

Definition at line 681 of file URITest.php.

682  {
683  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
684  $uri->withAuthority('foo.de"><script>alert');
685  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_authority_invalid_8()

URITest::test_with_authority_invalid_8 ( )

test_with_authority

Definition at line 692 of file URITest.php.

693  {
694  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
695  $uri->withAuthority(' :80');
696  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_fragment()

URITest::test_with_fragment (   $uri)

test_init

Definition at line 811 of file URITest.php.

812  {
813  $this->assertEquals($uri->schema(), 'g+it');
814  $this->assertEquals($uri->authority(), 'github.com:8080');
815  $this->assertEquals($uri->host(), 'github.com');
816  $this->assertEquals($uri->port(), '8080');
817  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
818  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
819  $this->assertEquals($uri->fragment(), 'fragment');
820  $uri = $uri->withFragment('someFragment');
821  $this->assertEquals($uri->schema(), 'g+it');
822  $this->assertEquals($uri->authority(), 'github.com:8080');
823  $this->assertEquals($uri->host(), 'github.com');
824  $this->assertEquals($uri->port(), '8080');
825  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
826  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
827  $this->assertEquals($uri->fragment(), 'someFragment');
828  $uri = $uri->withFragment();
829  $this->assertEquals($uri->schema(), 'g+it');
830  $this->assertEquals($uri->authority(), 'github.com:8080');
831  $this->assertEquals($uri->host(), 'github.com');
832  $this->assertEquals($uri->port(), '8080');
833  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
834  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
835  $this->assertNull($uri->fragment());
836  }

◆ test_with_fragment_invalid_1()

URITest::test_with_fragment_invalid_1 ( )

test_with_fragment

Definition at line 842 of file URITest.php.

843  {
844  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
845  $uri->withFragment('aaa[]');
846  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_fragment_invalid_2()

URITest::test_with_fragment_invalid_2 ( )

test_with_fragment

Definition at line 852 of file URITest.php.

853  {
854  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
855  $uri->withFragment('script>');
856  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_host()

URITest::test_with_host (   $uri)

test_init

Definition at line 476 of file URITest.php.

477  {
478  $this->assertEquals($uri->schema(), 'g+it');
479  $this->assertEquals($uri->authority(), 'github.com:8080');
480  $this->assertEquals($uri->host(), 'github.com');
481  $this->assertEquals($uri->port(), '8080');
482  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
483  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
484  $this->assertEquals($uri->fragment(), 'fragment');
485  $uri = $uri->withHost('ilias.de');
486  $this->assertEquals($uri->schema(), 'g+it');
487  $this->assertEquals($uri->authority(), 'ilias.de:8080');
488  $this->assertEquals($uri->host(), 'ilias.de');
489  $this->assertEquals($uri->port(), '8080');
490  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
491  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
492  $this->assertEquals($uri->fragment(), 'fragment');
493  }

◆ test_with_host_invalid_1()

URITest::test_with_host_invalid_1 ( )

test_with_host

Definition at line 500 of file URITest.php.

501  {
502  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
503  $uri->withHost('-foo-.de');
504  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_host_invalid_2()

URITest::test_with_host_invalid_2 ( )

test_with_host

Definition at line 510 of file URITest.php.

511  {
512  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
513  $uri->withHost(null);
514  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_host_invalid_3()

URITest::test_with_host_invalid_3 ( )

test_with_host

Definition at line 521 of file URITest.php.

522  {
523  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
524  $uri->withHost('');
525  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_host_invalid_4()

URITest::test_with_host_invalid_4 ( )

test_with_host

Definition at line 531 of file URITest.php.

532  {
533  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
534  $uri->withHost('ilias.de"><script');
535  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_path()

URITest::test_with_path (   $uri)

test_init

Definition at line 701 of file URITest.php.

702  {
703  $this->assertEquals($uri->schema(), 'g+it');
704  $this->assertEquals($uri->authority(), 'github.com:8080');
705  $this->assertEquals($uri->host(), 'github.com');
706  $this->assertEquals($uri->port(), '8080');
707  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
708  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
709  $this->assertEquals($uri->fragment(), 'fragment');
710  $uri = $uri->withPath('a/b');
711  $this->assertEquals($uri->schema(), 'g+it');
712  $this->assertEquals($uri->authority(), 'github.com:8080');
713  $this->assertEquals($uri->host(), 'github.com');
714  $this->assertEquals($uri->port(), '8080');
715  $this->assertEquals($uri->path(), 'a/b');
716  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
717  $this->assertEquals($uri->fragment(), 'fragment');
718  $uri = $uri->withPath();
719  $this->assertEquals($uri->schema(), 'g+it');
720  $this->assertEquals($uri->authority(), 'github.com:8080');
721  $this->assertEquals($uri->host(), 'github.com');
722  $this->assertEquals($uri->port(), '8080');
723  $this->assertNull($uri->path());
724  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
725  $this->assertEquals($uri->fragment(), 'fragment');
726  }

◆ test_with_path_invalid_1()

URITest::test_with_path_invalid_1 ( )

test_with_path

Definition at line 732 of file URITest.php.

733  {
734  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
735  $uri->withPath('/<script>/a');
736  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_path_invalid_2()

URITest::test_with_path_invalid_2 ( )

test_with_path

Definition at line 742 of file URITest.php.

743  {
744  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
745  $uri->withPath('//a/b');
746  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_path_invalid_3()

URITest::test_with_path_invalid_3 ( )

test_with_path

Definition at line 752 of file URITest.php.

753  {
754  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
755  $uri->withPath(':a/b');
756  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_port()

URITest::test_with_port (   $uri)

test_init

Definition at line 425 of file URITest.php.

426  {
427  $this->assertEquals($uri->schema(), 'g+it');
428  $this->assertEquals($uri->authority(), 'github.com:8080');
429  $this->assertEquals($uri->host(), 'github.com');
430  $this->assertEquals($uri->port(), '8080');
431  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
432  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
433  $this->assertEquals($uri->fragment(), 'fragment');
434  $uri = $uri->withPort(80);
435  $this->assertEquals($uri->schema(), 'g+it');
436  $this->assertEquals($uri->authority(), 'github.com:80');
437  $this->assertEquals($uri->host(), 'github.com');
438  $this->assertEquals($uri->port(), '80');
439  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
440  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
441  $this->assertEquals($uri->fragment(), 'fragment');
442  $uri = $uri->withPort();
443  $this->assertEquals($uri->schema(), 'g+it');
444  $this->assertEquals($uri->authority(), 'github.com');
445  $this->assertEquals($uri->host(), 'github.com');
446  $this->assertNull($uri->port());
447  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
448  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
449  $this->assertEquals($uri->fragment(), 'fragment');
450  }

◆ test_with_port_invalid_1()

URITest::test_with_port_invalid_1 ( )

test_with_port

Definition at line 457 of file URITest.php.

458  {
459  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
460  $uri->withPort('a111');
461  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_port_invalid_2()

URITest::test_with_port_invalid_2 ( )

test_with_port

Definition at line 467 of file URITest.php.

468  {
469  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
470  $uri->withPort('foo');
471  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_query()

URITest::test_with_query (   $uri)

test_init

Definition at line 761 of file URITest.php.

762  {
763  $this->assertEquals($uri->schema(), 'g+it');
764  $this->assertEquals($uri->authority(), 'github.com:8080');
765  $this->assertEquals($uri->host(), 'github.com');
766  $this->assertEquals($uri->port(), '8080');
767  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
768  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
769  $this->assertEquals($uri->fragment(), 'fragment');
770  $uri = $uri->withQuery('query_par_a1=val_a1');
771  $this->assertEquals($uri->schema(), 'g+it');
772  $this->assertEquals($uri->authority(), 'github.com:8080');
773  $this->assertEquals($uri->host(), 'github.com');
774  $this->assertEquals($uri->port(), '8080');
775  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
776  $this->assertEquals($uri->query(), 'query_par_a1=val_a1');
777  $this->assertEquals($uri->fragment(), 'fragment');
778  $uri = $uri->withQuery();
779  $this->assertEquals($uri->schema(), 'g+it');
780  $this->assertEquals($uri->authority(), 'github.com:8080');
781  $this->assertEquals($uri->host(), 'github.com');
782  $this->assertEquals($uri->port(), '8080');
783  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
784  $this->assertNull($uri->query());
785  $this->assertEquals($uri->fragment(), 'fragment');
786  }

◆ test_with_query_invalid_1()

URITest::test_with_query_invalid_1 ( )

test_with_query

Definition at line 792 of file URITest.php.

793  {
794  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
795  $uri->withQuery('<script>a');
796  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_query_invalid_2()

URITest::test_with_query_invalid_2 ( )

test_with_query

Definition at line 802 of file URITest.php.

803  {
804  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
805  $uri->withQuery('aa[]');
806  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_schema()

URITest::test_with_schema (   $uri)

test_init

Definition at line 383 of file URITest.php.

384  {
385  $this->assertEquals($uri->schema(), 'g+it');
386  $this->assertEquals($uri->authority(), 'github.com:8080');
387  $this->assertEquals($uri->host(), 'github.com');
388  $this->assertEquals($uri->port(), '8080');
389  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
390  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
391  $this->assertEquals($uri->fragment(), 'fragment');
392  $uri = $uri->withSchema('http');
393  $this->assertEquals($uri->schema(), 'http');
394  $this->assertEquals($uri->authority(), 'github.com:8080');
395  $this->assertEquals($uri->host(), 'github.com');
396  $this->assertEquals($uri->port(), '8080');
397  $this->assertEquals($uri->path(), 'someaccount/somerepo/somerepo.git');
398  $this->assertEquals($uri->query(), 'query_par_1=val_1&query_par_2=val_2');
399  $this->assertEquals($uri->fragment(), 'fragment');
400  }

◆ test_with_schema_invalid_1()

URITest::test_with_schema_invalid_1 ( )

test_with_schema

Definition at line 406 of file URITest.php.

407  {
408  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
409  $uri->withSchema('');
410  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_with_schema_invalid_2()

URITest::test_with_schema_invalid_2 ( )

test_with_schema

Definition at line 416 of file URITest.php.

417  {
418  $uri = new ILIAS\Data\URI(self::URI_COMPLETE);
419  $uri->withSchema('1aa');
420  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_wrong_authority_in_schema_1()

URITest::test_wrong_authority_in_schema_1 ( )

test_init

Definition at line 303 of file URITest.php.

304  {
305  new ILIAS\Data\URI(self::URI_WRONG_AUTHORITY_1);
306  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_wrong_authority_in_schema_2()

URITest::test_wrong_authority_in_schema_2 ( )

test_init

Definition at line 312 of file URITest.php.

313  {
314  new ILIAS\Data\URI(self::URI_WRONG_AUTHORITY_2);
315  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

◆ test_wrong_char_in_schema()

URITest::test_wrong_char_in_schema ( )

test_init

Definition at line 294 of file URITest.php.

295  {
296  new ILIAS\Data\URI(self::URI_WRONG_SCHEMA);
297  }
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17

Field Documentation

◆ URI_AUTHORITY_AND_FRAGMENT

const URITest::URI_AUTHORITY_AND_FRAGMENT = 'git://github.com:8080/#fragment$,;:A!\'*+()ar_1=val_1&'

Definition at line 24 of file URITest.php.

◆ URI_AUTHORITY_AND_QUERY_1

const URITest::URI_AUTHORITY_AND_QUERY_1 = 'git://github.com?query_p$,;:A!\'*+()ar_1=val_1&quer?y_par_2=val_2'

Definition at line 21 of file URITest.php.

◆ URI_AUTHORITY_AND_QUERY_2

const URITest::URI_AUTHORITY_AND_QUERY_2 = 'git://github.com/?qu/ery_p$,;:A!\'*+()ar_1=val_1&quer?y_par_2=val_2'

Definition at line 22 of file URITest.php.

◆ URI_AUTHORITY_ONLY

const URITest::URI_AUTHORITY_ONLY = 'git://git$,;hub.com'

Definition at line 30 of file URITest.php.

◆ URI_AUTHORITY_PATH_FRAGMENT

const URITest::URI_AUTHORITY_PATH_FRAGMENT = 'git://git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git#frag:A!\'*+()arment'

Definition at line 26 of file URITest.php.

◆ URI_COMPLETE

const URITest::URI_COMPLETE = 'g+it://github.com:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 8 of file URITest.php.

◆ URI_COMPLETE_IPV4

const URITest::URI_COMPLETE_IPV4 = 'g+it://10.0.0.86:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 10 of file URITest.php.

◆ URI_COMPLETE_LOCALHOST

const URITest::URI_COMPLETE_LOCALHOST = 'g+it://localhost:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 12 of file URITest.php.

◆ URI_FAKEPCENC

const URITest::URI_FAKEPCENC = 'g+it://github.com:8080/someaccoun%t/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 44 of file URITest.php.

◆ URI_HOST_ALPHADIG_START_1

const URITest::URI_HOST_ALPHADIG_START_1 = 'g+it://-github.com:8080/someaccount'

Definition at line 46 of file URITest.php.

◆ URI_HOST_ALPHADIG_START_2

const URITest::URI_HOST_ALPHADIG_START_2 = 'g+it://github-.com:8080/someaccount'

Definition at line 47 of file URITest.php.

◆ URI_HOST_ALPHADIG_START_3

const URITest::URI_HOST_ALPHADIG_START_3 = 'http://.'

Definition at line 48 of file URITest.php.

◆ URI_HOST_ALPHADIG_START_4

const URITest::URI_HOST_ALPHADIG_START_4 = 'http://../'

Definition at line 49 of file URITest.php.

◆ URI_HOST_ALPHADIG_START_5

const URITest::URI_HOST_ALPHADIG_START_5 = 'http://-error-.invalid/'

Definition at line 50 of file URITest.php.

◆ URI_INVALID

const URITest::URI_INVALID = 'https://host.de/ilias.php/"><script>alert(1)</script>?baseClass=ilObjChatroomGUI&cmd=getOSDNotifications&cmdMode=asynch&max_age=15192913'

Definition at line 42 of file URITest.php.

◆ URI_NO_AUTHORITY

const URITest::URI_NO_AUTHORITY = 'git://:8080/someaccount/somerepo/somerepo.git/?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 34 of file URITest.php.

◆ URI_NO_PATH_1

const URITest::URI_NO_PATH_1 = 'g-it://ilias%2Da.de:8080?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 15 of file URITest.php.

◆ URI_NO_PATH_2

const URITest::URI_NO_PATH_2 = 'g.it://amaz;on.co.uk:8080/?query_par_1=val_1&query_par_2=val_2#fragment'

Definition at line 16 of file URITest.php.

◆ URI_NO_QUERY_1

const URITest::URI_NO_QUERY_1 = 'git://one-letter-top-level.a:8080/someaccount/somerepo/somerepo.git/#fragment'

Definition at line 18 of file URITest.php.

◆ URI_NO_QUERY_2

const URITest::URI_NO_QUERY_2 = 'git://github.com:8080/someaccount/somerepo/somerepo.git#fragment'

Definition at line 19 of file URITest.php.

◆ URI_NO_SCHEMA

const URITest::URI_NO_SCHEMA = 'git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git/'

Definition at line 32 of file URITest.php.

◆ URI_PATH

const URITest::URI_PATH = 'git://git$,;hub.com:8080/someacc$,;ount/somerepo/somerepo.git/'

Definition at line 28 of file URITest.php.

◆ URI_WRONG_AUTHORITY_1

const URITest::URI_WRONG_AUTHORITY_1 = 'git://git$,;hu<b.com:8080/someacc$,;ount/somerepo/somerepo.git/'

Definition at line 38 of file URITest.php.

◆ URI_WRONG_AUTHORITY_2

const URITest::URI_WRONG_AUTHORITY_2 = 'git://git$,;hu=b.com/someacc$,;ount/somerepo/somerepo.git/'

Definition at line 39 of file URITest.php.

◆ URI_WRONG_SCHEMA

const URITest::URI_WRONG_SCHEMA = 'gi$t://git$,;hub.com'

Definition at line 36 of file URITest.php.


The documentation for this class was generated from the following file: