Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest Class Reference
Inheritance diagram for SMW\Tests\DataValues\ValueFormatters\PropertyValueFormatterTest:
Inheritance graph
[legend]
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

◆ testFormat()

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

propertyValueProvider

◆ testFormattedLabelLabel()

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

formattedLabelProvider

◆ testFormatWithPreferredLabel()

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

preferredLabelValueProvider

◆ testFormatWithPreferredLabelAndCaption()

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

preferredLabelAndCaptionValueProvider


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

About | General disclaimer | Privacy policy