public
Created

IRI test update

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
--- before Fri Sep 02 13:19:09 2011
+++ after Fri Sep 02 13:19:25 2011
@@ -158,24 +158,3 @@
-not ok 118 - Failure: IRITest::testStringQuery with data set #1 ('a=b%26c=d', 'http://example.com/?a=b%26c=d')
- ---
- message: 'Failed asserting that two strings are equal.'
- severity: fail
- data:
- got: 'http://example.com/?a=b&c=d'
- expected: 'http://example.com/?a=b%26c=d'
- ...
-not ok 119 - Failure: IRITest::testStringQuery with data set #2 ('url=http%3A%2F%2Fexample.com%3Fa%3Db', 'http://example.com/?url=http%3A%2F%2Fexample.com%3Fa%3Db')
- ---
- message: 'Failed asserting that two strings are equal.'
- severity: fail
- data:
- got: 'http://example.com/?url=http://example.com?a=b'
- expected: 'http://example.com/?url=http%3A%2F%2Fexample.com%3Fa%3Db'
- ...
-not ok 120 - Failure: IRITest::testStringQuery with data set #3 ('url=http%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd', 'http://example.com/?url=http%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd')
- ---
- message: 'Failed asserting that two strings are equal.'
- severity: fail
- data:
- got: 'http://example.com/?url=http://example.com?a=b&c=d'
- expected: 'http://example.com/?url=http%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd'
- ...
+ok 118 - IRITest::testStringQuery with data set #1 ('a=b%26c=d', 'http://example.com/?a=b%26c=d')
+ok 119 - IRITest::testStringQuery with data set #2 ('url=http%3A%2F%2Fexample.com%3Fa%3Db', 'http://example.com/?url=http%3A%2F%2Fexample.com%3Fa%3Db')
+ok 120 - IRITest::testStringQuery with data set #3 ('url=http%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd', 'http://example.com/?url=http%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd')
@@ -214 +193,8 @@
-ok 132 - IRITest::testStringNormalization with data set #3 ('example://%41/', 'example://a/')
+not ok 132 - Failure: IRITest::testStringNormalization with data set #3 ('example://%41/', 'example://a/')
+ ---
+ message: 'Failed asserting that two strings are equal.'
+ severity: fail
+ data:
+ got: 'example://A/'
+ expected: 'example://a/'
+ ...
@@ -375 +361 @@
- got: 'http://t%C5%ABdali%C5%86.lv'
+ got: 'http://tūdaliņ.lv'
@@ -411 +397 @@
- got: 'http://example.com/%C3%A9'
+ got: 'http://example.com/é'
@@ -419 +405 @@
- got: 'http://example.com/%C3%A9%00'
+ got: 'http://example.com/é%00'
@@ -427 +413 @@
- got: 'http://example.com/%C3%A9cole'
+ got: 'http://example.com/école'
@@ -493 +479 @@
- got: 'http://example.com/%C3%A9'
+ got: 'http://example.com/é'
@@ -501 +487 @@
- got: 'http://example.com/%C3%A9%00'
+ got: 'http://example.com/é%00'
@@ -509 +495 @@
- got: 'http://example.com/%C3%A9cole'
+ got: 'http://example.com/école'
@@ -516,8 +502 @@
-not ok 196 - Failure: IRITest::testStringNormalization with data set #67 ('http://example.com?%26', 'http://example.com?%26')
- ---
- message: 'Failed asserting that two strings are equal.'
- severity: fail
- data:
- got: 'http://example.com?&'
- expected: 'http://example.com?%26'
- ...
+ok 196 - IRITest::testStringNormalization with data set #67 ('http://example.com?%26', 'http://example.com?%26')
@@ -544 +523,8 @@
-ok 203 - IRITest::testObjectNormalization with data set #3 ('example://%41/', 'example://a/')
+not ok 203 - Failure: IRITest::testObjectNormalization with data set #3 ('example://%41/', 'example://a/')
+ ---
+ message: 'Failed asserting that two objects are equal.'
+ severity: fail
+ data:
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:7:"example";s:8:"userinfo";N;s:4:"host";s:1:"A";s:4:"port";N;s:4:"path";s:1:"/";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ expected: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:7:"example";s:8:"userinfo";N;s:4:"host";s:1:"a";s:4:"port";N;s:4:"path";s:1:"/";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ ...
@@ -656 +642 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:20:"t%C5%ABdali%C5%86.lv";s:4:"port";N;s:4:"path";N;s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:12:"tūdaliņ.lv";s:4:"port";N;s:4:"path";N;s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -685 +671 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:7:"/%C3%A9";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:3:"/é";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -693 +679 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:10:"/%C3%A9%00";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:6:"/é%00";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -701 +687 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:11:"/%C3%A9cole";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:7:"/école";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -725 +711 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:7:"/%C3%A9";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:3:"/é";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -733 +719 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:10:"/%C3%A9%00";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:6:"/é%00";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -741 +727 @@
- got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:11:"/%C3%A9cole";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
+ got: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:11:"example.com";s:4:"port";N;s:4:"path";s:7:"/école";s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -765,6 +751 @@
- expected: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:10:"%C3%89.com";s:4:"port";N;s:4:"path";N;s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
- ...
-not ok 272 - Failure: IRITest::testObjectNotEquivalence with data set #0 ('http://example.com/foo/bar', 'http://example.com/foo%2Fbar')
- ---
- message: 'Failed asserting that '
- severity: fail
+ expected: !!php/object:O:13:"SimplePie_IRI":8:{s:6:"scheme";s:4:"http";s:8:"userinfo";N;s:4:"host";s:6:"É.com";s:4:"port";N;s:4:"path";N;s:5:"query";N;s:8:"fragment";N;s:5:"valid";a:7:{s:10:"set_scheme";b:1;s:12:"set_userinfo";b:1;s:8:"set_host";b:1;s:8:"set_port";b:1;s:8:"set_path";b:1;s:9:"set_query";b:1;s:12:"set_fragment";b:1;}}
@@ -771,0 +753 @@
+ok 272 - IRITest::testObjectNotEquivalence with data set #0 ('http://example.com/foo/bar', 'http://example.com/foo%2Fbar')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.