MediaWiki fundraising/REL1_35
VectorHooksTest Class Reference

Integration tests for Vector Hooks. More...

Inheritance diagram for VectorHooksTest:
Collaboration diagram for VectorHooksTest:

Public Member Functions

 testOnGetPreferencesShowPreferencesDisabled ()
 @covers ::onGetPreferences
 
 testOnGetPreferencesShowPreferencesEnabledSkinSectionFoundLegacy ()
 @covers ::onGetPreferences
 
 testOnGetPreferencesShowPreferencesEnabledSkinSectionMissingLatest ()
 @covers ::onGetPreferences
 
 testOnGetPreferencesShowPreferencesEnabledSkinSectionMissingLegacy ()
 @covers ::onGetPreferences
 
 testOnLocalUserCreatedLatest ()
 @covers ::onLocalUserCreated
 
 testOnLocalUserCreatedLegacy ()
 @covers ::onLocalUserCreated
 
 testOnPreferencesFormPreSaveVectorDisabledNoOldPreference ()
 @covers ::onPreferencesFormPreSave
 
 testOnPreferencesFormPreSaveVectorDisabledOldPreference ()
 @covers ::onPreferencesFormPreSave
 
 testOnPreferencesFormPreSaveVectorEnabledLatestNewPreference ()
 @covers ::onPreferencesFormPreSave
 
 testOnPreferencesFormPreSaveVectorEnabledLegacyNewPreference ()
 @covers ::onPreferencesFormPreSave
 
 testOnPreferencesFormPreSaveVectorEnabledNoNewPreference ()
 @covers ::onPreferencesFormPreSave
 
 testOnSkinTemplateNavigation ()
 @covers ::onSkinTemplateNavigation
 

Detailed Description

Integration tests for Vector Hooks.

@group Vector @coversDefaultClass \Vector\Hooks

Definition at line 17 of file VectorHooksTest.php.

Member Function Documentation

◆ testOnGetPreferencesShowPreferencesDisabled()

VectorHooksTest::testOnGetPreferencesShowPreferencesDisabled ( )

@covers ::onGetPreferences

Definition at line 21 of file VectorHooksTest.php.

References getUser().

◆ testOnGetPreferencesShowPreferencesEnabledSkinSectionFoundLegacy()

VectorHooksTest::testOnGetPreferencesShowPreferencesEnabledSkinSectionFoundLegacy ( )

@covers ::onGetPreferences

Definition at line 35 of file VectorHooksTest.php.

References getUser(), and SKIN_PREFS_SECTION.

◆ testOnGetPreferencesShowPreferencesEnabledSkinSectionMissingLatest()

VectorHooksTest::testOnGetPreferencesShowPreferencesEnabledSkinSectionMissingLatest ( )

@covers ::onGetPreferences

Definition at line 117 of file VectorHooksTest.php.

References getUser(), and SKIN_PREFS_SECTION.

◆ testOnGetPreferencesShowPreferencesEnabledSkinSectionMissingLegacy()

VectorHooksTest::testOnGetPreferencesShowPreferencesEnabledSkinSectionMissingLegacy ( )

@covers ::onGetPreferences

Definition at line 77 of file VectorHooksTest.php.

References getUser(), and SKIN_PREFS_SECTION.

◆ testOnLocalUserCreatedLatest()

VectorHooksTest::testOnLocalUserCreatedLatest ( )

@covers ::onLocalUserCreated

Definition at line 274 of file VectorHooksTest.php.

◆ testOnLocalUserCreatedLegacy()

VectorHooksTest::testOnLocalUserCreatedLegacy ( )

@covers ::onLocalUserCreated

Definition at line 255 of file VectorHooksTest.php.

◆ testOnPreferencesFormPreSaveVectorDisabledNoOldPreference()

VectorHooksTest::testOnPreferencesFormPreSaveVectorDisabledNoOldPreference ( )

@covers ::onPreferencesFormPreSave

Definition at line 216 of file VectorHooksTest.php.

◆ testOnPreferencesFormPreSaveVectorDisabledOldPreference()

VectorHooksTest::testOnPreferencesFormPreSaveVectorDisabledOldPreference ( )

@covers ::onPreferencesFormPreSave

Definition at line 234 of file VectorHooksTest.php.

◆ testOnPreferencesFormPreSaveVectorEnabledLatestNewPreference()

VectorHooksTest::testOnPreferencesFormPreSaveVectorEnabledLatestNewPreference ( )

@covers ::onPreferencesFormPreSave

Definition at line 178 of file VectorHooksTest.php.

◆ testOnPreferencesFormPreSaveVectorEnabledLegacyNewPreference()

VectorHooksTest::testOnPreferencesFormPreSaveVectorEnabledLegacyNewPreference ( )

@covers ::onPreferencesFormPreSave

Definition at line 157 of file VectorHooksTest.php.

◆ testOnPreferencesFormPreSaveVectorEnabledNoNewPreference()

VectorHooksTest::testOnPreferencesFormPreSaveVectorEnabledNoNewPreference ( )

@covers ::onPreferencesFormPreSave

Definition at line 199 of file VectorHooksTest.php.

◆ testOnSkinTemplateNavigation()

VectorHooksTest::testOnSkinTemplateNavigation ( )

@covers ::onSkinTemplateNavigation

Definition at line 293 of file VectorHooksTest.php.


The documentation for this class was generated from the following file: