Drupal 8  8.0.2
NumberFieldRdfaTest Class Reference
Inheritance diagram for NumberFieldRdfaTest:

Public Member Functions

 testIntegerFormatter ()
 
 testIntegerFormatterWithSettings ()
 
 testFloatFormatter ()
 
 testFloatFormatterWithSettings ()
 
 testFloatFormatterWithScale ()
 
 testFloatFormatterWithScaleExercised ()
 
 testDecimalFormatter ()
 
 testDecimalFormatterWithSettings ()
 

Protected Member Functions

 createTestEntity ($testValue)
 
- Protected Member Functions inherited from FieldRdfaTestBase
 setUp ()
 
 assertFormatterRdfa ($formatter, $property, $expected_rdf_value)
 
 createTestField ($field_settings=array())
 
 getAbsoluteUri ($entity)
 
 parseContent ($content)
 
 xpathContent ($content, $xpath, array $arguments=array())
 
- Protected Member Functions inherited from FieldUnitTestBase
 setUp ()
 
 createFieldWithStorage ($suffix= '', $entity_type= 'entity_test', $bundle=NULL)
 
 entitySaveReload (EntityInterface $entity)
 
 entityValidateAndSave (EntityInterface $entity)
 
 _generateTestFieldValues ($cardinality)
 
 assertFieldValues (EntityInterface $entity, $field_name, $expected_values, $langcode=LanguageInterface::LANGCODE_NOT_SPECIFIED, $column= 'value')
 

Additional Inherited Members

- Static Public Attributes inherited from FieldRdfaTestBase
static $modules = array('rdf')
 
- Static Public Attributes inherited from FieldUnitTestBase
static $modules = ['user', 'system', 'field', 'text', 'entity_test', 'field_test']
 
- Protected Attributes inherited from FieldRdfaTestBase
 $fieldType
 
 $fieldName = 'field_test'
 
 $uri = 'http://ex.com'
 
 $entity
 
 $debug = TRUE
 
 $testValue
 
- Protected Attributes inherited from FieldUnitTestBase
 $fieldTestData
 

Detailed Description

Tests RDFa output by number field formatters.

rdf

Member Function Documentation

createTestEntity (   $testValue)
protected
testDecimalFormatter ( )

Tests the decimal formatter.

References FieldRdfaTestBase\assertFormatterRdfa(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testDecimalFormatterWithSettings ( )

Tests the decimal formatter with settings.

References FieldRdfaTestBase\assertFormatterRdfa(), Drupal\config(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), Drupal\service(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testFloatFormatter ( )

Tests the float formatter.

References FieldRdfaTestBase\assertFormatterRdfa(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testFloatFormatterWithScale ( )

Tests the float formatter with a scale. Scale is not exercised.

References FieldRdfaTestBase\assertFormatterRdfa(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testFloatFormatterWithScaleExercised ( )

Tests the float formatter with a scale. Scale is exercised.

References FieldRdfaTestBase\assertFormatterRdfa(), Drupal\config(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), Drupal\service(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testFloatFormatterWithSettings ( )

Tests the float formatter with settings.

References FieldRdfaTestBase\assertFormatterRdfa(), Drupal\config(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), Drupal\service(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testIntegerFormatter ( )

Tests the integer formatter.

References FieldRdfaTestBase\assertFormatterRdfa(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:

testIntegerFormatterWithSettings ( )

Tests the integer formatter with settings.

References FieldRdfaTestBase\assertFormatterRdfa(), Drupal\config(), NumberFieldRdfaTest\createTestEntity(), FieldRdfaTestBase\createTestField(), Drupal\service(), and FieldRdfaTestBase\xpathContent().

Here is the call graph for this function:


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