From e6cf48d42a4317fe8a43672e7d3228a1e8cd623c Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 29 Mar 2010 15:20:40 +0000 Subject: [PATCH] MDL-21694 re-enabling all get_string() performance tests --- lib/simpletest/getstringperformancetester.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/simpletest/getstringperformancetester.php b/lib/simpletest/getstringperformancetester.php index 0986d9ae2b0..b198ae949b2 100644 --- a/lib/simpletest/getstringperformancetester.php +++ b/lib/simpletest/getstringperformancetester.php @@ -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?