\Pydio\TestsAbstractTest

Abstract test class Abstract class for diagnostic tests. These tests are run at the first application start up, and their results are displayed in the Diagnostic page. It's possible to re-run the full diagnostic by calling the runTests.php script (first line needs to be commented first).

Summary

Methods
Properties
Constants
__construct()
doTest()
doRepositoryTest()
returnBytes()
$name
$failedInfo
$resultOutput
$testedParas
$failedLevel
$params
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : 

The test name

Type

$failedInfo

$failedInfo : 

The test information when failed

Type

$resultOutput

$resultOutput : 

The test results output (used for report)

Type

$testedParas

$testedParas : 

Tested params - When used as a diagnostic tool, can store variables used by the test

Type

$failedLevel

$failedLevel : 

The test level when failed (warning, info or error, default to error)

Type

$params

$params : 

The test parameters

Type

Methods

__construct()

__construct(  $name,   $failedInfo, null  $params = NULL) 

AbstractTest constructor.

Parameters

$name
$failedInfo
null $params

doTest()

doTest() : Boolean

Perform the test, should be overwritten in concrete classes

Returns

Boolean

returnBytes()

returnBytes(String  $val) : Integer

Utilitary to convert php config to numerical values.

Parameters

String $val

Returns

Integer