MediaWiki  master
ContribsPagerTest Class Reference

Database. More...

Inheritance diagram for ContribsPagerTest:
Collaboration diagram for ContribsPagerTest:

Public Member Functions

 provideQueryableRanges ()
 
 provideUnqueryableRanges ()
 
 setUp ()
 
 testDateFilterOptionProcessing (array $inputOpts, array $expectedOpts)
 ContribsPager::processDateFilter dateFilterOptionProcessingProvider. More...
 
 testQueryableRanges ( $ipRange)
 ContribsPager::isQueryableRange provideQueryableRanges. More...
 
 testUniqueSortOrderOnIpChanges ()
 \ContribsPager::getExtraSortFields \ContribsPager::getIndexField \ContribsPager::getQueryInfo More...
 
 testUniqueSortOrderWithoutIpChanges ()
 \ContribsPager::getExtraSortFields \ContribsPager::getIndexField \ContribsPager::getQueryInfo More...
 
 testUnqueryableRanges ( $ipRange)
 ContribsPager::isQueryableRange provideUnqueryableRanges. More...
 

Static Public Member Functions

static dateFilterOptionProcessingProvider ()
 

Private Attributes

ContribsPager $pager
 

Detailed Description

Database.

Definition at line 8 of file ContribsPagerTest.php.

Member Function Documentation

◆ dateFilterOptionProcessingProvider()

static ContribsPagerTest::dateFilterOptionProcessingProvider ( )
static

Definition at line 32 of file ContribsPagerTest.php.

References null.

◆ provideQueryableRanges()

ContribsPagerTest::provideQueryableRanges ( )

Definition at line 85 of file ContribsPagerTest.php.

◆ provideUnqueryableRanges()

ContribsPagerTest::provideUnqueryableRanges ( )

Definition at line 112 of file ContribsPagerTest.php.

◆ setUp()

ContribsPagerTest::setUp ( )

Definition at line 12 of file ContribsPagerTest.php.

References $context.

◆ testDateFilterOptionProcessing()

ContribsPagerTest::testDateFilterOptionProcessing ( array  $inputOpts,
array  $expectedOpts 
)

ContribsPager::processDateFilter dateFilterOptionProcessingProvider.

Parameters
array$inputOptsInput options
array$expectedOptsExpected options

Definition at line 28 of file ContribsPagerTest.php.

References ContribsPager\processDateFilter().

◆ testQueryableRanges()

ContribsPagerTest::testQueryableRanges (   $ipRange)

ContribsPager::isQueryableRange provideQueryableRanges.

Definition at line 71 of file ContribsPagerTest.php.

◆ testUniqueSortOrderOnIpChanges()

ContribsPagerTest::testUniqueSortOrderOnIpChanges ( )

◆ testUniqueSortOrderWithoutIpChanges()

ContribsPagerTest::testUniqueSortOrderWithoutIpChanges ( )

◆ testUnqueryableRanges()

ContribsPagerTest::testUnqueryableRanges (   $ipRange)

ContribsPager::isQueryableRange provideUnqueryableRanges.

Definition at line 98 of file ContribsPagerTest.php.

Member Data Documentation

◆ $pager

ContribsPager ContribsPagerTest::$pager
private

Definition at line 10 of file ContribsPagerTest.php.


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