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

Public Member Functions

 testDefaultSortedQueryResult ()
 
 testAscendingOrderedQueryResult ()
 
 testDescendingOrderedQueryResult ()
 
 createQueryForSamplePagesThatContain ($property, array &$expectedSubjects)
 
- Public Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 run (\PHPUnit_Framework_TestResult $result=null)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 setUp ()
 
 tearDown ()
 
 removeDatabaseTypeFromTest ($databaseToBeExcluded)
 
 destroyDatabaseTablesAfterRun ()
 
 getStore ()
 
 setStoresToBeExcluded (array $storesToBeExcluded)
 
 skipTestForMediaWikiVersionLowerThan ($version, $message= '')
 
 skipTestForDatabase ($excludedDatabase, $message= '')
 
 skipTestForStore ($excludeStore)
 
 getDBConnection ()
 
 getDBConnectionProvider ()
 
 isUsableUnitTestDatabase ()
 
 checkIfDatabaseCanBeUsedOtherwiseSkipTest ()
 
 checkIfStoreCanBeUsedOtherwiseSkipTest ()
 

Additional Inherited Members

- Protected Attributes inherited from SMW\Tests\MwDBaseUnitTestCase
 $testEnvironment
 
 $mwDatabaseTableBuilder = null
 
 $databaseToBeExcluded = null
 
 $storesToBeExcluded = null
 
 $destroyDatabaseTablesBeforeRun = false
 
 $destroyDatabaseTablesAfterRun = false
 
 $isUsableUnitTestDatabase = true
 

Detailed Description

SMW SMWExtension

semantic-mediawiki-integration semantic-mediawiki-query

mediawiki-database medium

GNU GPL v2+

Since
2.1
Author
mwjames

Member Function Documentation

SMW\Tests\Integration\Query\SortableQueryDBIntegrationTest::createQueryForSamplePagesThatContain (   $property,
array &  $expectedSubjects 
)
SMW\Tests\Integration\Query\SortableQueryDBIntegrationTest::setUp ( )
protected
SMW\Tests\Integration\Query\SortableQueryDBIntegrationTest::tearDown ( )
protected
SMW\Tests\Integration\Query\SortableQueryDBIntegrationTest::testAscendingOrderedQueryResult ( )

Set limit to avoid:

Virtuoso 22023 Error SR353: Sorted TOP clause specifies more then 10001 rows to sort. Only 10000 are allowed.

See also
Virtuoso MaxSortedTopRows setting
SMW\Tests\Integration\Query\SortableQueryDBIntegrationTest::testDefaultSortedQueryResult ( )
SMW\Tests\Integration\Query\SortableQueryDBIntegrationTest::testDescendingOrderedQueryResult ( )

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