Changeset 52010 for trunk/tests/phpunit/tests/import/parser.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/parser.php
r51568 r52010 7 7 */ 8 8 class Tests_Import_Parser extends WP_Import_UnitTestCase { 9 function set_up() {9 public function set_up() { 10 10 parent::set_up(); 11 11 … … 25 25 } 26 26 27 function test_malformed_wxr() {27 public function test_malformed_wxr() { 28 28 $file = DIR_TESTDATA . '/export/malformed.xml'; 29 29 … … 37 37 } 38 38 39 function test_invalid_wxr() {39 public function test_invalid_wxr() { 40 40 $f1 = DIR_TESTDATA . '/export/missing-version-tag.xml'; 41 41 $f2 = DIR_TESTDATA . '/export/invalid-version-tag.xml'; … … 51 51 } 52 52 53 function test_wxr_version_1_1() {53 public function test_wxr_version_1_1() { 54 54 $file = DIR_TESTDATA . '/export/valid-wxr-1.1.xml'; 55 55 … … 144 144 } 145 145 146 function test_wxr_version_1_0() {146 public function test_wxr_version_1_0() { 147 147 $file = DIR_TESTDATA . '/export/valid-wxr-1.0.xml'; 148 148 … … 238 238 * @link https://core.trac.wordpress.org/ticket/15203 239 239 */ 240 function test_escaped_cdata_closing_sequence() {240 public function test_escaped_cdata_closing_sequence() { 241 241 $file = DIR_TESTDATA . '/export/crazy-cdata-escaped.xml'; 242 242 … … 271 271 * with "]]>" unescaped within a CDATA section). 272 272 */ 273 function test_unescaped_cdata_closing_sequence() {273 public function test_unescaped_cdata_closing_sequence() { 274 274 $file = DIR_TESTDATA . '/export/crazy-cdata.xml'; 275 275
Note: See TracChangeset
for help on using the changeset viewer.