mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21694 re-enabling all get_string() performance tests
This commit is contained in:
parent
57d8644758
commit
e6cf48d42a
1 changed files with 7 additions and 7 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue