MediaWiki  master
AbstractChangesListSpecialPageTestCase Class Reference

Abstract base class for shared logic when testing ChangesListSpecialPage and subclasses. More...

Inheritance diagram for AbstractChangesListSpecialPageTestCase:
Collaboration diagram for AbstractChangesListSpecialPageTestCase:

Public Member Functions

 provideParseParameters ()
 
 testParseParameters ( $params, $expected)
 provideParseParameters More...
 
 testValidateOptions ( $optionsToSet, $expectedRedirect, $expectedRedirectOptions, $rcfilters)
 validateOptionsProvider More...
 

Protected Member Functions

 getPage ()
 
 setUp ()
 
 tearDown ()
 

Protected Attributes

ChangesListSpecialPage $changesListSpecialPage
 
 $oldPatrollersGroup
 

Detailed Description

Abstract base class for shared logic when testing ChangesListSpecialPage and subclasses.

Database

Definition at line 9 of file AbstractChangesListSpecialPageTestCase.php.

Member Function Documentation

◆ getPage()

AbstractChangesListSpecialPageTestCase::getPage ( )
abstractprotected

Referenced by setUp().

◆ provideParseParameters()

AbstractChangesListSpecialPageTestCase::provideParseParameters ( )
abstract

Referenced by tearDown().

◆ setUp()

AbstractChangesListSpecialPageTestCase::setUp ( )
protected

◆ tearDown()

AbstractChangesListSpecialPageTestCase::tearDown ( )
protected

◆ testParseParameters()

AbstractChangesListSpecialPageTestCase::testParseParameters (   $params,
  $expected 
)

provideParseParameters

Definition at line 61 of file AbstractChangesListSpecialPageTestCase.php.

References $params, $value, as, FormOptions\guessType(), null, and true.

◆ testValidateOptions()

AbstractChangesListSpecialPageTestCase::testValidateOptions (   $optionsToSet,
  $expectedRedirect,
  $expectedRedirectOptions,
  $rcfilters 
)

Member Data Documentation

◆ $changesListSpecialPage

ChangesListSpecialPage AbstractChangesListSpecialPageTestCase::$changesListSpecialPage
protected

Definition at line 14 of file AbstractChangesListSpecialPageTestCase.php.

Referenced by testValidateOptions().

◆ $oldPatrollersGroup

AbstractChangesListSpecialPageTestCase::$oldPatrollersGroup
protected

Definition at line 16 of file AbstractChangesListSpecialPageTestCase.php.

Referenced by tearDown().


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