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

Public Member Functions

 testCanConstruct ()
 
 testIsFormatterForValidation ()
 
 testFormatWithInvalidFormat ()
 
 testFormatWithCaptionOutput ()
 
 testFormatWithCaptionOutputAndHighlighter ()
 
 testFormat ($property, $type, $linker, $expected)
 
 testFormatWithPreferredLabel ($property, $preferredLabel, $type, $linker, $expected)
 
 testFormatWithPreferredLabelAndCaption ($property, $caption, $preferredLabel, $type, $linker, $expected)
 
 testFormattedLabelLabel ($property, $linker, $expected)
 
 testTryToFormatOnMissingDataValueThrowsException ()
 
 propertyValueProvider ()
 
 preferredLabelValueProvider ()
 
 preferredLabelAndCaptionValueProvider ()
 
 formattedLabelProvider ()
 

Protected Member Functions

 setUp ()
 

Detailed Description

semantic-mediawiki

GNU GPL v2+

Since
2.5
Author
mwjames

Member Function Documentation

SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::formattedLabelProvider ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::preferredLabelAndCaptionValueProvider ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::preferredLabelValueProvider ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::propertyValueProvider ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::setUp ( )
protected
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testCanConstruct ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormat (   $property,
  $type,
  $linker,
  $expected 
)

propertyValueProvider

SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormattedLabelLabel (   $property,
  $linker,
  $expected 
)

formattedLabelProvider

SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormatWithCaptionOutput ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormatWithCaptionOutputAndHighlighter ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormatWithInvalidFormat ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormatWithPreferredLabel (   $property,
  $preferredLabel,
  $type,
  $linker,
  $expected 
)

preferredLabelValueProvider

SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testFormatWithPreferredLabelAndCaption (   $property,
  $caption,
  $preferredLabel,
  $type,
  $linker,
  $expected 
)

preferredLabelAndCaptionValueProvider

SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testIsFormatterForValidation ( )
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest::testTryToFormatOnMissingDataValueThrowsException ( )

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