Semantic MediaWiki and related extensions
|
Public Member Functions | |
static | testCanConstruct () |
testGetInstance () | |
testParse ( $config) | |
parseProvider () | |
Protected Member Functions | |
getParserMock ( $config=[]) | |
getTitleMock ( $config) | |
getBackendMock () | |
extensions-lingo extensions-lingo-unit mediawiki-databaseless
::<private> ::<protected>
|
protected |
|
protected |
|
protected |
$config |
Lingo\Tests\Unit\LingoParserTest::parseProvider | ( | ) |
static Lingo\Tests\Unit\LingoParserTest::testCanConstruct | ( | ) |
::__construct
Lingo\Tests\Unit\LingoParserTest::testGetInstance | ( | ) |
This will NOT test the execution path in LingoParser::getInstance where the singleton is actually created as that path is executed during the initialisation of MW. It will test however that the singleton is of the correct class and that once created subsequent calls to LingoParser::getInstance will return the same object.
::getInstance
Lingo\Tests\Unit\LingoParserTest::testParse | ( | $config | ) |
Tests
::parse parseProvider