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

Public Member Functions

 regularExpressionValidatorMatchesABasicExpressionCorrectly ()
 
 regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch ()
 
 customErrorMessageIsRespected ()
 
 getErrorMessageReturnsDefaultLabelIfNoCustomIsDefined ()
 
 customErrorMessageIsTranslated ()
 

Detailed Description

Test case

Definition at line 27 of file RegularExpressionValidatorTest.php.

Member Function Documentation

◆ customErrorMessageIsRespected()

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

Definition at line 61 of file RegularExpressionValidatorTest.php.

References $errors, and $validator.

◆ customErrorMessageIsTranslated()

TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\RegularExpressionValidatorTest::customErrorMessageIsTranslated ( )
Test:

Definition at line 97 of file RegularExpressionValidatorTest.php.

References $errors, and $validator.

◆ getErrorMessageReturnsDefaultLabelIfNoCustomIsDefined()

TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\RegularExpressionValidatorTest::getErrorMessageReturnsDefaultLabelIfNoCustomIsDefined ( )
Test:

Definition at line 77 of file RegularExpressionValidatorTest.php.

References $errors, and $validator.

◆ regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch()

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

Definition at line 46 of file RegularExpressionValidatorTest.php.

References $errors, and $validator.

◆ regularExpressionValidatorMatchesABasicExpressionCorrectly()

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

Definition at line 32 of file RegularExpressionValidatorTest.php.

References $validator.