Changeset 53864
- Timestamp:
- 08/08/2022 11:22:43 PM (2 years ago)
- Location:
- trunk/tests/phpunit/tests/import
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/import.php
r52010 r53864 34 34 } 35 35 36 /** 37 * @covers WP_Import::import 38 */ 36 39 public function test_small_import() { 37 40 global $wpdb; … … 202 205 } 203 206 207 /** 208 * @covers WP_Import::import 209 */ 204 210 public function test_double_import() { 205 211 $authors = array( … … 243 249 } 244 250 251 /** 252 * @covers ::get_importers 253 */ 245 254 public function test_ordering_of_importers() { 246 255 global $wp_importers; … … 268 277 /** 269 278 * @ticket 21007 279 * 280 * @covers WP_Import::import 270 281 */ 271 282 public function test_slashes_should_not_be_stripped() { -
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() { -
trunk/tests/phpunit/tests/import/postmeta.php
r52010 r53864 5 5 /** 6 6 * @group import 7 * 8 * @covers WP_Import::import 7 9 */ 8 10 class Tests_Import_Postmeta extends WP_Import_UnitTestCase {
Note: See TracChangeset
for help on using the changeset viewer.