public static function DrupalJSONTest::getInfo in Drupal 7
File
- modules/
simpletest/ tests/ common.test, line 2951 - 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',
);
}