IRI test update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment