Skip to content

Commit

Permalink
adding tests for plugin file structure changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Aug 2, 2009
1 parent 20b1dd7 commit 593bec8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cake/tests/cases/console/libs/tasks/plugin.test.php
Expand Up @@ -125,9 +125,7 @@ function testBakeFoldersAndFiles() {
$this->assertTrue(is_dir($path . DS . 'models'), 'No models dir %s');
$this->assertTrue(file_exists($path . DS . 'models' . DS . 'behaviors' . DS . 'empty'), 'No empty file %s');
$this->assertTrue(is_dir($path . DS . 'models' . DS . 'datasources'), 'No datasources dir %s');
debug($path . DS . 'models' . DS . 'datsources' . DS . 'empty');
$this->assertTrue(file_exists($path . DS . 'models' . DS . 'datasources' . DS . 'empty'), 'No empty file %s');
die;

$this->assertTrue(is_dir($path . DS . 'views'), 'No views dir %s');
$this->assertTrue(is_dir($path . DS . 'views' . DS . 'helpers'), 'No helpers dir %s');
Expand Down Expand Up @@ -183,7 +181,6 @@ function testBakeFoldersAndFiles() {
$this->assertTrue(file_exists($path . DS . 'vendors' . DS . 'img' . DS . 'empty'), 'No empty file %s');

$this->assertTrue(is_dir($path . DS . 'vendors' . DS . 'shells'), 'No vendors shells dir %s');
$this->assertTrue(file_exists($path . DS . 'vendors' . DS . 'shells' . 'empty'), 'No empty file %s');
$this->assertTrue(is_dir($path . DS . 'vendors' . DS . 'shells' . DS . 'tasks'), 'No vendors shells tasks dir %s');
$this->assertTrue(file_exists($path . DS . 'vendors' . DS . 'shells' . DS . 'tasks' . DS . 'empty'), 'No empty file %s');

Expand Down

0 comments on commit 593bec8

Please sign in to comment.