Changeset 53864 for trunk/tests/phpunit/tests/import/parser.php
- Timestamp:
- 08/08/2022 11:22:43 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/parser.php
r52010 r53864 25 25 } 26 26 27 /** 28 * @covers WXR_Parser_SimpleXML::parse 29 * @covers WXR_Parser_XML::parse 30 */ 27 31 public function test_malformed_wxr() { 28 32 $file = DIR_TESTDATA . '/export/malformed.xml'; … … 37 41 } 38 42 43 /** 44 * @covers WXR_Parser_SimpleXML::parse 45 * @covers WXR_Parser_XML::parse 46 * @covers WXR_Parser_Regex::parse 47 */ 39 48 public function test_invalid_wxr() { 40 49 $f1 = DIR_TESTDATA . '/export/missing-version-tag.xml'; … … 51 60 } 52 61 62 /** 63 * @covers WXR_Parser_SimpleXML::parse 64 * @covers WXR_Parser_XML::parse 65 * @covers WXR_Parser_Regex::parse 66 */ 53 67 public function test_wxr_version_1_1() { 54 68 $file = DIR_TESTDATA . '/export/valid-wxr-1.1.xml'; … … 144 158 } 145 159 160 /** 161 * @covers WXR_Parser_SimpleXML::parse 162 * @covers WXR_Parser_XML::parse 163 * @covers WXR_Parser_Regex::parse 164 */ 146 165 public function test_wxr_version_1_0() { 147 166 $file = DIR_TESTDATA . '/export/valid-wxr-1.0.xml'; … … 237 256 * 238 257 * @link https://core.trac.wordpress.org/ticket/15203 258 * 259 * @covers WXR_Parser_SimpleXML::parse 260 * @covers WXR_Parser_XML::parse 261 * @covers WXR_Parser_Regex::parse 239 262 */ 240 263 public function test_escaped_cdata_closing_sequence() { … … 270 293 * Ensure that the regex parser can still parse invalid CDATA blocks (i.e. those 271 294 * with "]]>" unescaped within a CDATA section). 295 * 296 * @covers WXR_Parser_Regex::parse 272 297 */ 273 298 public function test_unescaped_cdata_closing_sequence() {
Note: See TracChangeset
for help on using the changeset viewer.