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

Public Member Functions

 testErrorXML ($layoutFile, array $data, $expectedCode)
 
 testSimpleLayout ($instances, $lname, array $templates)
 
 testErrorHtmlLayout ($instances, $lname, array $templates, $expectedCode)
 
 testGoodXML ($layoutFile, array $data)
 
 testInvalidXMLChars ($data)
 
 dataErrorXML ()
 
 dataGoodXML ()
 
 dataErrorHtmlLayout ()
 
 dataSimpleLayout ()
 
 dataInvalidXMLChars ()
 
- Public Member Functions inherited from TestCaseDcp
 importCsvData ($data)
 
 requiresCoreParamEquals ($paramName, $requiredValue, $markTestIncomplete=true)
 

Static Public Member Functions

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

 tearDown ()
 
 setUp ()
 
 saveFileResult ($file, $name)
 
- Protected Member Functions inherited from TestCaseDcp
 setUp ()
 
 tearDown ()
 
 _DBGetValue ($sql)
 

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

Detailed Description

Definition at line 15 of file PU_test_dcp_ooolayout.php.

Member Function Documentation

dataErrorHtmlLayout ( )

Definition at line 230 of file PU_test_dcp_ooolayout.php.

dataErrorXML ( )

Definition at line 164 of file PU_test_dcp_ooolayout.php.

dataGoodXML ( )

Definition at line 202 of file PU_test_dcp_ooolayout.php.

dataInvalidXMLChars ( )

Definition at line 292 of file PU_test_dcp_ooolayout.php.

dataSimpleLayout ( )

Definition at line 252 of file PU_test_dcp_ooolayout.php.

saveFileResult (   $file,
  $name 
)
protected

Definition at line 44 of file PU_test_dcp_ooolayout.php.

setUp ( )
protected

Definition at line 23 of file PU_test_dcp_ooolayout.php.

static setUpBeforeClass ( )
static

Definition at line 27 of file PU_test_dcp_ooolayout.php.

+ Here is the call graph for this function:

tearDown ( )
protected

Definition at line 19 of file PU_test_dcp_ooolayout.php.

static tearDownAfterClass ( )
static

Definition at line 38 of file PU_test_dcp_ooolayout.php.

+ Here is the call graph for this function:

testErrorHtmlLayout (   $instances,
  $lname,
array  $templates,
  $expectedCode 
)

dataErrorHtmlLayout

Parameters
string$instances
string$lname
array$templates
string$expectedCode
Returns
void

Definition at line 107 of file PU_test_dcp_ooolayout.php.

+ Here is the call graph for this function:

testErrorXML (   $layoutFile,
array  $data,
  $expectedCode 
)

dataErrorXML

Parameters
string$layoutFile
array$data
Returns
void

Definition at line 54 of file PU_test_dcp_ooolayout.php.

testGoodXML (   $layoutFile,
array  $data 
)

dataGoodXML

Parameters
string$layoutFile
array$data
Returns
void

Definition at line 133 of file PU_test_dcp_ooolayout.php.

testInvalidXMLChars (   $data)

dataInvalidXMLChars

Definition at line 145 of file PU_test_dcp_ooolayout.php.

+ Here is the call graph for this function:

testSimpleLayout (   $instances,
  $lname,
array  $templates 
)

dataSimpleLayout

Parameters
string$instances
string$lname
array$templates

Definition at line 75 of file PU_test_dcp_ooolayout.php.

+ Here is the call graph for this function:

Field Documentation

$outputDir
staticprotected

Definition at line 17 of file PU_test_dcp_ooolayout.php.


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