summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-04-22 17:02:17 +0200
committerGreg Aker <greg.aker@ellislab.com>2011-04-22 17:02:17 +0200
commit5de50ec2fefc7dad1fd768573ca3f47538fd8988 (patch)
treef904f13cd2939f52cad278f7e08026ffc330f3e6
parentfd5667c9d74549bb92f0ffbd74262e525e4830f9 (diff)
Updates to test Bootstrap
-rw-r--r--tests/Bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index db5ffbd52..657671ab0 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -21,8 +21,10 @@ require_once $dir.'/lib/ci_testcase.php';
// Omit files in the PEAR & PHP Paths from ending up in the coverage report
PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(PEAR_INSTALL_DIR);
PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(PHP_LIBDIR);
+PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(PROJECT_BASE.'tests');
// Omit Tests from the coverage reports.
-// PHP_CodeCoverage_Filter::getInstance()
+// PHP_CodeCoverage_Filter::getInstance()->addDirectoryToWhiteList('../system/core');
+PHP_CodeCoverage_Filter::getInstance()->addFileToBlackList('../system/core/CodeIgniter.php');
unset($dir); \ No newline at end of file