MinervaNeue
A responsive mobile first skin
|
@coversDefaultClass \MediaWiki\Minerva\Skins\SkinMinerva @group MinervaNeue More...
Public Member Functions | |
testHasPageActions (int $namespace, string $title, string $action, bool $expected) | |
@dataProvider provideHasPageActions @covers ::hasPageActions | |
testGetDefaultModules () | |
@covers ::getDefaultModules | |
testHasPageTabs (array $options, int $namespace, string $title, string $action, bool $expected) | |
@dataProvider provideHasPageTabs @covers ::hasPageTabs | |
testGetTabsData () | |
@covers ::getTabsData | |
testGetTabsDataNoPageTabs () | |
@covers ::getTabsData when hasPageTabs is false | |
testGetTabsDataNoContentNavigationUrls () | |
@covers ::getTabsData when contentNavigationUrls is empty | |
testGetTabsDataNoId () | |
@covers ::getTabsData when associatedPages has no id | |
testGetHtmlElementAttributesNoNightMode () | |
@covers ::getHtmlElementAttributes when night mode is not enabled via feature flag or query params | |
testGetHtmlElementAttributesNightMode () | |
@covers ::getHtmlElementAttributes when night mode is enabled via feature flag | |
testGetHtmlElementAttributesNightModeQueryParam () | |
@covers ::getHtmlElementAttributes when night mode is set via query params | |
testGetHtmlElementAttributesNightModeQueryParamInvalid () | |
@covers ::getHtmlElementAttributes when night mode is set via query params to an invalid option | |
testGetHtmlElementAttributesNightModeUserOption () | |
@covers ::getHtmlElementAttributes when night mode is enabled and the value is not default | |
testGetHtmlElementAttributesNightModeUserOptionQueryParamInvalid () | |
@covers ::getHtmlElementAttributes when night mode is enabled with non-default, and query param is invalid | |
testHasCategoryLinksWhenOptionIsOff () | |
@covers ::setContext @covers ::hasCategoryLinks | |
testHasCategoryLinks (array $categoryLinks, $expected) | |
@dataProvider provideHasCategoryLinks @covers ::setContext @covers ::hasCategoryLinks | |
testGetNotificationButtons ( $expected, $from) | |
@dataProvider provideGetNotificationButtons | |
Static Public Member Functions | |
static | provideHasPageActions () |
static | provideHasPageTabs () |
static | provideHasCategoryLinks () |
static | provideGetNotificationButtons () |
@coversDefaultClass \MediaWiki\Minerva\Skins\SkinMinerva @group MinervaNeue
MediaWiki\Minerva\SkinMinervaTest::testGetNotificationButtons | ( | $expected, | |
$from ) |
@dataProvider provideGetNotificationButtons
array | $expected | |
array | $from | @covers ::getNotificationButtons |