Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
Lingo\Tests\Unit\BasicBackendTest Class Reference
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

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

::__construct

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

::next provideForTestNext

Lingo\Tests\Unit\BasicBackendTest::testNext_ApprovedRevsEnabledAndInstalled ( )
Lingo\Tests\Unit\BasicBackendTest::testNext_ApprovedRevsEnabledButNotInstalled ( )
Lingo\Tests\Unit\BasicBackendTest::testNext_LingoPageDoesNotExist ( )
Lingo\Tests\Unit\BasicBackendTest::testNext_LingoPageIsInterwiki ( )
Lingo\Tests\Unit\BasicBackendTest::testNext_LingoPageIsNotATextPage ( )
Lingo\Tests\Unit\BasicBackendTest::testNext_LingoPageNotAccessible ( )
Lingo\Tests\Unit\BasicBackendTest::testNext_LingoPageWasJustEdited ( )
Lingo\Tests\Unit\BasicBackendTest::testPurgeCache ( )

::purgeCache

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

::useCache


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