summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-03-09 14:31:19 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-03-09 14:31:19 +0100
commit637362a5b6bfc635c165b8144fb466348cd8e280 (patch)
treecfeeda7641f18cce3bec99c711edaf65feeae154 /application/controllers
parent9cff09180700479b2618d4908aa2877e03404564 (diff)
Test: Prefix output with testcase name
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/tools.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/tools.php b/application/controllers/tools.php
index 7c8538cfb..ca79ba004 100644
--- a/application/controllers/tools.php
+++ b/application/controllers/tools.php
@@ -80,6 +80,7 @@ class Tools extends MY_Controller {
foreach ($refl->getMethods() as $method) {
if (strpos($method->name, "test_") === 0) {
try {
+ $test->setTestNamePrefix($method->name." - ");
$test->init();
$test->{$method->name}();
$test->cleanup();