‪TYPO3CMS  11.5
TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest:

Public Member Functions

 shortcutExistsTest (string $routeIdentifier, array $arguments, int $userid, bool $exists)
 
 shortcutExistsTestDataProvider ()
 
 addShortcutTest ()
 
 getShortcutsToAdd ()
 
 getShortcutsByGroupTest ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

ShortcutRepository $subject
 

Detailed Description

Definition at line 28 of file ShortcutRepositoryTest.php.

Member Function Documentation

◆ addShortcutTest()

TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::addShortcutTest ( )

◆ getShortcutsByGroupTest()

TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::getShortcutsByGroupTest ( )

This effectively also tests ShortcutRepository::initShortcuts()

Test:

Definition at line 134 of file ShortcutRepositoryTest.php.

◆ getShortcutsToAdd()

TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::getShortcutsToAdd ( )

◆ setUp()

TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::setUp ( )
protected

◆ shortcutExistsTest()

TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::shortcutExistsTest ( string  $routeIdentifier,
array  $arguments,
int  $userid,
bool  $exists 
)

@dataProvider shortcutExistsTestDataProvider

Test:
Parameters
string$routeIdentifier
array$arguments
int$userid
bool$exists

Definition at line 56 of file ShortcutRepositoryTest.php.

References $GLOBALS.

◆ shortcutExistsTestDataProvider()

TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::shortcutExistsTestDataProvider ( )

Definition at line 62 of file ShortcutRepositoryTest.php.

Member Data Documentation

◆ $subject

ShortcutRepository TYPO3\CMS\Backend\Tests\Functional\Backend\Shortcut\ShortcutRepositoryTest::$subject
protected

Definition at line 30 of file ShortcutRepositoryTest.php.