Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Executor
  • Result
  • TestCase
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Result

Test result.

Namespace: Jyxo\Beholder
Category: Jyxo
Package: Jyxo\Beholder
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Matoušek
Author: Jaroslav Hanslík
Located at Beholder/Result.php
Methods summary
public
# __construct( string $status, string $description = '' )

Result constructor.

Result constructor.

Parameters

$status
string
Result status
$description
string
Status description

Throws

InvalidArgumentException
On an unknown status
public boolean
# isSuccess( )

Returns if the test was successful.

Returns if the test was successful.

Returns

boolean
public string
# getStatus( )

Returns the test status.

Returns the test status.

Returns

string
public string
# getStatusMessage( )

Returns the status message.

Returns the status message.

Returns

string
public string
# getDescription( )

Returns the description.

Returns the description.

Returns

string
Constants summary
string SUCCESS 'success'
#

Success.

Success.

string FAILURE 'failure'
#

Failure.

Failure.

string NOT_APPLICABLE 'not-applicable'
#

Not-applicable test.

Not-applicable test.

Jyxo PHP Library API documentation generated by ApiGen 2.3.0