Semantic MediaWiki and related extensions
|
Public Member Functions | |
testCanConstruct () | |
testGetProcessedResult () | |
testGetDataFromQueryResultRow () | |
testGetKeyFromPrintRequest () | |
testGetDataFromResultArray () | |
testGetValueFromDataValue ( $class, $type, $expects) | |
testExtractLuaDataFromDVData ( $expects, $input) | |
testGetNumericIndex () | |
dataProvidergetValueFromDataValueTest () | |
dataProviderExtractLuaDataFromDVData () | |
Protected Member Functions | |
setUp () | |
semantic-scribunto
GNU GPL v2+
SMW\Scribunto\Tests\LuaAskResultProcessorTest::dataProviderExtractLuaDataFromDVData | ( | ) |
SMW\Scribunto\Tests\LuaAskResultProcessorTest::dataProvidergetValueFromDataValueTest | ( | ) |
Data provider for {
|
protected |
Set-up method prepares a mock {
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testCanConstruct | ( | ) |
Test, if the constructor works
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testExtractLuaDataFromDVData | ( | $expects, | |
$input | |||
) |
Tests the conversion of a list of result values into a value, usable in lua. Uses data provider {
mixed | $expects | expected return value |
array | $input | input for method |
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testGetDataFromQueryResultRow | ( | ) |
Tests the data extraction from a result row
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testGetDataFromResultArray | ( | ) |
Tests the extraction of data from a SMWResultArray
PhpParamsInspection
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testGetKeyFromPrintRequest | ( | ) |
Tests the retrieval of a key (string label or numeric index) from a print request
PhpParamsInspection
PhpParamsInspection
PhpParamsInspection
PhpParamsInspection
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testGetNumericIndex | ( | ) |
Tests the generation of a numeric index key
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testGetProcessedResult | ( | ) |
Tests the conversion of a {
SMW\Scribunto\Tests\LuaAskResultProcessorTest::testGetValueFromDataValue | ( | $class, | |
$type, | |||
$expects | |||
) |
Tests data value extraction. Uses data provider {
string | $class | name of data value class |
string | $type | data value type |
string | $expects | return value type |
PhpParamsInspection