PHP Class Scalr\Tests\Functional\Ui\Controller\Farms\BuilderTest

Since: 02.12.2016
Author: Sergy Goncharov ([email protected])
Inheritance: extends Scalr\Tests\WebTestCase
Show file Open project: scalr/scalr

Public Methods

Method Description
providerCheckBounds ( )
testCheckBounds ( boolean $valid, string $minBound, string $maxBound, string $validator, boolean $allowEqual = false, mixed $msg = false )

Protected Methods

Method Description
setUp ( )
tearDown ( )

Method Details

providerCheckBounds() public method

public providerCheckBounds ( )

setUp() protected method

See also: Scalr\Tests\WebTestCase::setUp()
protected setUp ( )

tearDown() protected method

See also: Scalr\Tests\WebTestCase::tearDown()
protected tearDown ( )

testCheckBounds() public method

public testCheckBounds ( boolean $valid, string $minBound, string $maxBound, string $validator, boolean $allowEqual = false, mixed $msg = false )
$valid boolean Expected result of testing.
$minBound string Minimum bound.
$maxBound string Maximum bound.
$validator string Numeric type of bounds. [integer|float=default]
$allowEqual boolean Is equal bounds allowed.
$msg mixed Custom Error message.