Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
TestRoleMove Class Reference
+ Inheritance diagram for TestRoleMove:
+ Collaboration diagram for TestRoleMove:

Public Member Functions

 testInitGroup ($group)
 
 testInitUser ($user)
 
 testAddUserGToGroupA ($user)
 
 testRemoveUserGFromGroupGAndAddItToGroupE ($user, $group)
 
 testAddGroupGToGroupE ($user, $group)
 
 testRemoveCFromA ($user, $group)
 
 dataInitGroup ()
 
 dataInitUser ()
 
 dataAddUserGToGroupA ()
 
 dataRemoveGUser ()
 
 addGroupGToGroupE ()
 
 dataRemoveCFromA ()
 
- Public Member Functions inherited from TestCaseDcp
 importCsvData ($data)
 
 requiresCoreParamEquals ($paramName, $requiredValue, $markTestIncomplete=true)
 

Protected Member Functions

 analyzeUserGroupAndRole ($user)
 
 analyzeGroupUserAndRole ($group)
 
- Protected Member Functions inherited from TestCaseDcpCommonFamily
 tearDown ()
 
 setUp ()
 
- Protected Member Functions inherited from TestCaseDcp
 setUp ()
 
 tearDown ()
 
 _DBGetValue ($sql)
 

Static Protected Member Functions

static getCommonImportFile ()
 
- Static Protected Member Functions inherited from TestCaseDcpCommonFamily
static getCommonImportFile ()
 
- Static Protected Member Functions inherited from TestCaseDcp
static beginTransaction ()
 
static rollbackTransaction ()
 
static connectUser ($login="admin")
 
static & getAction ()
 
static getApplication ()
 
static resetDocumentCache ()
 
static sudo ($login)
 
static exitSudo ()
 
static importDocument ($file)
 
static importDocuments ($fileList)
 

Static Protected Attributes

static $outputDir
 
- Static Protected Attributes inherited from TestCaseDcp
static $dbaccess
 
static $odb
 
static $user = null
 
static $include_path = null
 
static $testDirectory = "DCPTEST"
 
static $importCsvEnclosure = "auto"
 
static $importCsvSeparator = "auto"
 

Additional Inherited Members

- Static Public Member Functions inherited from TestCaseDcpCommonFamily
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from TestCaseDcp
static setUpBeforeClass ()
 
static log ($text)
 
static setIncludePath ($include_path)
 
static resetIncludePath ()
 

Detailed Description

Definition at line 40 of file PU_test_dcp_role_move.php.

Member Function Documentation

addGroupGToGroupE ( )

Definition at line 341 of file PU_test_dcp_role_move.php.

analyzeGroupUserAndRole (   $group)
protected

Analyze a user against the role and users definition

Parameters
array$usercontains "name" user logical name, roles : array of role logical name, users array of user logical name
Returns
void

Definition at line 167 of file PU_test_dcp_role_move.php.

analyzeUserGroupAndRole (   $user)
protected

Analyze a user against the role and group definition

Parameters
array$usercontains "name" user logical name, roles : array of role logical name, groups array of group logical name
Returns
void

Definition at line 138 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

dataAddUserGToGroupA ( )

Definition at line 304 of file PU_test_dcp_role_move.php.

dataInitGroup ( )

Definition at line 188 of file PU_test_dcp_role_move.php.

dataInitUser ( )

Definition at line 246 of file PU_test_dcp_role_move.php.

dataRemoveCFromA ( )

Definition at line 374 of file PU_test_dcp_role_move.php.

dataRemoveGUser ( )

Definition at line 320 of file PU_test_dcp_role_move.php.

static getCommonImportFile ( )
staticprotected

import TST_FAMSETVALUE family

Returns
string

Definition at line 49 of file PU_test_dcp_role_move.php.

testAddGroupGToGroupE (   $user,
  $group 
)

addGroupGToGroupE

Definition at line 103 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

testAddUserGToGroupA (   $user)

dataAddUserGToGroupA

Definition at line 75 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

testInitGroup (   $group)

dataInitGroup

Definition at line 59 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

testInitUser (   $user)

dataInitUser

Definition at line 67 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

testRemoveCFromA (   $user,
  $group 
)

dataRemoveCFromA

Definition at line 119 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

testRemoveUserGFromGroupGAndAddItToGroupE (   $user,
  $group 
)

dataRemoveGUser

Definition at line 87 of file PU_test_dcp_role_move.php.

+ Here is the call graph for this function:

Field Documentation

$outputDir
staticprotected

Definition at line 42 of file PU_test_dcp_role_move.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen