Make WordPress Core


Ignore:
Timestamp:
07/19/2012 02:41:52 PM (13 years ago)
Author:
nacin
Message:

Make some sense of the original formatting tests from [121].

  • Dissolve the old directories, moving data into /data/formatting/ and tests into /tests/formatting/.
  • Remove the old formatting testcase, instead using straight file() calls functioning as PHPUnit data providers.
  • Bring back the tests for the "funky javascript fix" in the form of testing _convert_urlencoded_to_entities(), removed in [403].

see #42, see #12.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/formatting/RemoveAccents.php

    r909 r915  
    3737    public function test_remove_accents_iso8859() {
    3838        // File is Latin1 encoded
    39         $file = DIR_TESTDATA . DIRECTORY_SEPARATOR . 'formatting' . DIRECTORY_SEPARATOR . 'remove_accents.01.input.txt';
     39        $file = DIR_TESTDATA . '/formatting/remove_accents.01.input.txt';
    4040        $input = file_get_contents( $file );
    4141        $input = trim( $input );
Note: See TracChangeset for help on using the changeset viewer.