This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding test skeletons for the new behaviors.
- Loading branch information
Florian Krämer
committed
Aug 18, 2015
1 parent
437477e
commit 1ab0357
Showing
2 changed files
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?php | ||
namespace Burzum\FileStorage\Test\TestCase\Storage; | ||
|
||
use Cake\ORM\TableRegistry; | ||
use Cake\TestSuite\TestCase; | ||
|
||
class FileStorageBehaviorTest extends TestCase { | ||
|
||
/** | ||
* Fixtures | ||
* | ||
* @var array | ||
*/ | ||
public $fixtures = array( | ||
'plugin.Burzum\FileStorage.FileStorage' | ||
); | ||
|
||
/** | ||
* setUp | ||
* | ||
* @return void | ||
*/ | ||
public function setUp() { | ||
parent::setUp(); | ||
} | ||
|
||
/** | ||
* tearDown | ||
* | ||
* @return void | ||
*/ | ||
public function tearDown() { | ||
parent::tearDown(); | ||
} | ||
|
||
/** | ||
* testDeleteOldFileOnSave | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testDeleteOldFileOnSave() { | ||
|
||
} | ||
|
||
/** | ||
* testAfterDelete | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testAfterDelete() { | ||
|
||
} | ||
|
||
/** | ||
* testBeforeDelete | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testBeforeDelete() { | ||
|
||
} | ||
|
||
/** | ||
* testAfterSave | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testAfterSave() { | ||
|
||
} | ||
|
||
/** | ||
* testBeforeSave | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testBeforeSave() { | ||
|
||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
tests/TestCase/Model/Behavior/ImageStorageBehaviorTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?php | ||
namespace Burzum\FileStorage\Test\TestCase\Storage; | ||
|
||
use Cake\ORM\TableRegistry; | ||
use Cake\TestSuite\TestCase; | ||
|
||
class ImageStorageBehaviorTest extends TestCase { | ||
|
||
/** | ||
* Fixtures | ||
* | ||
* @var array | ||
*/ | ||
public $fixtures = array( | ||
'plugin.Burzum\FileStorage.FileStorage' | ||
); | ||
|
||
/** | ||
* setUp | ||
* | ||
* @return void | ||
*/ | ||
public function setUp() { | ||
parent::setUp(); | ||
} | ||
|
||
/** | ||
* tearDown | ||
* | ||
* @return void | ||
*/ | ||
public function tearDown() { | ||
parent::tearDown(); | ||
} | ||
|
||
/** | ||
* testAfterDelete | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testAfterDelete() { | ||
|
||
} | ||
|
||
/** | ||
* testBeforeDelete | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testBeforeDelete() { | ||
|
||
} | ||
|
||
/** | ||
* testAfterSave | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testAfterSave() { | ||
|
||
} | ||
|
||
/** | ||
* testBeforeSave | ||
* | ||
* @todo implement me! | ||
* @return void | ||
*/ | ||
public function testBeforeSave() { | ||
|
||
} | ||
} |