public static function CoderUpgradeUnitTestCase::getInfo1 in Coder 7.2
Same name and namespace in other branches
- 7 coder_upgrade/coder_upgrade.test \CoderUpgradeUnitTestCase::getInfo1()
2 calls to CoderUpgradeUnitTestCase::getInfo1()
- CoderUpgradeUnitTestCase1::getInfo in coder_upgrade/coder_upgrade.test
- CoderUpgradeUnitTestCase2::getInfo in coder_upgrade/coder_upgrade.test
File
- coder_upgrade/coder_upgrade.test, line 15
Class
- CoderUpgradeUnitTestCase
- Unit tests for the upgrade routines.
Code
public static function getInfo1($subdir) {
$settings = l('here', 'admin/config/development/coder/upgrade/settings');
$msg1 = '';
$msg2 = '';
$msg3 = " NOTICE: During this test the \"Preserve array formatting\" option will enabled for this module. Afterward, this setting may be disabled {$settings}.";
$msg = "WARNING: Do not run this test if any of these options is checked for this module: \"Replace files,\" \"Enable debug output from coder upgrade,\" or \"Enable debug output from grammar parser.\" Change these setting {$settings}.";
$dir = variable_get('coder_upgrade_dir_new', DEADWOOD_OLD);
return array(
'name' => "Run interface ({$subdir})",
'description' => "Test the output from the upgrade routines on the files in the files/{$dir}/{$subdir} directory.{$msg}{$msg1}{$msg2}{$msg3}",
'group' => 'Coder Upgrade',
);
}