Open Journal Systems  3.3.0
FormValidatorTest Class Reference
Inheritance diagram for FormValidatorTest:
PKPTestCase

Public Member Functions

 testConstructor ()
 
 testGetFieldValue ()
 
 testGetMessage ()
 
 testIsEmptyAndOptional ()
 
 testIsValid ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 mockRequest ($path='index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath='config')
 
 tearDown ()
 

Additional Inherited Members

- Data Fields inherited from PKPTestCase
 $mockedRegistryKeys = array()
 
 $registryBackup = array()
 

Detailed Description

Test class for FormValidator.

See also
FormValidator

Definition at line 23 of file FormValidatorTest.php.

Member Function Documentation

◆ setUp()

FormValidatorTest::setUp ( )
protected

Reimplemented from PKPTestCase.

Definition at line 27 of file FormValidatorTest.php.

◆ testConstructor()

◆ testGetFieldValue()

FormValidatorTest::testGetFieldValue ( )
See also
FormValidator::getFieldValue

Definition at line 70 of file FormValidatorTest.php.

◆ testGetMessage()

FormValidatorTest::testGetMessage ( )
See also
FormValidator::getMessage

Definition at line 62 of file FormValidatorTest.php.

◆ testIsEmptyAndOptional()

FormValidatorTest::testIsEmptyAndOptional ( )
See also
FormValidator::isEmptyAndOptional

Definition at line 98 of file FormValidatorTest.php.

◆ testIsValid()

FormValidatorTest::testIsValid ( )
See also
FormValidator::isValid

Definition at line 141 of file FormValidatorTest.php.


The documentation for this class was generated from the following file: