MediaWiki  master
PrefixSearchTest Class Reference

Search Database PrefixSearch. More...

Inheritance diagram for PrefixSearchTest:
Collaboration diagram for PrefixSearchTest:

Public Member Functions

 addDBDataOnce ()
 tearDown ()
 testSearch (array $case)
 provideSearch PrefixSearch::search PrefixSearch::searchBackend More...
 testSearchBackend (array $case)
 provideSearchBackend PrefixSearch::searchBackend More...
 testSearchWithOffset (array $case)
 provideSearch PrefixSearch::search PrefixSearch::searchBackend More...

Static Public Member Functions

static provideSearch ()
static provideSearchBackend ()

Public Attributes

const NS_NONCAP = 12346

Protected Member Functions

 searchProvision (array $results=null)
 setUp ()
- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()

Private Attributes


Detailed Description

Search Database PrefixSearch.

Definition at line 10 of file PrefixSearchTest.php.

Member Function Documentation

◆ addDBDataOnce()

PrefixSearchTest::addDBDataOnce ( )

Definition at line 15 of file PrefixSearchTest.php.

References Title\makeTitle(), and NS_MAIN.

◆ provideSearch()

static PrefixSearchTest::provideSearch ( )

Definition at line 88 of file PrefixSearchTest.php.

References NS_MAIN.

◆ provideSearchBackend()

static PrefixSearchTest::provideSearchBackend ( )

Definition at line 257 of file PrefixSearchTest.php.

◆ searchProvision()

PrefixSearchTest::searchProvision ( array  $results = null)

Definition at line 73 of file PrefixSearchTest.php.

References $namespaces, null, and use.

Referenced by testSearch(), testSearchBackend(), and testSearchWithOffset().

◆ setUp()

PrefixSearchTest::setUp ( )

Definition at line 46 of file PrefixSearchTest.php.

References class, and NS_MAIN.

◆ tearDown()

PrefixSearchTest::tearDown ( )

Definition at line 67 of file PrefixSearchTest.php.

References $originalHandlers, and class.

◆ testSearch()

PrefixSearchTest::testSearch ( array  $case)

◆ testSearchBackend()

PrefixSearchTest::testSearchBackend ( array  $case)

provideSearchBackend PrefixSearch::searchBackend

Definition at line 371 of file PrefixSearchTest.php.

References PrefixSearch\search(), and searchProvision().

◆ testSearchWithOffset()

PrefixSearchTest::testSearchWithOffset ( array  $case)

Member Data Documentation

◆ $originalHandlers


Definition at line 13 of file PrefixSearchTest.php.

Referenced by tearDown().


const PrefixSearchTest::NS_NONCAP = 12346

Definition at line 11 of file PrefixSearchTest.php.

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