UnitTestCase
        
        extends TestCase
    
    
            
            in package
            
        
    
    
    
        
        
    Tags
Table of Contents
- $dbProfile : string
- profile name for jDb
- $fakeServer : ApacheMod
- $needPDO : bool
- indicates if PDO is needed. If yes, PDO will be checked and if not present, tests will be skipped
- _checkIdentical() : mixed
- assertComplexIdentical() : mixed
- assertComplexIdenticalStr() : mixed
- initClassicRequest() : mixed
- initialize a full jelix environment with a coordinator, a request object etc.
- initJelixConfig() : mixed
- init jelix configuration.
- setUp() : void
Properties
$dbProfile
profile name for jDb
    protected
        string
    $dbProfile
     = ''
    
    
    
    Tags
$fakeServer
    protected
    static    ApacheMod
    $fakeServer
     = null
    
    
    
    Tags
$needPDO
indicates if PDO is needed. If yes, PDO will be checked and if not present, tests will be skipped
    protected
        bool
    $needPDO
     = false
    
    
    
    Tags
Methods
_checkIdentical()
    public
                _checkIdentical(mixed $xml, mixed $value, mixed $name, mixed $errormessage) : mixed
    
        Parameters
- $xml : mixed
- $value : mixed
- $name : mixed
- $errormessage : mixed
Tags
Return values
mixed —assertComplexIdentical()
    public
                assertComplexIdentical(mixed $value, mixed $file[, mixed $errormessage = '' ]) : mixed
    
        Parameters
- $value : mixed
- $file : mixed
- $errormessage : mixed = ''
Tags
Return values
mixed —assertComplexIdenticalStr()
    public
                assertComplexIdenticalStr(mixed $value, mixed $string[, mixed $errormessage = '' ]) : mixed
    
        Parameters
- $value : mixed
- $string : mixed
- $errormessage : mixed = ''
Tags
Return values
mixed —initClassicRequest()
initialize a full jelix environment with a coordinator, a request object etc.
    protected
            static    initClassicRequest(string $url[, string $config = 'index/config.ini.php' ][, string $entryPoint = 'index.php' ]) : mixed
        it initializes a coordinator, a classic request object. It sets \jApp::coord(),
Parameters
- $url : string
- 
                    the full requested URL (with http://, the domaine name etc.) 
- $config : string = 'index/config.ini.php'
- 
                    the configuration file to use, as if you were inside an entry point 
- $entryPoint : string = 'index.php'
- 
                    the entrypoint name as indicated into project.xml 
Tags
Return values
mixed —initJelixConfig()
init jelix configuration.
    protected
            static    initJelixConfig([string $config = 'index/config.ini.php' ][, string $entryPoint = 'index.php' ]) : mixed
        If you need to setup a full jelix environment with a coordinator, prefer to call initClassicRequest
Parameters
- $config : string = 'index/config.ini.php'
- 
                    the configuration file to use, as if you were inside an entry point 
- $entryPoint : string = 'index.php'
- 
                    the entrypoint name as indicated into project.xml 
Tags
Return values
mixed —setUp()
    protected
                setUp() : void
    
    
    
    