MDL-21694 re-enabling all get_string() performance tests

This commit is contained in:
David Mudrak 2010-03-29 15:20:40 +00:00
parent 57d8644758
commit e6cf48d42a

View file

@ -88,13 +88,13 @@ try {
time_log_file('admin_index.php_old_get_string.log.php');
time_log_file('course_view.php_old_get_string.log.php');
// test_one_case('info', '', null);
// test_one_case('attemptquiznow', 'quiz', null);
// $a = new stdClass;
// $a->firstname = 'Martin';
// $a->lastname = 'Dougiamas';
// test_one_case('fullnamedisplay', '', $a);
// test_one_case('stringthatdoesnotexistinanyfile', 'qtype_shortanswer', null);
test_one_case('info', '', null);
test_one_case('attemptquiznow', 'quiz', null);
$a = new stdClass;
$a->firstname = 'Martin';
$a->lastname = 'Dougiamas';
test_one_case('fullnamedisplay', '', $a);
test_one_case('stringthatdoesnotexistinanyfile', 'qtype_shortanswer', null);
}
} catch(Exception $e) { // Did they really leave finally out of PHP?