MediaWiki REL1_33
TitleArrayFromResultTest Class Reference
Inheritance diagram for TitleArrayFromResultTest:
Collaboration diagram for TitleArrayFromResultTest:

Public Member Functions

 provideTestValid ()
 
 testConstructionWithFalseRow ()
 TitleArrayFromResult::__construct.
 
 testConstructionWithRow ()
 TitleArrayFromResult::__construct.
 
 testCountWithVaryingValues ( $numRows)
 provideNumberOfRows TitleArrayFromResult::count
 
 testCurrentAfterConstruction ()
 TitleArrayFromResult::current.
 
 testValid ( $input, $expected)
 provideTestValid TitleArrayFromResult::valid
 

Static Public Member Functions

static provideNumberOfRows ()
 

Private Member Functions

 getMockResultWrapper ( $row=null, $numRows=1)
 
 getRowWithTitle ( $namespace=3, $title='foo')
 
 getTitleArrayFromResult ( $resultWrapper)
 

Detailed Description

Author
Addshore TitleArrayFromResult

Definition at line 7 of file TitleArrayFromResultTest.php.

Member Function Documentation

◆ getMockResultWrapper()

TitleArrayFromResultTest::getMockResultWrapper (   $row = null,
  $numRows = 1 
)
private

◆ getRowWithTitle()

TitleArrayFromResultTest::getRowWithTitle (   $namespace = 3,
  $title = 'foo' 
)
private

◆ getTitleArrayFromResult()

TitleArrayFromResultTest::getTitleArrayFromResult (   $resultWrapper)
private

◆ provideNumberOfRows()

static TitleArrayFromResultTest::provideNumberOfRows ( )
static

Definition at line 69 of file TitleArrayFromResultTest.php.

◆ provideTestValid()

TitleArrayFromResultTest::provideTestValid ( )

Definition at line 102 of file TitleArrayFromResultTest.php.

References false, getRowWithTitle(), and true.

◆ testConstructionWithFalseRow()

TitleArrayFromResultTest::testConstructionWithFalseRow ( )

◆ testConstructionWithRow()

TitleArrayFromResultTest::testConstructionWithRow ( )

◆ testCountWithVaryingValues()

TitleArrayFromResultTest::testCountWithVaryingValues (   $numRows)

◆ testCurrentAfterConstruction()

TitleArrayFromResultTest::testCurrentAfterConstruction ( )

◆ testValid()

TitleArrayFromResultTest::testValid (   $input,
  $expected 
)

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