WordPress.org

Make WordPress Core

Changeset 830 in tests


Ignore:
Timestamp:
07/01/12 10:20:09 (22 months ago)
Author:
duck_
Message:

@group annotations must be in DocBlock. See #93.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testcase/jacob/TestFormatting.php

    r828 r830  
    11<?php 
    22 
    3 /* 
    4 From http://wordpress.svn.dragonu.net/unittest/wp-unittest/UnitTests/ 
    5 */ 
    6 abstract class _WPFormattingTest extends WP_UnitTestCase { 
     3abstract class WP_Formatting_UnitTestCase extends WP_UnitTestCase { 
    74    function file_test($name, $callback) { 
    85        $input = $this->get_testdata($name . ".input.txt"); 
     
    3835 * @group formatting 
    3936 */ 
    40 class Test_Seems_UTF8 extends _WPFormattingTest { 
     37class Test_Seems_UTF8 extends WP_Formatting_UnitTestCase { 
    4138    /* 
    4239     * `seems_utf8` returns true for utf-8 strings, false otherwise. 
     
    6158} 
    6259 
    63 /* 
     60/** 
    6461 * @group formatting 
    6562 */ 
    66 class Test_UTF8_URI_Encode extends _WPFormattingTest { 
     63class Test_UTF8_URI_Encode extends WP_Formatting_UnitTestCase { 
    6764    /* 
    6865    Non-ASCII UTF-8 characters should be percent encoded. Spaces etc. 
     
    8784} 
    8885 
    89 /* 
     86/** 
    9087 * @group formatting 
    9188 */ 
    92 class Test_WP_ISO_Descrambler extends _WPFormattingTest { 
     89class Test_WP_ISO_Descrambler extends WP_Formatting_UnitTestCase { 
    9390    /* 
    9491     * Decodes text in RFC2047 "Q"-encoding, e.g. 
     
    10097} 
    10198 
    102 /* 
     99/** 
    103100 * @group formatting 
    104101 */ 
    105 class Test_Ent2NCR extends _WPFormattingTest { 
     102class Test_Ent2NCR extends WP_Formatting_UnitTestCase { 
    106103    function test_converts_named_entities_to_numeric_character_references() { 
    107104        $data = $this->get_testdata("entities.txt"); 
Note: See TracChangeset for help on using the changeset viewer.