Make WordPress Core


Ignore:
Timestamp:
07/09/2012 03:32:24 PM (14 years ago)
Author:
nacin
Message:

Convert knownWPBug and knownUTBug to @ticket annotations. fixes #102.

Allows for an extra description to be included with the annotation,
which will be passed to markTestSkipped().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_includes_balance_tags.php

    r883 r894  
    2828                }
    2929        }
    30 
    31         // If a recognized valid single tag appears unclosed, it should get self-closed
     30 
     31        /**
     32         * If a recognized valid single tag appears unclosed, it should get self-closed
     33         *
     34         * @ticket 1597
     35         */
    3236        function test_selfcloses_unclosed_known_single_tags() {
    33                 $this->knownWPBug( 1597 );
    3437
    3538                foreach ( $this->single_tags as $tag ) {
     
    4750        }
    4851
    49         // If a recognized valid single tag is given a closing tag, the closing tag
    50         //   should get removed and tag should be self-closed.
     52        /**
     53         * If a recognized valid single tag is given a closing tag, the closing tag
     54         *   should get removed and tag should be self-closed.
     55         *
     56         * @ticket 1597
     57         */
    5158        function test_selfcloses_known_single_tags_having_closing_tag() {
    52                 $this->knownWPBug( 1597 );
    5359
    5460                foreach ( $this->single_tags as $tag ) {
     
    5763        }
    5864
     65        /**
     66         * @ticket 1597
     67         */
    5968        function test_closes_unknown_single_tags_with_closing_tag() {
    60                 $this->knownWPBug( 1597 );
    6169
    6270                $inputs = array(
     
    137145        }
    138146
     147        /**
     148         * @ticket 20401
     149         */
    139150        function test_allows_immediately_nested_object_tags() {
    140                 $this->knownWPBug( 20401 );
    141151
    142152                $object = '<object id="obj1"><param name="param1"/><object id="obj2"><param name="param2"/></object></object>';
Note: See TracChangeset for help on using the changeset viewer.