PHP 클래스 AppserverIo\Appserver\Core\Scanner\AbstractScannerTest

상속: extends AppserverIo\Appserver\Core\AbstractTest
파일 보기 프로젝트 열기: appserver-io/appserver

공개 메소드들

메소드 설명
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.

getRestartCommandDataProvider() 공개 메소드

Data provider for the testGetRestartCommand() method.

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