-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
575478d
commit 2a50b8a
Showing
3 changed files
with
147 additions
and
17 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
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,52 @@ | ||
<?php | ||
/** | ||
* TagsController Test Case | ||
* | ||
* @author Ryuji AMANO <ryuji@ryus.co.jp> | ||
* @link http://www.netcommons.org NetCommons Project | ||
* @license http://www.netcommons.org/license.txt NetCommons License | ||
*/ | ||
|
||
App::uses('TagsController', 'Tags.Controller'); | ||
|
||
/** | ||
* Summary for TagsController Test Case | ||
*/ | ||
class TagsControllerTest extends ControllerTestCase { | ||
|
||
/** | ||
* Fixtures | ||
* | ||
* @var array | ||
*/ | ||
public $fixtures = array( | ||
'plugin.tags.tag', | ||
//'plugin.tags.block', | ||
//'plugin.tags.user', | ||
//'plugin.tags.role', | ||
//'plugin.tags.group', | ||
//'plugin.tags.room', | ||
//'plugin.tags.space', | ||
//'plugin.tags.box', | ||
//'plugin.tags.page', | ||
//'plugin.tags.language', | ||
//'plugin.tags.groups_language', | ||
//'plugin.tags.groups_user', | ||
//'plugin.tags.user_attribute', | ||
//'plugin.tags.user_attributes_user', | ||
//'plugin.tags.user_select_attribute', | ||
//'plugin.tags.user_select_attributes_user', | ||
//'plugin.tags.site_setting', | ||
//'plugin.tags.frame', | ||
//'plugin.tags.plugin' | ||
); | ||
|
||
/** | ||
* testSearch method | ||
* | ||
* @return void | ||
*/ | ||
public function testSearch() { | ||
} | ||
|
||
} |
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,86 @@ | ||
<?php | ||
/** | ||
* Tag Test Case | ||
* | ||
* @author Ryuji AMANO <ryuji@ryus.co.jp> | ||
* @link http://www.netcommons.org NetCommons Project | ||
* @license http://www.netcommons.org/license.txt NetCommons License | ||
*/ | ||
|
||
App::uses('Tag', 'Tags.Model'); | ||
|
||
/** | ||
* Summary for Tag Test Case | ||
*/ | ||
class TagTest extends CakeTestCase { | ||
|
||
/** | ||
* Fixtures | ||
* | ||
* @var array | ||
*/ | ||
public $fixtures = array( | ||
'plugin.tags.tag', | ||
//'plugin.tags.block', | ||
//'plugin.tags.user', | ||
//'plugin.tags.role', | ||
//'plugin.tags.group', | ||
//'plugin.tags.room', | ||
//'plugin.tags.space', | ||
//'plugin.tags.box', | ||
//'plugin.tags.page', | ||
//'plugin.tags.language', | ||
//'plugin.tags.groups_language', | ||
//'plugin.tags.groups_user', | ||
//'plugin.tags.user_attribute', | ||
//'plugin.tags.user_attributes_user', | ||
//'plugin.tags.user_select_attribute', | ||
//'plugin.tags.user_select_attributes_user' | ||
); | ||
|
||
/** | ||
* setUp method | ||
* | ||
* @return void | ||
*/ | ||
public function setUp() { | ||
parent::setUp(); | ||
$this->Tag = ClassRegistry::init('Tags.Tag'); | ||
} | ||
|
||
/** | ||
* tearDown method | ||
* | ||
* @return void | ||
*/ | ||
public function tearDown() { | ||
unset($this->Tag); | ||
|
||
parent::tearDown(); | ||
} | ||
|
||
/** | ||
* testGetTagsByContentId method | ||
* | ||
* @return void | ||
*/ | ||
public function testGetTagsByContentId() { | ||
} | ||
|
||
/** | ||
* testSaveTags method | ||
* | ||
* @return void | ||
*/ | ||
public function testSaveTags() { | ||
} | ||
|
||
/** | ||
* testCleanup method | ||
* | ||
* @return void | ||
*/ | ||
public function testCleanup() { | ||
} | ||
|
||
} |