summaryrefslogtreecommitdiff
path: root/core/tests
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-16 04:45:52 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-16 04:45:52 +0000
commite82b08db20b9d052bc42ff5eb3bfedbc5aa519a5 (patch)
tree5be9dc7b08449a29c38fde61cece5bc1808e585c /core/tests
parent52a7607336be794e9892dd87a53d09ee97ecb392 (diff)
Make the profiler output more legible by adding some padding to the table.
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/File_Structure_Test.php27
1 files changed, 14 insertions, 13 deletions
diff --git a/core/tests/File_Structure_Test.php b/core/tests/File_Structure_Test.php
index 4fb58916..8b328993 100644
--- a/core/tests/File_Structure_Test.php
+++ b/core/tests/File_Structure_Test.php
@@ -113,21 +113,22 @@ class File_Structure_Test extends Unit_Test_Case {
class GalleryCodeFilterIterator extends FilterIterator {
public function accept() {
- // Skip anything that we didn't write
+ // Skip anything that we didn"t write
$path_name = $this->getInnerIterator()->getPathName();
- $path_name = strtr($path_name, DIRECTORY_SEPARATOR, '/');
+ $path_name = strtr($path_name, DIRECTORY_SEPARATOR, "/");
return !(
strpos($path_name, ".svn") ||
- substr($path_name, -1, 1) == "~" ||
- strpos($path_name, DOCROOT . 'test') !== false ||
- strpos($path_name, DOCROOT . 'var') !== false ||
- strpos($path_name, MODPATH . 'forge') !== false ||
- strpos($path_name, MODPATH . 'kodoc') !== false ||
- strpos($path_name, MODPATH . 'mptt') !== false ||
- strpos($path_name, MODPATH . 'unit_test') !== false ||
- strpos($path_name, MODPATH . 'gallery_unit_test/views/kohana_error_page.php') !== false ||
- strpos($path_name, MODPATH . 'gallery_unit_test/views/kohana_unit_test.php') !== false ||
- strpos($path_name, MODPATH . 'user/libraries/PasswordHash') !== false ||
- strpos($path_name, SYSPATH) !== false);
+ strpos($path_name, "core/views/kohana_profiler.php") !== false ||
+ strpos($path_name, DOCROOT . "test") !== false ||
+ strpos($path_name, DOCROOT . "var") !== false ||
+ strpos($path_name, MODPATH . "forge") !== false ||
+ strpos($path_name, MODPATH . "gallery_unit_test/views/kohana_error_page.php") !== false ||
+ strpos($path_name, MODPATH . "gallery_unit_test/views/kohana_unit_test.php") !== false ||
+ strpos($path_name, MODPATH . "kodoc") !== false ||
+ strpos($path_name, MODPATH . "mptt") !== false ||
+ strpos($path_name, MODPATH . "unit_test") !== false ||
+ strpos($path_name, MODPATH . "user/libraries/PasswordHash") !== false ||
+ strpos($path_name, SYSPATH) !== false ||
+ substr($path_name, -1, 1) == "~");
}
}