function CommonXssUnitTest::getInfo

File

modules/simpletest/tests/common.test, line 491

Class

CommonXssUnitTest
Tests for check_plain(), filter_xss(), format_string(), and check_url().

Code

public static function getInfo() {
    return array(
        'name' => 'String filtering tests',
        'description' => 'Confirm that check_plain(), filter_xss(), format_string() and check_url() work correctly, including invalid multi-byte sequences.',
        'group' => 'System',
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.