os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/data/testinetproutilsurisuite.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 //Ini file for running InetProUtils tests (Syntax normalisation/Escape encoding/Tel uri parsing & validation).
     2 
     3 //////////////////////////////////////////////////////////////////////////////////////////////
     4 //////// Code for PercentEncoding = 1 ////////////////////////////////////////////////////////
     5 //////// Code for CaseNormalisation = 2 //////////////////////////////////////////////////////
     6 //////// Code for RemoveDotegments = 3 ///////////////////////////////////////////////////////
     7 //////// Code for PercentEncoding and CaseNormalisation = 12 /////////////////////////////////
     8 //////// Code for PercentEncoding and RemoveDotegments = 13 //////////////////////////////////
     9 //////// Code for CaseNormalisation and RemoveDotegments = 23 ////////////////////////////////
    10 //////// Code for PercentEncoding, CaseNormalisation and RemoveDotegments = 123 //////////////
    11 //////// Code for No-Normalisation Technique is executed = 0 /////////////////////////////////
    12 //////////////////////////////////////////////////////////////////////////////////////////////
    13 
    14 //////////////////////////////////////////////////////////////
    15 ////////////////Scheme and HostComponents/////////////////////
    16 ////////Percent encoding of unreserved characters/////////////
    17 //////////Scheme and Host are Case-insensitive////////////////
    18 //Executes PercentEncoding and CaseNormalisation//////////////
    19 //////////////////////////////////////////////////////////////
    20 
    21 [Syntax_Normalisation_Uri_1]
    22 Uri      = %68%74%74%70://exa%4Dple.co%4d/abc/
    23 ExpUri	 = http://example.com/abc/
    24 RetCode  = 12
    25 
    26 //////////////////////////////////////////////////////////////
    27 ////////////////Scheme and HostComponents/////////////////////
    28 //////////Scheme and Host are Case-insensitive////////////////
    29 ////////////Executes CaseNormalisation////////////////////////
    30 //////////////////////////////////////////////////////////////
    31 
    32 [Syntax_Normalisation_Uri_2]
    33 Uri      = htTP://wwW.ExaMpLe.COM/abc/AD
    34 ExpUri	 = http://www.example.com/abc/AD
    35 RetCode  = 2
    36 
    37 //////////////////////////////////////////////////////////////
    38 ////////////////Scheme and Host Components////////////////////
    39 ////////Percent encoding of unreserved characters/////////////
    40 //////////Scheme and Host are Case-insensitive////////////////
    41 //Executes PercentEncoding and CaseNormalisation//////////////
    42 //////////////////////////////////////////////////////////////
    43 
    44 [Syntax_Normalisation_Uri_3]
    45 Uri      = htTP://wwW.ExaMpLe.CO%4d/abc/AD
    46 ExpUri	 = http://www.example.com/abc/AD
    47 RetCode  = 12
    48 
    49 //////////////////////////////////////////////////////////////
    50 ////////////////Scheme, Host and Path Components//////////////
    51 ////////Percent encoding of unreserved characters/////////////
    52 //////////Scheme and Host are Case-insensitive////////////////
    53 //Executes PercentEncoding and CaseNormalisation//////////////
    54 //////////////////////////////////////////////////////////////
    55 
    56 [Syntax_Normalisation_Uri_4]
    57 Uri      = htt%70://user:pass@LOcaTion.co%4D:1666/AbcD/ad%6a/ResouRce.cgi;x=123;df223;2342;2323?asd=b#part
    58 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b#part
    59 RetCode  = 12
    60 
    61 //////////////////////////////////////////////////////////////
    62 ////////////////Scheme and Host Components////////////////////
    63 ////Percent encoding of unreserved and reserved characters////
    64 //////////Scheme and Host are Case-insensitive////////////////
    65 //Executes PercentEncoding and CaseNormalisation//////////////
    66 //////////////////////////////////////////////////////////////
    67 
    68 [Syntax_Normalisation_Uri_5]
    69 Uri      = %68%74%74%70://user:pass@%40LOcaTion.co%4D:1666/AbcD/
    70 ExpUri	 = http://user:pass@%40location.com:1666/AbcD/
    71 RetCode  = 12
    72 
    73 //////////////////////////////////////////////////////////////
    74 ////////////////Scheme, Host and Path Components//////////////
    75 ////Percent encoding of unreserved and reserved characters////
    76 //////////Scheme and Host are Case-insensitive////////////////
    77 //Executes PercentEncoding and CaseNormalisation//////////////
    78 //////////////////////////////////////////////////////////////
    79 
    80 [Syntax_Normalisation_Uri_6]
    81 Uri      = %68%74%74%70%2f://user:pass@%40LOcaTion.co%4D:1666/AbcD%2f/
    82 ExpUri	 = http%2F://user:pass@%40location.com:1666/AbcD%2F/
    83 RetCode  = 12
    84 
    85 //////////////////////////////////////////////////////////////
    86 /////////////////////Scheme Component/////////////////////////
    87 ////Percent encoding of unreserved and reserved characters////
    88 //Executes PercentEncoding and CaseNormalisation//////////////
    89 //////////////////////////////////////////////////////////////
    90 
    91 [Syntax_Normalisation_Uri_7]
    92 Uri      = %68%74%74%70%3a%3b%3c%3d://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
    93 ExpUri	 = http%3A%3B%3C%3D://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
    94 RetCode  = 12
    95 
    96 //////////////////////////////////////////////////////////////
    97 /////////////////////Scheme Component/////////////////////////
    98 ////Percent encoding of unreserved Uppercase characters///////
    99 ///////////////Scheme is Case-insensitive/////////////////////
   100 //Executes PercentEncoding and CaseNormalisation//////////////
   101 //////////////////////////////////////////////////////////////
   102 
   103 [Syntax_Normalisation_Uri_8]
   104 Uri      = %48%54%54%50://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   105 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   106 RetCode  = 12
   107 
   108 ///////////////////////////////////////////////////////////////
   109 /////////////////////UserInfo Component////////////////////////
   110 ////Percent encoding of unreserved characters//////////////////
   111 ///////////////UserInfo is Case-sensitive//////////////////////
   112 ////////////Executes PercentEncoding //////////////////////////
   113 ///////////////////////////////////////////////////////////////
   114 
   115 [Syntax_Normalisation_Uri_9]
   116 Uri      = http://%55sEr:pa%73%53@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   117 ExpUri	 = http://UsEr:pasS@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   118 RetCode  = 1
   119 
   120 ///////////////////////////////////////////////////////////////
   121 /////////////////////UserInfo Component////////////////////////
   122 ///////////////UserInfo is Case-sensitive//////////////////////
   123 ///////////////Already in Normalsied form /////////////////////
   124 ///////////////////////////////////////////////////////////////
   125 
   126 [Syntax_Normalisation_Uri_10]
   127 Uri      = http://USER:PAsS@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   128 ExpUri	 = http://USER:PAsS@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   129 RetCode  = 0
   130 
   131 ///////////////////////////////////////////////////////////////
   132 /////////////////////UserInfo Component////////////////////////
   133 ////Percent encoding of unreserved and reserved characters/////
   134 ///////////////UserInfo is Case-sensitive//////////////////////
   135 //Executes PercentEncoding and CaseNormalisation///////////////
   136 ///////////////////////////////////////////////////////////////
   137 
   138 [Syntax_Normalisation_Uri_11]
   139 Uri      = http://USeR:PAs%3b%3c%73@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   140 ExpUri	 = http://USeR:PAs%3B%3Cs@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   141 RetCode  = 12
   142 
   143 ///////////////////////////////////////////////////////////////
   144 /////////////////////Host Component////////////////////////////
   145 ////Percent encoding of unreserved and reserved characters/////
   146 ///////////////Host is Case-insensitive////////////////////////
   147 //Executes PercentEncoding and CaseNormalisation///////////////
   148 ///////////////////////////////////////////////////////////////
   149 
   150 [Syntax_Normalisation_Uri_12]
   151 Uri      = http://user:pass@l%4f%43ation.com%3a:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   152 ExpUri	 = http://user:pass@location.com%3A:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   153 RetCode  = 12
   154 
   155 ///////////////////////////////////////////////////////////////
   156 /////////////////////Host Component////////////////////////////
   157 ////Percent encoding of reserved characters////////////////////
   158 ///////////////Host is Case-insensitive////////////////////////
   159 ////////////Executes CaseNormalisation/////////////////////////
   160 ///////////////////////////////////////////////////////////////
   161 
   162 [Syntax_Normalisation_Uri_13]
   163 Uri      = http://user:pass@LOCATION.COM%3A:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   164 ExpUri	 = http://user:pass@location.com%3A:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   165 RetCode  = 2
   166 
   167 ///////////////////////////////////////////////////////////////
   168 /////////////////////Port Component////////////////////////////
   169 ////Percent encoding of unreserved character///////////////////
   170 ////////////Executes PercentEncoding //////////////////////////
   171 ///////////////////////////////////////////////////////////////
   172 
   173 [Syntax_Normalisation_Uri_14]
   174 Uri      = http://user:pass@location.com:166%36/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   175 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   176 RetCode  = 1
   177 
   178 ///////////////////////////////////////////////////////////////
   179 /////////////////////Port Component////////////////////////////
   180 ////Percent encoding of reserved character/////////////////////
   181 ////////////Executes CaseNormalisation/////////////////////////
   182 ///////////////////////////////////////////////////////////////
   183 
   184 [Syntax_Normalisation_Uri_15]
   185 Uri      = http://user:pass@location.com:166%3a/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   186 ExpUri	 = http://user:pass@location.com:166%3A/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b
   187 RetCode  = 2
   188 
   189 ///////////////////////////////////////////////////////////////
   190 /////////////////////Path Component////////////////////////////
   191 ////Percent encoding of unreserved character///////////////////
   192 ///////////////Path is Case-sensitive//////////////////////////
   193 ////////////Executes PercentEncoding //////////////////////////
   194 ///////////////////////////////////////////////////////////////
   195 
   196 [Syntax_Normalisation_Uri_16]
   197 Uri      = http://user:pass@location.com:1666/AbcD/%61%64%6a/Resource.cgi;x=123;D%66%3223;2342;2323?asd=b
   198 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/Resource.cgi;x=123;Df223;2342;2323?asd=b
   199 RetCode  = 1
   200 
   201 ///////////////////////////////////////////////////////////////
   202 /////////////////////Path Component////////////////////////////
   203 ////Percent encoding of reserved character/////////////////////
   204 ///////////////Path is Case-sensitive//////////////////////////
   205 ////////////Executes CaseNormalisation/////////////////////////
   206 ///////////////////////////////////////////////////////////////
   207 
   208 [Syntax_Normalisation_Uri_17]
   209 Uri      = http://user:pass@location.com:1666/AbcD/adj/Resource.cgi;x=123%3b;Df223;2342;2323?asd=b
   210 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/Resource.cgi;x=123%3B;Df223;2342;2323?asd=b
   211 RetCode  = 2
   212 
   213 ///////////////////////////////////////////////////////////////
   214 /////////////////////Query Component///////////////////////////
   215 ////Percent encoding of Unreserved and reserved characters/////
   216 ///////////////Query is Case-sensitive/////////////////////////
   217 //Executes PercentEncoding and CaseNormalisation///////////////
   218 ///////////////////////////////////////////////////////////////
   219 
   220 [Syntax_Normalisation_Uri_18]
   221 Uri      = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=B%35%2a%20%21
   222 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=B5%2A%20%21
   223 RetCode  = 12
   224 
   225 ///////////////////////////////////////////////////////////////
   226 /////////////////////Fragment Component////////////////////////
   227 ///////////////Fragment is Case-sensitive//////////////////////
   228 ///////////////Already in Normalsied form /////////////////////
   229 ///////////////////////////////////////////////////////////////
   230 
   231 [Syntax_Normalisation_Uri_19]
   232 Uri      = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b5#pArt
   233 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b5#pArt
   234 RetCode  = 0
   235 
   236 ///////////////////////////////////////////////////////////////
   237 /////////////////////Fragment Component////////////////////////
   238 ////Percent encoding of reserved characters////////////////////
   239 ////////////Executes CaseNormalisation/////////////////////////
   240 ///////////////////////////////////////////////////////////////
   241 
   242 [Syntax_Normalisation_Uri_20]
   243 Uri      = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b5#pArt%2a
   244 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/ResouRce.cgi;x=123;df223;2342;2323?asd=b5#pArt%2A
   245 RetCode  = 2
   246 
   247 ///////////////////////////////////////////////////////////////
   248 /////////////////////All Uri Components////////////////////////
   249 ////Percent encoding of Unreserved and reserved characters/////
   250 ///////////////Scheme and Host are Case-insensitive////////////
   251 //Executes PercentEncoding and CaseNormalisation///////////////
   252 ///////////////////////////////////////////////////////////////
   253 
   254 [Syntax_Normalisation_Uri_21]
   255 Uri      = %68%74%74%70%3a%3b%3c%3d://%55sEr:pa%73%53@l%4f%43ation.com:166%3a/AbcD/%61%64%6a/Resource.cgi;x=123;D%66%3223;2342;2323?asd=B%35%2a%20%21#pArt%2a
   256 ExpUri	 = http%3A%3B%3C%3D://UsEr:pasS@location.com:166%3A/AbcD/adj/Resource.cgi;x=123;Df223;2342;2323?asd=B5%2A%20%21#pArt%2A
   257 RetCode  = 12
   258 
   259 ///////////////////////////////////////////////////////////////
   260 /////////////////////All Uri Components////////////////////////
   261 ///////Percent encoding of Unreserved characters///////////////
   262 ///////////////Scheme and Host are Case-insensitive////////////
   263 //Executes PercentEncoding and CaseNormalisation///////////////
   264 ///////////////////////////////////////////////////////////////
   265 
   266 [Syntax_Normalisation_Uri_22]
   267 Uri      = %68%74%74%70://%75%73%65%72:pa%73%73@l%4f%43ation.com:166%36/AbcD/%61%64%6a/Resource.cgi;x=123;D%66%3223;2342;2323?asd=B%35#pArt
   268 ExpUri	 = http://user:pass@location.com:1666/AbcD/adj/Resource.cgi;x=123;Df223;2342;2323?asd=B5#pArt
   269 RetCode  = 12
   270 
   271 ///////////////////////////////////////////////////////////////
   272 ////////////Path Component with dot segments///////////////////
   273 //////////////Executes RemoveDotSegments///////////////////////
   274 ///////////////////////////////////////////////////////////////
   275 
   276 [Syntax_Normalisation_Uri_23]
   277 Uri      = http://example.com/a/b/c/../../../g
   278 ExpUri	 = http://example.com/g
   279 RetCode  = 3
   280 
   281 ///////////////////////////////////////////////////////////////
   282 ////////////Path Component with dot segments///////////////////
   283 //////////////Executes RemoveDotSegments///////////////////////
   284 ///////////////////////////////////////////////////////////////
   285 
   286 [Syntax_Normalisation_Uri_24]
   287 Uri      = http://example.com/a/b/c/../../../../g
   288 ExpUri	 = http://example.com/g
   289 RetCode  = 3
   290 
   291 ///////////////////////////////////////////////////////////////
   292 ////////////Path Component with dot segments///////////////////
   293 //////////////Executes RemoveDotSegments///////////////////////
   294 ///////////////////////////////////////////////////////////////
   295 
   296 [Syntax_Normalisation_Uri_25]
   297 Uri      = http://example.com/a/b/c/./../g
   298 ExpUri	 = http://example.com/a/b/g
   299 RetCode  = 3
   300 
   301 ///////////////////////////////////////////////////////////////
   302 ////////////Path Component with dot segments///////////////////
   303 //////////////Executes RemoveDotSegments///////////////////////
   304 ///////////////////////////////////////////////////////////////
   305 
   306 [Syntax_Normalisation_Uri_26]
   307 Uri      = http://example.com/a/b/c/./g.
   308 ExpUri	 = http://example.com/a/b/c/g.
   309 RetCode  = 3
   310 
   311 ///////////////////////////////////////////////////////////////
   312 ////////////Path Component with dot segments///////////////////
   313 //////////////Executes RemoveDotSegments///////////////////////
   314 ///////////////////////////////////////////////////////////////
   315 
   316 [Syntax_Normalisation_Uri_27]
   317 Uri      = http://example.com/a/b/c/./g/.
   318 ExpUri	 = http://example.com/a/b/c/g/
   319 RetCode  = 3
   320 
   321 ///////////////////////////////////////////////////////////////
   322 ////////////Path Component with dot segments///////////////////
   323 //////////////Executes RemoveDotSegments///////////////////////
   324 ///////////////////////////////////////////////////////////////
   325 
   326 [Syntax_Normalisation_Uri_28]
   327 Uri      = http://example.com/a/b/c/./.g
   328 ExpUri	 = http://example.com/a/b/c/.g
   329 RetCode  = 3
   330 
   331 ///////////////////////////////////////////////////////////////
   332 ////////////Path Component with dot segments///////////////////
   333 //////////////Executes RemoveDotSegments///////////////////////
   334 ///////////////////////////////////////////////////////////////
   335 
   336 [Syntax_Normalisation_Uri_29]
   337 Uri      = http://example.com/a/b/c/./..g
   338 ExpUri	 = http://example.com/a/b/c/..g
   339 RetCode  = 3
   340 
   341 ///////////////////////////////////////////////////////////////
   342 ////////////Path Component with dot segments///////////////////
   343 //////////////Executes RemoveDotSegments///////////////////////
   344 ///////////////////////////////////////////////////////////////
   345 
   346 [Syntax_Normalisation_Uri_30]
   347 Uri      = http://example.com/a/b/c/../.g
   348 ExpUri	 = http://example.com/a/b/.g
   349 RetCode  = 3
   350 
   351 ///////////////////////////////////////////////////////////////
   352 ////////////Path Component with dot segments///////////////////
   353 ///////////////Already in Normalsied form /////////////////////
   354 ///////////////////////////////////////////////////////////////
   355 
   356 [Syntax_Normalisation_Uri_31]
   357 Uri      = http://example.com/a/b/c/.g
   358 ExpUri	 = http://example.com/a/b/c/.g
   359 RetCode  = 0
   360 
   361 ///////////////////////////////////////////////////////////////
   362 ////////////Path Component with dot segments///////////////////
   363 //////////////Executes RemoveDotSegments///////////////////////
   364 ///////////////////////////////////////////////////////////////
   365 
   366 [Syntax_Normalisation_Uri_32]
   367 Uri      = http://example.com/a/b/c/g/./h
   368 ExpUri	 = http://example.com/a/b/c/g/h
   369 RetCode  = 3
   370 
   371 /////////////////////////////////////////////////////////////////////////////////////////////////////
   372 ////////////Path Component with dot segments/////////////////////////////////////////////////////////
   373 //////////////Executes CaseNormalisation and RemoveDotegments////////////////////////////////////////
   374 /////////////////////////////////////////////////////////////////////////////////////////////////////
   375 
   376 [Syntax_Normalisation_Uri_33]
   377 Uri      = hTTp://exaMple.coM/a/b/c/g/../h
   378 ExpUri	 = http://example.com/a/b/c/h
   379 RetCode  = 23
   380 
   381 /////////////////////////////////////////////////////////////////////////////////////////////////////
   382 ////////////Path Component with dot segments/////////////////////////////////////////////////////////
   383 //////////////Executes PercentEncoding and RemoveDotegments//////////////////////////////////////////
   384 /////////////////////////////////////////////////////////////////////////////////////////////////////
   385 
   386 [Syntax_Normalisation_Uri_34]
   387 Uri      = %68%74%74%70://example.com/a/b/c/g;x=1/./y
   388 ExpUri	 = http://example.com/a/b/c/g;x=1/y
   389 RetCode  = 13
   390 
   391 /////////////////////////////////////////////////////////////////////////////////////////////////////
   392 ////////////Path Component with dot segments/////////////////////////////////////////////////////////
   393 //////////////Executes PercentEncoding, CaseNormalisation and RemoveDotegments///////////////////////
   394 /////////////////////////////////////////////////////////////////////////////////////////////////////
   395 
   396 [Syntax_Normalisation_Uri_35]
   397 Uri      = %68%74%74%70://exa%4Dple.co%4d/d/c/b/a/.././abc/./../..
   398 ExpUri	 = http://example.com/d/c/
   399 RetCode  = 123
   400 
   401 ///////////////////////////////////////////////////////////////
   402 ///////Path and Query Components with dot segments/////////////
   403 //Query Components with dot segments can have no impact////////
   404 //////////////Executes RemoveDotSegments///////////////////////
   405 ///////////////////////////////////////////////////////////////
   406 
   407 [Syntax_Normalisation_Uri_36]
   408 Uri      = http://example.com/d/c/b/a/.././abc/./../../g?y/./x
   409 ExpUri	 = http://example.com/d/c/g?y/./x
   410 RetCode  = 3
   411 
   412 ///////////////////////////////////////////////////////////////
   413 ///////Path and Query Components with dot segments/////////////
   414 //Query Components with dot segments can have no impact////////
   415 //////////////Executes RemoveDotSegments///////////////////////
   416 ///////////////////////////////////////////////////////////////
   417 
   418 [Syntax_Normalisation_Uri_37]
   419 Uri      = http://example.com/d/c/b/a/.././abc/./../../g?y/../x
   420 ExpUri	 = http://example.com/d/c/g?y/../x
   421 RetCode  = 3
   422 
   423 ///////////////////////////////////////////////////////////////
   424 ///////Path and Fragment Components with dot segments//////////
   425 //Fragment  Components with dot segments can have no impact////
   426 //////////////Executes RemoveDotSegments///////////////////////
   427 ///////////////////////////////////////////////////////////////
   428 
   429 [Syntax_Normalisation_Uri_38]
   430 Uri      = http://example.com/d/c/b/a/.././abc/./../../g#s/./x
   431 ExpUri	 = http://example.com/d/c/g#s/./x
   432 RetCode  = 3
   433 
   434 ///////////////////////////////////////////////////////////////
   435 ///////Path and Fragment Components with dot segments//////////
   436 //Fragment  Components with dot segments can have no impact////
   437 //////////////Executes RemoveDotSegments///////////////////////
   438 ///////////////////////////////////////////////////////////////
   439 
   440 [Syntax_Normalisation_Uri_39]
   441 Uri      = http://example.com/d/c/b/a/.././abc/./../../g#s/../x
   442 ExpUri	 = http://example.com/d/c/g#s/../x
   443 RetCode  = 3
   444 
   445 /////////////////////////////////////////////////////////////////////////
   446 ///////Path, Query and Fragment Components with dot segments/////////////
   447 //Query and Fragment  Components with dot segments can have no impact////
   448 //////////////////Executes RemoveDotSegments/////////////////////////////
   449 /////////////////////////////////////////////////////////////////////////
   450 
   451 [Syntax_Normalisation_Uri_40]
   452 Uri      = http://example.com/d/c/b/a/.././abc/./../../g?y/./x#s/../z
   453 ExpUri	 = http://example.com/d/c/g?y/./x#s/../z
   454 RetCode  = 3
   455 
   456 /////////////////////////////////////////////////////////////////////////
   457 ///////Path, Query and Fragment Components with dot segments/////////////
   458 //Query and Fragment  Components with dot segments can have no impact////
   459 //////////////////Executes RemoveDotSegments/////////////////////////////
   460 /////////////////////////////////////////////////////////////////////////
   461 
   462 [Syntax_Normalisation_Uri_41]
   463 Uri      = http://example.com/d/c/b/a/.././abc/./../../g?y/./x#s/./z
   464 ExpUri	 = http://example.com/d/c/g?y/./x#s/./z
   465 RetCode  = 3
   466 
   467 ///////////////////////////////////////////////////////////////
   468 //////Escape encoding covering the caharcters * ! ' ( )////////
   469 ///////////////////////////////////////////////////////////////
   470 
   471 [Escape_Encoding_Uri_1]
   472 EscDecoded          = ;/?:@&=+$,*!'()
   473 EscEncodedUri       = %3B%2F%3F%3A%40%26%3D%2B%24,%2A%21%27%28%29
   474 EscEncodedAut       = %3B%2F%3F%3A%40&=+$,*!'()
   475 EscEncodedUriPath   = %3B%2F%3F:@&%3D+$,*!'()
   476 EscEncodedUriQuery  = %3B%2F%3F%3A%40%26%3D%2B%24%2C*!'()
   477 EscEncodedUriNormal = ;/?:@&=+$,*!'()
   478 
   479 
   480 [Escape_Encoding_Uri_2]
   481 EscDecoded          = <>#%"{}|\^[]'*!()
   482 EscEncodedUri       = %3C%3E%23%25%22%7B%7D%7C%5C%5E%5B%5D%27%2A%21%28%29
   483 EscEncodedAut       = %3C%3E%23%25%22%7B%7D%7C%5C%5E%5B%5D'*!()
   484 EscEncodedUriPath   = %3C%3E%23%25%22%7B%7D%7C%5C%5E%5B%5D'*!()
   485 EscEncodedUriQuery  = %3C%3E%23%25%22%7B%7D%7C%5C%5E%5B%5D'*!()
   486 EscEncodedUriNormal = %3C%3E%23%25%22%7B%7D%7C%5C%5E[]'*!()
   487  
   488 
   489 
   490 ///////////////////////////////////////////////////////////////
   491 //////Tel Uri should contain only two parts////////////////////
   492 ///////////1. Scheme-->e.g. "tel" /////////////////////////////
   493 ///////////2. Path---->e.g: +1234567;sms=example.com///////////
   494 ////for given tel Uri---> tel:+1234567;sms=example.com/////////
   495 ///////////////////////////////////////////////////////////////
   496 
   497 [Tel_Uri_Parsing_1]
   498 Uri            = tel:123456;isd=76678;sms=6678ghghjgh;
   499 ExpTelScheme   = tel
   500 ExpTelPath     = 123456;isd=76678;sms=6678ghghjgh;
   501 
   502 [Tel_Uri_Parsing_2]
   503 Uri            = tel:123456
   504 ExpTelScheme   = tel
   505 ExpTelPath     = 123456
   506 
   507 [Tel_Uri_Parsing_3]
   508 Uri            = tel:+2746;postd=1722%40foo.com
   509 ExpTelScheme   = tel
   510 ExpTelPath     = +2746;postd=1722%40foo.com
   511 
   512 [Tel_Uri_Parsing_4]
   513 Uri            = tel:545734;postd=pp22
   514 ExpTelScheme   = tel
   515 ExpTelPath     = 545734;postd=pp22
   516 
   517 [Tel_Uri_Parsing_5]
   518 Uri            = tel:85475834758;isub=447;user=phone
   519 ExpTelScheme   = tel
   520 ExpTelPath     = 85475834758;isub=447;user=phone
   521 
   522 [Tel_Uri_Parsing_6]
   523 Uri            = tel:85475834758;isub=447;user=phone;phone-context=jffj3433
   524 ExpTelScheme   = tel
   525 ExpTelPath     = 85475834758;isub=447;user=phone;phone-context=jffj3433
   526 
   527 [Tel_Uri_Parsing_7]
   528 Uri            = tel:1234;isub=676897;ext=6767
   529 ExpTelScheme   = tel
   530 ExpTelPath     = 1234;isub=676897;ext=6767
   531 
   532 [Tel_Uri_Parsing_8]
   533 Uri            = tel:1234;ext=6767;isub=676897
   534 ExpTelScheme   = tel
   535 ExpTelPath     = 1234;ext=6767;isub=676897
   536 
   537 [Tel_Uri_Parsing_9]
   538 Uri            = tel:
   539 ExpTelScheme   = tel
   540 ExpTelPath     = 
   541 
   542 [Tel_Uri_Parsing_10]
   543 Uri            = tel:hjthj
   544 ExpTelScheme   = tel
   545 ExpTelPath     = hjthj
   546 
   547 [Tel_Uri_Parsing_11]
   548 Uri            = tel:1234;isub=676897;isub=6767
   549 ExpTelScheme   = tel
   550 ExpTelPath     = 1234;isub=676897;isub=6767
   551 
   552 [Tel_Uri_Parsing_12]
   553 Uri            = tel:1234;ext=6767;ext=676897
   554 ExpTelScheme   = tel
   555 ExpTelPath     = 1234;ext=6767;ext=676897
   556 
   557 ///////////////////////////////////////////////////////////////
   558 /////////////////Validation of Tel Uri ////////////////////////
   559 /////////It does Partial Support for RFC 3966//////////////////
   560 ////It does not support Lexicographical order of Parameters////
   561 ////////ExpRetCode---> 0 means It is a Valid tel-Uri///////////
   562 ///////////////////////////////////////////////////////////////
   563 
   564 [Tel_Uri_Validation_1]
   565 Uri      = tel:123456;isd=76678;sms=6678ghghjgh;
   566 ExpRetCode   =  0
   567 
   568 [Tel_Uri_Validation_2]
   569 Uri      = tel:123456
   570 ExpRetCode   = 0
   571 
   572 [Tel_Uri_Validation_3]
   573 Uri      = tel:+2746;postd=1722%40foo.com
   574 ExpRetCode   = 0
   575 
   576 [Tel_Uri_Validation_4]
   577 Uri      = tel:545734;postd=pp22
   578 ExpRetCode   = 0
   579 
   580 [Tel_Uri_Validation_5]
   581 Uri      = tel:85475834758;isub=447;user=phone
   582 ExpRetCode   = 0
   583 
   584 [Tel_Uri_Validation_6]
   585 Uri      = tel:85475834758;isub=447;user=phone;phone-context=jffj3433
   586 ExpRetCode   = 0
   587 
   588 [Tel_Uri_Validation_7]
   589 Uri      = tel:123456;gggff=%3d%2c%3b%3f%26
   590 ExpRetCode   = 0
   591 
   592 [Tel_Uri_Validation_8]
   593 Uri      = tel:7042;phone-context=cs.columbia.edu:
   594 ExpRetCode   = 0
   595 
   596 [Tel_Uri_Validation_9]
   597 Uri      = tel:8631234;phone-context=+1-914-555:
   598 ExpRetCode   = 0
   599 
   600 [Tel_Uri_Validation_10]
   601 Uri      = tel:1234;phone-context=munich.example.com
   602 ExpRetCode   = 0
   603 
   604 ///////////////////////////////////////////////////////////////
   605 /////////////////Validation of Tel Uri ////////////////////////
   606 /////////It does Partial Support for RFC 3966//////////////////
   607 ////It does not support Lexicographical order of Parameters////
   608 ////////ExpRetCode---> -5020 means KUriUtilsErrInvalidParam////
   609 ///////////////////////////////////////////////////////////////
   610 
   611 [Tel_Uri_Validation_11]
   612 Uri      = tel:hjthj
   613 ExpRetCode   = -5020
   614 
   615 [Tel_Uri_Validation_12]
   616 Uri      = tel:
   617 ExpRetCode   = -5020
   618 
   619 [Tel_Uri_Validation_13]
   620 Uri      = tel:1234;ext=6767;isub=676897
   621 ExpRetCode   = -5020
   622 
   623 [Tel_Uri_Validation_14]
   624 Uri      = tel:1234;isub=676897;isub=6767
   625 ExpRetCode   = -5020
   626 
   627 [Tel_Uri_Validation_15]
   628 Uri      = tel:365746;hgd=,
   629 ExpRetCode   = -5020
   630 
   631 [Tel_Uri_Validation_16]
   632 Uri      = tel:465746;hgd=;
   633 ExpRetCode   = -5020
   634 
   635 [Tel_Uri_Validation_17]
   636 Uri      = tel:863-1234;phone-context=+1-914-555:
   637 ExpRetCode   = -5020
   638 
   639 [Tel_Uri_Validation_18]
   640 Uri      = tel:565746;hgd=?
   641 ExpRetCode   = -5020
   642 
   643 [Tel_Uri_Validation_19]
   644 Uri      = tel:1234;ext=6767;ext=676897
   645 ExpRetCode   = -5020
   646 
   647 [Tel_Uri_Validation_20]
   648 Uri      = tel:1234;isub=676897;ext=6767
   649 ExpRetCode   = -5020
   650 
   651 [Tel_Uri_Validation_21]
   652 Uri      = tel:265746;hgd==
   653 ExpRetCode   = -5020
   654 
   655 
   656 
   657