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

Public Member Functions

 testGoodImportDocument ($documentFile, array $expects)
 
 testErrorImportDocument ($familyFile, array $expectedErrors)
 
 testReturnOfImportDocument ($data)
 
 dataGoodDocFiles ()
 
 dataBadDocFiles ()
 
 dataReturnOfImportDocument ()
 
- 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)
 

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)
 
- 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"
 

Detailed Description

Definition at line 15 of file PU_test_dcp_importDocuments.php.

Member Function Documentation

dataBadDocFiles ( )

Definition at line 184 of file PU_test_dcp_importDocuments.php.

dataGoodDocFiles ( )

Definition at line 128 of file PU_test_dcp_importDocuments.php.

dataReturnOfImportDocument ( )

Definition at line 249 of file PU_test_dcp_importDocuments.php.

static getCommonImportFile ( )
staticprotected

import TST_FAMSETVALUE family

Returns
string

Definition at line 22 of file PU_test_dcp_importDocuments.php.

testErrorImportDocument (   $familyFile,
array  $expectedErrors 
)

dataBadDocFiles —depends testGoodImportDocument

Definition at line 61 of file PU_test_dcp_importDocuments.php.

+ Here is the call graph for this function:

testGoodImportDocument (   $documentFile,
array  $expects 
)

test import simple document dataGoodDocFiles

Definition at line 30 of file PU_test_dcp_importDocuments.php.

+ Here is the call graph for this function:

testReturnOfImportDocument (   $data)

dataReturnOfImportDocument

Definition at line 83 of file PU_test_dcp_importDocuments.php.

+ Here is the call graph for this function:


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