Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SMW\Test\SQLStore\PropertyStatisticsTableTest Class Reference
Collaboration diagram for SMW\Test\SQLStore\PropertyStatisticsTableTest:
Collaboration graph
[legend]

Public Member Functions

 testDeleteAll ()
 
 usageCountProvider ()
 
 testGetUsageCount ($propId, $usageCount)
 
 testAddToUsageCountWithInvalidCountThrowsException ()
 
 testAddToUsageCountWithInvalidIdThrowsException ()
 
 testInsertUsageCount ($propId, $usageCount)
 
 testAddToUsageCounts ()
 
 testAddToUsageCountsOnTransactionIdle ()
 
 testAddToUsageCountsWillNotWaitOnTransactionIdleWhenCommandLineModeIsActive ()
 
- Public Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 run (\PHPUnit_Framework_TestResult $result=null)
 

Protected Member Functions

 getTable ()
 
- 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 ()
 

Protected Attributes

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

Detailed Description

SMW SMWExtension

medium

GNU GPL v2+

Since
1.9
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

SMW\Test\SQLStore\PropertyStatisticsTableTest::getTable ( )
protected
Returns
SMW\Test\SQLStore\PropertyStatisticsTableTest::testAddToUsageCounts ( )
SMW\Test\SQLStore\PropertyStatisticsTableTest::testAddToUsageCountsOnTransactionIdle ( )
SMW\Test\SQLStore\PropertyStatisticsTableTest::testAddToUsageCountsWillNotWaitOnTransactionIdleWhenCommandLineModeIsActive ( )
SMW\Test\SQLStore\PropertyStatisticsTableTest::testAddToUsageCountWithInvalidCountThrowsException ( )
SMW\Test\SQLStore\PropertyStatisticsTableTest::testAddToUsageCountWithInvalidIdThrowsException ( )
SMW\Test\SQLStore\PropertyStatisticsTableTest::testDeleteAll ( )
SMW\Test\SQLStore\PropertyStatisticsTableTest::testGetUsageCount (   $propId,
  $usageCount 
)

usageCountProvider

SMW\Test\SQLStore\PropertyStatisticsTableTest::testInsertUsageCount (   $propId,
  $usageCount 
)

usageCountProvider

Parameters
int$propId
int$usageCount
SMW\Test\SQLStore\PropertyStatisticsTableTest::usageCountProvider ( )

Member Data Documentation

SMW\Test\SQLStore\PropertyStatisticsTableTest::$statsTable = null
protected

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