public static function CommonXssUnitTest::getInfo

7.x common.test public static CommonXssUnitTest::getInfo()

File

drupal-7.x/modules/simpletest/tests/common.test, line 360
Tests for common.inc functionality.

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',
  );
}