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

Public Member Functions

 getClass ()
 
 constructorProvider ()
 
 testConceptCacheSetterGetter ($status, $date, $count)
 
 conceptCacheDataProvider ()
 
- Public Member Functions inherited from SMW\Tests\DataItemTest
 getClass ()
 
 constructorProvider ()
 
 newInstance ()
 
 instanceProvider ()
 
 testConstructor ()
 
 testSerialization (\SMWDataItem $dataItem)
 
 testInstanceEqualsItself (SMWDataItem $di)
 
 testInstanceDoesNotEqualNyanData (SMWDataItem $di)
 
- Public Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 run (\PHPUnit_Framework_TestResult $result=null)
 

Additional Inherited Members

- 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 inherited from SMW\Tests\MwDBaseUnitTestCase
 $testEnvironment
 
 $mwDatabaseTableBuilder = null
 
 $databaseToBeExcluded = null
 
 $storesToBeExcluded = null
 
 $destroyDatabaseTablesBeforeRun = false
 
 $destroyDatabaseTablesAfterRun = false
 
 $isUsableUnitTestDatabase = true
 

Detailed Description

SMW SMWExtension SMWDataItems

GNU GPL v2+

Author
mwjames

Member Function Documentation

SMW\Tests\DIConceptTest::conceptCacheDataProvider ( )

Data provider for testing concept cache setter/getter

Since
1.9
Returns
array
SMW\Tests\DIConceptTest::constructorProvider ( )
See also
DataItemTest::constructorProvider
Since
1.8
Returns
array
SMW\Tests\DIConceptTest::getClass ( )

Returns the name of the class to be tested

Since
1.8
Returns
string
SMW\Tests\DIConceptTest::testConceptCacheSetterGetter (   $status,
  $date,
  $count 
)
Test:

DIConcept::setCacheStatus

DIConcept::setCacheDate

DIConcept::setCacheCount conceptCacheDataProvider

Since
1.9
Parameters
$status
$date
$count

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