Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Adding test skeletons for the new behaviors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Aug 18, 2015
1 parent 437477e commit 1ab0357
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 0 deletions.
85 changes: 85 additions & 0 deletions tests/TestCase/Model/Behavior/FileStorageBehaviorTest.php
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 tests/TestCase/Model/Behavior/ImageStorageBehaviorTest.php
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() {

}
}

0 comments on commit 1ab0357

Please sign in to comment.