PHP Class Jyxo\Beholder\TestCase\Pgsql

Author: Jaroslav HanslĂ­k
Inheritance: extends Jyxo\Beholder\TestCase
Show file Open project: jyxo/php

Public Methods

Method Description
__construct ( string $description, string $query, string $database, string $host = 'localhost', string $user = '', string $password = '', integer $port = 5432, integer $timeout = 2 ) Constructor.
run ( ) : Result Performs the test.

Method Details

__construct() public method

Constructor.
public __construct ( string $description, string $query, string $database, string $host = 'localhost', string $user = '', string $password = '', integer $port = 5432, integer $timeout = 2 )
$description string Test description
$query string Tested query
$database string Database name
$host string Hostname
$user string Username
$password string Password
$port integer Port
$timeout integer Timeout

run() public method

Performs the test.
public run ( ) : Result
return Jyxo\Beholder\Result