Drupal 8  8.0.2
TranslationTest Class Reference
Inheritance diagram for TranslationTest:

Public Member Functions

 testGet (array $values, $expected)
 
 providerTestGet ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $translationManager
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Annotation

Member Function Documentation

providerTestGet ( )

Provides data to self::testGet().

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

setUp ( )
protected

{}

References UnitTestCase\getStringTranslationStub().

Here is the call graph for this function:

testGet ( array  $values,
  $expected 
)

::get

providerTestGet

References Drupal\setContainer().

Here is the call graph for this function:


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