‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest:

Public Member Functions

 regularExpressionValidatorMatchesABasicExpressionCorrectly ()
 
 regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch ()
 
 customErrorMessageIsRespected ()
 
 translatableErrorMessageContainsDefaultValue (string $input, string $expected)
 

Static Public Member Functions

static customErrorMessagesDataProvider ()
 

Protected Member Functions

 setUp ()
 

Detailed Description

Definition at line 27 of file RegularExpressionValidatorTest.php.

Member Function Documentation

◆ customErrorMessageIsRespected()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest::customErrorMessageIsRespected ( )
Test:

Definition at line 65 of file RegularExpressionValidatorTest.php.

References $errors, and $validator.

◆ customErrorMessagesDataProvider()

static TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest::customErrorMessagesDataProvider ( )
static

Definition at line 79 of file RegularExpressionValidatorTest.php.

◆ regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest::regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch ( )
Test:

Definition at line 52 of file RegularExpressionValidatorTest.php.

References $errors, and $validator.

◆ regularExpressionValidatorMatchesABasicExpressionCorrectly()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest::regularExpressionValidatorMatchesABasicExpressionCorrectly ( )
Test:

Definition at line 40 of file RegularExpressionValidatorTest.php.

References $validator.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest::setUp ( )
protected

◆ translatableErrorMessageContainsDefaultValue()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\RegularExpressionValidatorTest::translatableErrorMessageContainsDefaultValue ( string  $input,
string  $expected 
)
Test:
‪@dataProvider customErrorMessagesDataProvider

Definition at line 101 of file RegularExpressionValidatorTest.php.

References $errors.