PHP Class AppserverIo\Appserver\Core\Scanner\AbstractScannerTest

Inheritance: extends AppserverIo\Appserver\Core\AbstractTest
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
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.

Method Details

getDistributionVersionDataProvider() public méthode

Data provider for the testGetDistributionVersion() method.

getRestartCommandDataProvider() public méthode

Data provider for the testGetRestartCommand() method.
public getRestartCommandDataProvider ( ) : array
Résultat array

testGetDistributionVersion() public méthode

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
Résultat void

testGetRestartCommand() public méthode

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
Résultat void