‪TYPO3CMS  ‪main
TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest Class Reference
Inheritance diagram for TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest:

Public Member Functions

 setUp ()
 
 initiallyZeroWidgetAreRegistered ()
 
 getAllWidgetsReturnsAllRegisteredWidgets ()
 
 returnsExpectedAmountOfWidgetsForUser (int $userId, int $countGroup1, int $countGroup2, int $countTotal)
 
 addWidgetsInItemsProcFunc ()
 

Static Public Member Functions

static expectedAmountOfWidgetsForUserDataProvider ()
 

Protected Member Functions

 registerWidgets ()
 

Protected Attributes

array $coreExtensionsToLoad = ['dashboard']
 
WidgetRegistry $subject
 

Detailed Description

Definition at line 25 of file WidgetRegistryTest.php.

Member Function Documentation

◆ addWidgetsInItemsProcFunc()

TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::addWidgetsInItemsProcFunc ( )

◆ expectedAmountOfWidgetsForUserDataProvider()

static TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::expectedAmountOfWidgetsForUserDataProvider ( )
static

Definition at line 129 of file WidgetRegistryTest.php.

◆ getAllWidgetsReturnsAllRegisteredWidgets()

TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::getAllWidgetsReturnsAllRegisteredWidgets ( )

◆ initiallyZeroWidgetAreRegistered()

TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::initiallyZeroWidgetAreRegistered ( )

◆ registerWidgets()

◆ returnsExpectedAmountOfWidgetsForUser()

TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::returnsExpectedAmountOfWidgetsForUser ( int  $userId,
int  $countGroup1,
int  $countGroup2,
int  $countTotal 
)
Test:
‪@dataProvider expectedAmountOfWidgetsForUserDataProvider

Definition at line 163 of file WidgetRegistryTest.php.

References TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest\registerWidgets().

◆ setUp()

TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::setUp ( )

Definition at line 30 of file WidgetRegistryTest.php.

Member Data Documentation

◆ $coreExtensionsToLoad

array TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::$coreExtensionsToLoad = ['dashboard']
protected

Definition at line 27 of file WidgetRegistryTest.php.

◆ $subject

WidgetRegistry TYPO3\CMS\Dashboard\Tests\Functional\WidgetRegistryTest::$subject
protected