Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest Class Reference
Collaboration diagram for SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest:
Collaboration graph
[legend]

Public Member Functions

 testCanConstruct ()
 
 testReadByLanguageCode ($languageCode)
 
 testReadByLanguageCodeWithCache ($languageCode)
 
 testReadByLanguageCodeToUseInMemoryCache ()
 
 testReadByLanguageCodeIsForcedToRereadFromFile ()
 
 testTryToReadInaccessibleFileByLanguageThrowsException ()
 
 WriteToFile ($topic, $extension)
 
 testGetModificationTimeByLanguageCode ($languageCode)
 
 languageCodeProvider ()
 
 dataExtensionProvider ()
 

Detailed Description

semantic-mediawiki

GNU GPL v2+

Since
2.5
Author
mwjames

Member Function Documentation

SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::dataExtensionProvider ( )
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::languageCodeProvider ( )
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testCanConstruct ( )
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testGetModificationTimeByLanguageCode (   $languageCode)

languageCodeProvider

SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testReadByLanguageCode (   $languageCode)

languageCodeProvider

SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testReadByLanguageCodeIsForcedToRereadFromFile ( )
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testReadByLanguageCodeToUseInMemoryCache ( )
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testReadByLanguageCodeWithCache (   $languageCode)

languageCodeProvider

SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::testTryToReadInaccessibleFileByLanguageThrowsException ( )
SMW\Tests\ExtraneousLanguage\JsonLanguageContentsFileReaderTest::WriteToFile (   $topic,
  $extension 
)

This method is just for convenience so that one can quickly add contents to files without requiring an extra class when extending the language content. Normally the test in active

dataExtensionProvider


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