PHP Class Jyxo\Beholder\Result

Author: Jan Matoušek
Author: Jaroslav Hanslík
ファイルを表示 Open project: jyxo/php

Public Methods

Method Description
__construct ( string $status, string $description = '' ) Result constructor.
getDescription ( ) : string Returns the description.
getStatus ( ) : string Returns the test status.
getStatusMessage ( ) : string Returns the status message.
isSuccess ( ) : boolean Returns if the test was successful.

Method Details

__construct() public method

Result constructor.
public __construct ( string $status, string $description = '' )
$status string Result status
$description string Status description

getDescription() public method

Returns the description.
public getDescription ( ) : string
return string

getStatus() public method

Returns the test status.
public getStatus ( ) : string
return string

getStatusMessage() public method

Returns the status message.
public getStatusMessage ( ) : string
return string

isSuccess() public method

Returns if the test was successful.
public isSuccess ( ) : boolean
return boolean