‪TYPO3CMS  9.5
TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest:

Public Member Functions

 testIsCliOnly ()
 
array commandIdentifiers ()
 
 constructRendersACommandIdentifierByTheGivenControllerAndCommandName ($controllerClassName, $commandName, $expectedCommandIdentifier)
 
array invalidCommandClassNames ()
 
 constructThrowsExceptionIfCommandClassNameIsInvalid ($controllerClassName)
 
 testIsInternal ()
 
 testIsFlushinCaches ()
 
 testHasArguments ()
 
 testGetArgumentDefinitions ()
 
 testGetDescription ()
 
 testGetShortDescription ()
 
 testGetRelatedCommandIdentifiers ()
 

Protected Attributes

bool $resetSingletonInstances = true
 

Detailed Description

Test case

Definition at line 29 of file CommandTest.php.

Member Function Documentation

◆ commandIdentifiers()

array TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::commandIdentifiers ( )
Returns
‪array

Definition at line 57 of file CommandTest.php.

◆ constructRendersACommandIdentifierByTheGivenControllerAndCommandName()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::constructRendersACommandIdentifierByTheGivenControllerAndCommandName (   $controllerClassName,
  $commandName,
  $expectedCommandIdentifier 
)
Test:
‪@dataProvider commandIdentifiers
Parameters
string$controllerClassName
string$commandName
string$expectedCommandIdentifier

Definition at line 74 of file CommandTest.php.

◆ constructThrowsExceptionIfCommandClassNameIsInvalid()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::constructThrowsExceptionIfCommandClassNameIsInvalid (   $controllerClassName)
Test:
‪@dataProvider invalidCommandClassNames
Parameters
string$controllerClassName

Definition at line 97 of file CommandTest.php.

◆ invalidCommandClassNames()

array TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::invalidCommandClassNames ( )
Returns
‪array

Definition at line 83 of file CommandTest.php.

◆ testGetArgumentDefinitions()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testGetArgumentDefinitions ( )

Definition at line 161 of file CommandTest.php.

◆ testGetDescription()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testGetDescription ( )

Definition at line 185 of file CommandTest.php.

◆ testGetRelatedCommandIdentifiers()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testGetRelatedCommandIdentifiers ( )

Definition at line 229 of file CommandTest.php.

◆ testGetShortDescription()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testGetShortDescription ( )

Definition at line 208 of file CommandTest.php.

◆ testHasArguments()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testHasArguments ( )

Definition at line 142 of file CommandTest.php.

◆ testIsCliOnly()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testIsCliOnly ( )

Definition at line 35 of file CommandTest.php.

◆ testIsFlushinCaches()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testIsFlushinCaches ( )

Definition at line 123 of file CommandTest.php.

◆ testIsInternal()

TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::testIsInternal ( )

Definition at line 104 of file CommandTest.php.

Member Data Documentation

◆ $resetSingletonInstances

bool TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\CommandTest::$resetSingletonInstances = true
protected

Reset singletons created by subject

Definition at line 33 of file CommandTest.php.