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

lamTestConnectSSH( String   $server, ) : object

Description

Connects to the given SSH server.

Arguments

Name Type Description Default
$server String

server name (e.g. localhost or localhost,1234)

Return value

Type Description
object handle
Documentation was generated by phpDocumentor 2.1.0 .

Namespaces

  • global

    Packages