public static function DrupalJSONTest::getInfo

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

File

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

Class

DrupalJSONTest
Tests converting PHP variables to JSON strings and back.

Code

public static function getInfo() {
  return array(
    'name' => 'JSON',
    'description' => 'Perform unit tests on the drupal_json_encode() and drupal_json_decode() functions.',
    'group' => 'System',
  );
}