| 1 | Test Suite |
|---|
| 2 | TestShortcode |
|---|
| 3 | FF.FFFF........FFFFFFSSSS |
|---|
| 4 | |
|---|
| 5 | Time: 6 seconds, Memory: 46.00Mb |
|---|
| 6 | |
|---|
| 7 | There were 12 failures: |
|---|
| 8 | |
|---|
| 9 | 1) TestShortcode::test_noatts |
|---|
| 10 | Failed 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 | |
|---|
| 21 | 2) TestShortcode::test_one_att |
|---|
| 22 | Failed 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 | |
|---|
| 36 | 3) TestShortcode::test_two_atts |
|---|
| 37 | Failed 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 | |
|---|
| 52 | 4) TestShortcode::test_noatts_enclosing |
|---|
| 53 | Failed 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 | |
|---|
| 64 | 5) TestShortcode::test_one_att_enclosing |
|---|
| 65 | Failed 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 | |
|---|
| 76 | 6) TestShortcode::test_two_atts_enclosing |
|---|
| 77 | Failed 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 | |
|---|
| 88 | 7) TestShortcode::test_nested_tags |
|---|
| 89 | Failed 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 | |
|---|
| 103 | 8) TestShortcode::test_tag_escaped |
|---|
| 104 | Failed 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 | |
|---|
| 115 | 9) TestShortcode::test_tag_not_escaped |
|---|
| 116 | Failed 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 | |
|---|
| 127 | 10) TestShortcode::test_mixed_tags |
|---|
| 128 | Failed 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 | |
|---|
| 147 | 11) TestShortcode::test_utf8_whitespace_1 |
|---|
| 148 | Failed asserting that <string:> is equal to |
|---|
| 149 | Array |
|---|
| 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 | |
|---|
| 160 | 12) TestShortcode::test_utf8_whitespace_2 |
|---|
| 161 | Failed 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 | |
|---|
| 176 | There were 4 skipped tests: |
|---|
| 177 | |
|---|
| 178 | 1) 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 | |
|---|
| 184 | 2) 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 | |
|---|
| 190 | 3) 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 | |
|---|
| 196 | 4) 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 | |
|---|
| 202 | FAILURES! |
|---|
| 203 | Tests: 25, Assertions: 38, Failures: 12, Skipped: 4. |
|---|