LDAP Account Manager

lamdaemonTest.php

Table of Contents

testRemoteCommand()  : bool
Runs a test case of lamdaemon.
lamRunTestSuite()  : void
Runs all tests for a given server.

Functions

testRemoteCommand()

Runs a test case of lamdaemon.

testRemoteCommand(string $command, bool $stopTest, Remote $remote, string $testText, htmlResponsiveRow $container) : bool
Parameters
$command : string

test command

$stopTest : bool

specifies if test should be run

$remote : Remote

SSH connection

$testText : string

describing text

$container : htmlResponsiveRow

container for HTML output

Return values
bool

true, if errors occurred

lamRunTestSuite()

Runs all tests for a given server.

lamRunTestSuite(string $serverName, string $serverTitle, bool $testQuota, htmlResponsiveRow $container) : void
Parameters
$serverName : string

server ID

$serverTitle : string

server name

$testQuota : bool

true, if Quotas should be checked

$container : htmlResponsiveRow

container for HTML output

Return values
void

Search results