Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CommentsModuleAccessMethodsTest Class Reference
Inheritance diagram for CommentsModuleAccessMethodsTest:
CDbTestCase

Public Member Functions

 setUp ()
 tearDown ()
 testCantDeleteNotLoggedIn ()
 testCanDeleteOwner ()
 testCanDeleteModerator ()
 testCanDeleteManageCommentsPermission ()
 testCanApproveNotLoggedIn ()
 testCantApproveOwner ()
 testCanApproveManageCommentsPermission ()
 testIsEmailModerator ()
- Public Member Functions inherited from CDbTestCase
 __get ($name)
 __call ($name, $params)
 getFixtureManager ()
 getFixtureData ($name)
 getFixtureRecord ($name, $alias)

Public Attributes

 $fixtures

Protected Member Functions

 getUserMock ($methods)

Protected Attributes

 $oldUser
- Protected Attributes inherited from CDbTestCase
 $fixtures = false

Detailed Description

Created by JetBrains PhpStorm. User: andrew Date: 7/13/12 Time: 3:37 PM To change this template use File | Settings | File Templates.

Definition at line 9 of file CommentsModuleAccessMethodsTest.php.

Member Function Documentation

CommentsModuleAccessMethodsTest::setUp ( )

Sets up the fixture before executing a test method. If you override this method, make sure the parent implementation is invoked. Otherwise, the database fixtures will not be managed properly.

Reimplemented from CDbTestCase.

Definition at line 22 of file CommentsModuleAccessMethodsTest.php.

{
$this->oldUser = Yii::app()->user;
}

Member Data Documentation

CommentsModuleAccessMethodsTest::$fixtures
Initial value:
array(
'comments' => 'Comment',
'users' => 'User',
'AuthItem' => ':AuthItem',
'AuthItemChild' => ':AuthItemChild',
'AuthAssignment' => ':AuthAssignment'
)

Definition at line 12 of file CommentsModuleAccessMethodsTest.php.


The documentation for this class was generated from the following file: