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

Public Member Functions

 testAddGetCallable ()
 
 testAddCallableOnAlreadyRegisteredKeyThrowsException ()
 
 testGetCallableOnUnknownKeyThrowsException ()
 
 testNewTypeIdValue ( $typeId, $value, $expectedValue, $expectedInstance)
 
 testNewPropertyObjectValue ( $propertyName, $value, $expectedValue, $expectedInstance)
 
 testAddPropertyValueByText ( $propertyName, $value, $expectedValue, $expectedInstance)
 
 testTryToCreateDataValueUsingRestrictedPropertyValue ()
 
 testToCreateDataValueUsingLegacyNewPropertyValueMethod ()
 
 testEnforceFirstUpperCaseForDisabledCapitalLinks ()
 
 testNewPropertyValueByLabel ()
 
 testNewPropertyValueByItem ()
 
 testNewDataItemValue ( $setup)
 
 newDataValueByItemDataProvider ()
 
 findTypeIdDataProvider ()
 
 dataItemIdDataProvider ()
 
 typeIdValueDataProvider ()
 
 propertyValueDataProvider ()
 
 propertyObjectValueDataProvider ()
 

Protected Member Functions

 tearDown ()
 

Detailed Description

semantic-mediawiki

GNU GPL v2+

Since
1.9
Author
mwjames

Member Function Documentation

◆ propertyObjectValueDataProvider()

SMW\Tests\DataValueFactoryTest::propertyObjectValueDataProvider ( )
Returns
array

◆ testAddPropertyValueByText()

SMW\Tests\DataValueFactoryTest::testAddPropertyValueByText (   $propertyName,
  $value,
  $expectedValue,
  $expectedInstance 
)

propertyValueDataProvider

◆ testEnforceFirstUpperCaseForDisabledCapitalLinks()

SMW\Tests\DataValueFactoryTest::testEnforceFirstUpperCaseForDisabledCapitalLinks ( )

Issue 673

◆ testNewDataItemValue()

SMW\Tests\DataValueFactoryTest::testNewDataItemValue (   $setup)

newDataValueByItemDataProvider

◆ testNewPropertyObjectValue()

SMW\Tests\DataValueFactoryTest::testNewPropertyObjectValue (   $propertyName,
  $value,
  $expectedValue,
  $expectedInstance 
)

propertyObjectValueDataProvider

◆ testNewTypeIdValue()

SMW\Tests\DataValueFactoryTest::testNewTypeIdValue (   $typeId,
  $value,
  $expectedValue,
  $expectedInstance 
)

typeIdValueDataProvider


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

About | General disclaimer | Privacy policy