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

Public Member Functions

 testDirectRole ($login, array $expectedRoles)
 
 testAccessByRole ($docid, $login, array $expectedAccesses)
 
 dataAccessByRole ()
 
 dataRoleMail ()
 
 dataDirectRole ()
 
 dataRoleByGroup ()
 
- Public Member Functions inherited from TestCaseDcp
 importCsvData ($data)
 
 requiresCoreParamEquals ($paramName, $requiredValue, $markTestIncomplete=true)
 

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 ()
 
- Protected Member Functions inherited from TestCaseDcpCommonFamily
 tearDown ()
 
 setUp ()
 
- Protected Member Functions inherited from TestCaseDcp
 setUp ()
 
 tearDown ()
 
 _DBGetValue ($sql)
 

Detailed Description

Definition at line 15 of file PU_test_dcp_role.php.

Member Function Documentation

dataAccessByRole ( )

Definition at line 123 of file PU_test_dcp_role.php.

dataDirectRole ( )

Definition at line 334 of file PU_test_dcp_role.php.

dataRoleByGroup ( )

Definition at line 353 of file PU_test_dcp_role.php.

dataRoleMail ( )

Definition at line 313 of file PU_test_dcp_role.php.

static getCommonImportFile ( )
staticprotected

import TST_FAMSETVALUE family

Returns
string

Definition at line 23 of file PU_test_dcp_role.php.

testAccessByRole (   $docid,
  $login,
array  $expectedAccesses 
)

dataAccessByRole

Definition at line 111 of file PU_test_dcp_role.php.

+ Here is the call graph for this function:

testDirectRole (   $login,
array  $expectedRoles 
)

test from import dataDirectRole

Definition at line 68 of file PU_test_dcp_role.php.

+ Here is the call graph for this function:

Field Documentation

$outputDir
staticprotected

Definition at line 17 of file PU_test_dcp_role.php.


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