public static function DrupalJSONTest::getInfo

File

drupal/modules/simpletest/tests/common.test, line 2886
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',
  );
}