From 5133d2cbb9fb6ae30bccf25c0364008cc797cb87 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 18 May 2009 03:34:12 +0000 Subject: Remove modules/unit_test/views; we don't use them --- modules/unit_test/views/kohana_unit_test.php | 170 ----------------------- modules/unit_test/views/kohana_unit_test_cli.php | 36 ----- 2 files changed, 206 deletions(-) delete mode 100644 modules/unit_test/views/kohana_unit_test.php delete mode 100644 modules/unit_test/views/kohana_unit_test_cli.php (limited to 'modules/unit_test') diff --git a/modules/unit_test/views/kohana_unit_test.php b/modules/unit_test/views/kohana_unit_test.php deleted file mode 100644 index c2a98adc..00000000 --- a/modules/unit_test/views/kohana_unit_test.php +++ /dev/null @@ -1,170 +0,0 @@ - - - -
- - $methods): -text::alternate(); - -?> - - - - - - - - - - - - - - $result): - - // Hide passed tests from report - if ($result === TRUE AND $hide_passed === TRUE) - continue; - - ?> - - - - - - - - - - - - - - - - - - - - - - - - -
- | - , - , - , - -
- -
getMessage()) ?>
- getFile()) ?> ( getLine() ?>) - - getDebug() !== NULL): ?> -
getDebug()), ') ', html::specialchars(var_export($result->getDebug(), TRUE)) ?>
- - -
- -
getMessage()) ?>
- getFile()) ?> ( getLine() ?>) -
- - - -
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 @@ - $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 -- cgit v1.2.3