public static function NodeTitleXSSTestCase::getInfo

7.x node.test public static NodeTitleXSSTestCase::getInfo()

File

drupal-7.x/modules/node/node.test, line 712
Tests for node.module.

Class

NodeTitleXSSTestCase
Tests XSS functionality with a node entity.

Code

public static function getInfo() {
  return array(
    'name' => 'Node title XSS filtering',
    'description' => 'Create a node with dangerous tags in its title and test that they are escaped.',
    'group' => 'Node',
  );
}