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

Public Member Functions

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

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

TitleArrayFromResultTest::getMockResultWrapper (   $row = null,
  $numRows = 1 
)
private
TitleArrayFromResultTest::getRowWithTitle (   $namespace = 3,
  $title = 'foo' 
)
private
TitleArrayFromResultTest::getTitleArrayFromResult (   $resultWrapper)
private
static TitleArrayFromResultTest::provideNumberOfRows ( )
static

Definition at line 67 of file TitleArrayFromResultTest.php.

TitleArrayFromResultTest::provideTestValid ( )

Definition at line 100 of file TitleArrayFromResultTest.php.

References false, getRowWithTitle(), and true.

TitleArrayFromResultTest::testConstructionWithFalseRow ( )
TitleArrayFromResultTest::testConstructionWithRow ( )
TitleArrayFromResultTest::testCountWithVaryingValues (   $numRows)
TitleArrayFromResultTest::testCurrentAfterConstruction ( )
TitleArrayFromResultTest::testValid (   $input,
  $expected 
)

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