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

Public Member Functions

 resolveResolvesFullyQualifiedClassNames ()
 
 resolveResolvesCoreShorthandIdentifiers ()
 
 resolveResolvesExtensionShorthandIdentifiers ()
 
 resolveThrowsNoSuchValidatorExceptionDueToMissingClass ()
 
array namespacedShorthandValidatorNamesDataProvider ()
 
 resolveWithShortHandNotationReturnsValidatorNameIfClassExists (string $validatorName, string $expectedClassName)
 
 resolveWithShortHandNotationThrowsExceptionIfClassDoesNotExist ()
 
 resolveThrowsNoSuchValidatorExceptionDueToClassInheritance ()
 
 resolveThrowsExceptionWithValidatorThatDoesNotImplementValidatorInterface ()
 
 resolveReturnsValidatorNameForFullQualifiedValidatorName ()
 
 resolveReturnsValidatorNameForFullQualifiedValidatorNameWithLeadingBackslash ()
 

Detailed Description

Class TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest

Definition at line 35 of file ValidatorClassNameResolverTest.php.

Member Function Documentation

◆ namespacedShorthandValidatorNamesDataProvider()

array TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::namespacedShorthandValidatorNamesDataProvider ( )
Returns
‪array

Definition at line 80 of file ValidatorClassNameResolverTest.php.

◆ resolveResolvesCoreShorthandIdentifiers()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveResolvesCoreShorthandIdentifiers ( )

◆ resolveResolvesExtensionShorthandIdentifiers()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveResolvesExtensionShorthandIdentifiers ( )

◆ resolveResolvesFullyQualifiedClassNames()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveResolvesFullyQualifiedClassNames ( )

◆ resolveReturnsValidatorNameForFullQualifiedValidatorName()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveReturnsValidatorNameForFullQualifiedValidatorName ( )

◆ resolveReturnsValidatorNameForFullQualifiedValidatorNameWithLeadingBackslash()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveReturnsValidatorNameForFullQualifiedValidatorNameWithLeadingBackslash ( )

◆ resolveThrowsExceptionWithValidatorThatDoesNotImplementValidatorInterface()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveThrowsExceptionWithValidatorThatDoesNotImplementValidatorInterface ( )

◆ resolveThrowsNoSuchValidatorExceptionDueToClassInheritance()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveThrowsNoSuchValidatorExceptionDueToClassInheritance ( )

◆ resolveThrowsNoSuchValidatorExceptionDueToMissingClass()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveThrowsNoSuchValidatorExceptionDueToMissingClass ( )

◆ resolveWithShortHandNotationReturnsValidatorNameIfClassExists()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveWithShortHandNotationReturnsValidatorNameIfClassExists ( string  $validatorName,
string  $expectedClassName 
)
Test:
‪@dataProvider namespacedShorthandValidatorNamesDataProvider
Parameters
string$validatorName
string$expectedClassName

Definition at line 101 of file ValidatorClassNameResolverTest.php.

References TYPO3\CMS\Extbase\Validation\ValidatorClassNameResolver\resolve().

◆ resolveWithShortHandNotationThrowsExceptionIfClassDoesNotExist()

TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest::resolveWithShortHandNotationThrowsExceptionIfClassDoesNotExist ( )