WordPress.org

Make WordPress Core

Ticket #15600: shortcode.patch.output

File shortcode.patch.output, 5.5 KB (added by westi, 3 years ago)

Output of the tests with the patch applied

Line 
1Test Suite
2 TestShortcode
3 FF.FFFF........FFFFFFSSSS
4
5Time: 6 seconds, Memory: 46.00Mb
6
7There were 12 failures:
8
91) TestShortcode::test_noatts
10Failed asserting that two strings are equal.
11--- Expected
12+++ Actual
13@@ @@
14-
15+Array
16
17/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:64
18/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
19/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
20
212) TestShortcode::test_one_att
22Failed asserting that two arrays are equal.
23--- Expected
24+++ Actual
25@@ @@
26 Array
27 (
28+    [0] => /
29     [foo] => asdf
30 )
31
32/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:70
33/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
34/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
35
363) TestShortcode::test_two_atts
37Failed asserting that two arrays are equal.
38--- Expected
39+++ Actual
40@@ @@
41 Array
42 (
43+    [0] => /
44     [bar] => bing
45     [foo] => asdf
46 )
47
48/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:81
49/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
50/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
51
524) TestShortcode::test_noatts_enclosing
53Failed asserting that two strings are equal.
54--- Expected
55+++ Actual
56@@ @@
57-content
58+
59
60/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:88
61/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
62/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
63
645) TestShortcode::test_one_att_enclosing
65Failed asserting that two strings are equal.
66--- Expected
67+++ Actual
68@@ @@
69-content
70+
71
72/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:95
73/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
74/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
75
766) TestShortcode::test_two_atts_enclosing
77Failed asserting that two strings are equal.
78--- Expected
79+++ Actual
80@@ @@
81-content
82+
83
84/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:102
85/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
86/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
87
887) TestShortcode::test_nested_tags
89Failed asserting that two strings are equal.
90--- Expected
91+++ Actual
92@@ @@
93-content = abc = foo
94-def = 123
95-0 = http://wordpress.com
96-
97+content = [dumptag abc="foo" def=123 http://wordpress.com/][/baztag]
98
99/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:167
100/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
101/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
102
1038) TestShortcode::test_tag_escaped
104Failed asserting that two strings are equal.
105--- Expected
106+++ Actual
107@@ @@
108-[baztag foo="bar"]the content[/baztag]
109+content = the content[/baztag]]
110
111/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:180
112/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
113/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
114
1159) TestShortcode::test_tag_not_escaped
116Failed asserting that two strings are equal.
117--- Expected
118+++ Actual
119@@ @@
120-[foo =  foo = bar]
121+foo =  foo = bar]
122
123/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:190
124/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
125/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
126
12710) TestShortcode::test_mixed_tags
128Failed asserting that two strings are equal.
129--- Expected
130+++ Actual
131@@ @@
132 So this is a post with foo = some stuff and a bunch of tags.
133 foo = no foo
134 content =
135 Here's some content
136 on more than one line
137+[/baztag]
138 foo = 1 content =  foo = 2 content =
139 content =
140 more content
141+[/baztag]
142
143/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:239
144/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
145/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
146
14711) TestShortcode::test_utf8_whitespace_1
148Failed asserting that <string:> is equal to
149Array
150(
151    [foo] => bar
152    [baz] => 123
153)
154.
155
156/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:247
157/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
158/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
159
16012) TestShortcode::test_utf8_whitespace_2
161Failed asserting that two arrays are equal.
162--- Expected
163+++ Actual
164@@ @@
165 Array
166 (
167-    [abc] => def
168+    [0] => abc="def"
169     [foo] => bar
170 )
171
172/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:256
173/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
174/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
175
176There were 4 skipped tests:
177
1781) TestShortcode::test_shortcodes_enabled
179
180/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:269
181/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
182/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
183
1842) TestShortcode::test_shortcodes_disabled
185
186/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:278
187/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
188/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
189
1903) TestShortcode::test_shortcodes_strip
191
192/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:287
193/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
194/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
195
1964) TestShortcode::test_shortcodes_faux
197
198/opt/local/apache2/htdocs/wordpress-tests/wp-testcase/test_shortcode.php:296
199/opt/local/apache2/htdocs/wordpress-tests/wp-testlib/base.php:550
200/opt/local/apache2/htdocs/wordpress-tests/wp-test.php:128
201
202FAILURES!
203Tests: 25, Assertions: 38, Failures: 12, Skipped: 4.