PHP Класс AppserverIo\Appserver\Core\Scanner\AbstractScannerTest

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Appserver\Core\AbstractTest
Показать файл Открыть проект

Открытые методы

Метод Описание
getDistributionVersionDataProvider ( ) : array Data provider for the testGetDistributionVersion() method.
getRestartCommandDataProvider ( ) : array Data provider for the testGetRestartCommand() method.
testGetDistributionVersion ( string $distribution, string | null $distVersion ) : void Tests the getDistributionVersion() method.
testGetRestartCommand ( string $distribution, string | null $distVersion, string $command ) : void Tests the getDistributionVersion() method.

Описание методов

getDistributionVersionDataProvider() публичный метод

Data provider for the testGetDistributionVersion() method.
public getDistributionVersionDataProvider ( ) : array
Результат array

getRestartCommandDataProvider() публичный метод

Data provider for the testGetRestartCommand() method.
public getRestartCommandDataProvider ( ) : array
Результат array

testGetDistributionVersion() публичный метод

Tests the getDistributionVersion() method.
public testGetDistributionVersion ( string $distribution, string | null $distVersion ) : void
$distribution string The OS to return the restart command for
$distVersion string | null Version of the operating system to get the restart command for
Результат void

testGetRestartCommand() публичный метод

Tests the getDistributionVersion() method.
public testGetRestartCommand ( string $distribution, string | null $distVersion, string $command ) : void
$distribution string The OS to return the restart command for
$distVersion string | null Version of the operating system to get the restart command for
$command string The command expected as result
Результат void