PHP Class Jyxo\Input\FactoryTest

Author: Jakub Tománek
Author: Ondřej Nešpor
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: jyxo/php

Public Methods

Method Description
testCustomFilterPrefix ( ) Tests creating a filter instance with a custom prefix.
testCustomValidatorPrefix ( ) Tests creating a validator instance with a custom prefix.
testDoubleParam ( ) Tests creating an object with more parameters.
testGettingByInstances ( ) Tests "creating" an object defined by an instance.
testInexistentFilter ( ) Tests creating a non-existent filter.
testInexistentValidator ( ) Tests creating a non-existent filter.
testNoParam ( ) Tests creating an object with 0 parameters.
testSingleParam ( ) Tests creating an object with 1 parameter.

Protected Methods

Method Description
setUp ( ) Sets up the test.
tearDown ( ) Finishes the test.

Method Details

setUp() protected method

Sets up the test.
protected setUp ( )

tearDown() protected method

Finishes the test.
protected tearDown ( )

testCustomFilterPrefix() public method

Tests creating a filter instance with a custom prefix.

testCustomValidatorPrefix() public method

Tests creating a validator instance with a custom prefix.

testDoubleParam() public method

Tests creating an object with more parameters.
public testDoubleParam ( )

testGettingByInstances() public method

Tests "creating" an object defined by an instance.

testInexistentFilter() public method

Tests creating a non-existent filter.

testInexistentValidator() public method

Tests creating a non-existent filter.

testNoParam() public method

Tests creating an object with 0 parameters.
public testNoParam ( )

testSingleParam() public method

Tests creating an object with 1 parameter.
public testSingleParam ( )