Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
Lingo\Tests\Unit\BasicBackendTest Class Reference
Inheritance diagram for Lingo\Tests\Unit\BasicBackendTest:
Inheritance graph
[legend]
Collaboration diagram for Lingo\Tests\Unit\BasicBackendTest:
Collaboration graph
[legend]

Public Member Functions

 testCanConstruct ()
 
 testPurgeCache ()
 
 testUseCache ()
 
 testNext ( $lingoPageText, $expectedResults)
 
 testNext_LingoPageIsInterwiki ()
 
 testNext_LingoPageWasJustEdited ()
 
 testNext_LingoPageDoesNotExist ()
 
 testNext_LingoPageNotAccessible ()
 
 testNext_LingoPageIsNotATextPage ()
 
 testNext_ApprovedRevsEnabledButNotInstalled ()
 
 testNext_ApprovedRevsEnabledAndInstalled ()
 
 provideForTestNext ()
 
- Public Member Functions inherited from Lingo\Tests\Unit\BackendTest
 testGetMessageLog_withLogGivenToConstructor ()
 
 testGetMessageLog_withoutLogGivenToConstructor ()
 
 testUseCache ()
 
 testSetGetLingoParser ()
 
 testGetLingoParser_withoutParserGiven ()
 

Protected Member Functions

 getTestObject ( $lingoPageText='', $action='view', $interwiki='', $lingoPageRevision=false, $lingoPageContent=false, $lingoApprovedText='')
 
 getRevisionMock ( $lingoPageText, $lingoPageRevision=false, $lingoPageContent=false)
 

Detailed Description

extensions-lingo extensions-lingo-unit mediawiki-databaseless

::<private> ::<protected>

Member Function Documentation

◆ getRevisionMock()

Lingo\Tests\Unit\BasicBackendTest::getRevisionMock (   $lingoPageText,
  $lingoPageRevision = false,
  $lingoPageContent = false 
)
protected
Parameters
$lingoPageText
$lingoPageRevision
$lingoPageContent
Returns

◆ getTestObject()

Lingo\Tests\Unit\BasicBackendTest::getTestObject (   $lingoPageText = '',
  $action = 'view',
  $interwiki = '',
  $lingoPageRevision = false,
  $lingoPageContent = false,
  $lingoApprovedText = '' 
)
protected
Returns

◆ provideForTestNext()

Lingo\Tests\Unit\BasicBackendTest::provideForTestNext ( )
Returns
array

◆ testCanConstruct()

Lingo\Tests\Unit\BasicBackendTest::testCanConstruct ( )

::__construct

◆ testNext()

Lingo\Tests\Unit\BasicBackendTest::testNext (   $lingoPageText,
  $expectedResults 
)

::next provideForTestNext

◆ testPurgeCache()

Lingo\Tests\Unit\BasicBackendTest::testPurgeCache ( )

::purgeCache

◆ testUseCache()

Lingo\Tests\Unit\BasicBackendTest::testUseCache ( )

::useCache


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

About | General disclaimer | Privacy policy