diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-18 03:34:12 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-18 03:34:12 +0000 |
commit | 5133d2cbb9fb6ae30bccf25c0364008cc797cb87 (patch) | |
tree | 2d2db132b687cb4d3e0966f024f6a889954e5b99 /modules/unit_test/views/kohana_unit_test_cli.php | |
parent | abeec7c7b8e36abd133c9a0245de52eeeaabace6 (diff) |
Remove modules/unit_test/views; we don't use them
Diffstat (limited to 'modules/unit_test/views/kohana_unit_test_cli.php')
-rw-r--r-- | modules/unit_test/views/kohana_unit_test_cli.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/modules/unit_test/views/kohana_unit_test_cli.php b/modules/unit_test/views/kohana_unit_test_cli.php deleted file mode 100644 index b0a9b6d4..00000000 --- a/modules/unit_test/views/kohana_unit_test_cli.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php defined('SYSPATH') OR die('No direct access allowed.'); - -foreach ($results as $class => $methods) -{ - echo "\n\n" . Kohana::lang('unit_test.class') . ': ' . $class . "\n\n"; - printf('%s: %.2f%%', Kohana::lang('unit_test.score'), $stats[$class]['score']); - echo ",\n" . Kohana::lang('unit_test.total'), ': ', $stats[$class]['total'] . ",\n"; - echo Kohana::lang('unit_test.passed'), ': ', $stats[$class]['passed'] . ",\n"; - echo Kohana::lang('unit_test.failed'), ': ', $stats[$class]['failed'] . ",\n"; - echo Kohana::lang('unit_test.errors'), ': ', $stats[$class]['errors'] . "\n\n"; - - if (empty($methods)) - { - echo Kohana::lang('unit_test.no_tests_found'); - } - else - { - foreach ($methods as $method => $result) - { - // Hide passed tests from report - if ($result === TRUE AND $hide_passed === TRUE) - continue; - - echo Kohana::lang('unit_test.method') . ': ' . $method . ': '; - - if ($result === TRUE) - { - echo Kohana::lang('unit_test.passed') . "\n"; - } - else - { - echo Kohana::lang('unit_test.failed') . "\n\t" . $result->getMessage() . "\n"; - } - } - } -}
\ No newline at end of file |