diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-11-09 05:38:50 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-11-09 05:38:50 +0000 |
commit | 8f8cdb619727a2b3a511630e72522b88a3f24747 (patch) | |
tree | 45582dcf757969ce9f69ea884cff4e046a16b075 | |
parent | 2ea70d65076e8ddc93968d46c2bd1c707385d0fb (diff) | |
download | brdo-8f8cdb619727a2b3a511630e72522b88a3f24747.tar.gz brdo-8f8cdb619727a2b3a511630e72522b88a3f24747.tar.bz2 |
Further rollback of patch #74645 - hunk got skipped for some reason.
-rw-r--r-- | modules/simpletest/tests/file.test | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test index e383defca..564ecea35 100644 --- a/modules/simpletest/tests/file.test +++ b/modules/simpletest/tests/file.test @@ -542,38 +542,6 @@ class FileDirectoryTest extends FileTestCase { /** - * Tests the file_scan_directory() function. - */ -class FileScanDirectoryTest extends FileTestCase { - /** - * Implementation of getInfo(). - */ - function getInfo() { - return array( - 'name' => t('File scan directory'), - 'description' => t('Tests the file_scan_directory() function.'), - 'group' => t('File'), - ); - } - - /** - * Check that the no-mask parameter is honored. - */ - function testNoMask() { - $path = $this->original_file_directory . '/simpletest'; - - // Grab a listing of all the JS files. - $all_files = file_scan_directory($path, '/javascript*/'); - $this->assertEqual(2, count($all_files), t('Found two, expected javascript files.')); - - // Now use the nomask parameter to filter out the .script file. - $filtered_files = file_scan_directory($path, '/javascript*/', '/.script$/'); - $this->assertEqual(1, count($filtered_files), t('Filtered correctly.')); - } -} - - -/** * Deletion related tests. */ class FileUnmanagedDeleteTest extends FileTestCase { |