templates/tests/lamdaemonTest.php
Properties
Description
Tests the lamdaemon script.Functions
lamTestLamdaemon( string $command, boolean $stopTest, \connection $handle, string $testText, \htmlTable $container, ) : boolean
Description
Runs a test case of lamdaemon.Arguments
| Name | Type | Description | Default |
|---|---|---|---|
| $command | string | test command |
|
| $stopTest | boolean | specifies if test should be run |
|
| $handle | \connection | SSH connection |
|
| $testText | string | describing text |
|
| $container | \htmlTable | container for HTML output |
Return value
| Type | Description |
|---|---|
| boolean | true, if errors occured |
lamRunLamdaemonTestSuite( String $serverName, String $serverTitle, boolean $testQuota, \htmlTable $container, ) : n/a
Description
Runs all tests for a given server.Arguments
| Name | Type | Description | Default |
|---|---|---|---|
| $serverName | String | server ID |
|
| $serverTitle | String | server name |
|
| $testQuota | boolean | true, if Quotas should be checked |
|
| $container | \htmlTable | container for HTML output |
Return value
| Type | Description |
|---|---|
| n/a | n/a |
