Drupal 8  8.0.2
SearchPageRepositoryTest Class Reference
Inheritance diagram for SearchPageRepositoryTest:

Public Member Functions

 testGetActiveSearchPages ()
 
 testIsSearchActive ()
 
 testGetIndexableSearchPages ()
 
 testClearDefaultSearchPage ()
 
 testGetDefaultSearchPageWithActiveDefault ()
 
 testGetDefaultSearchPageWithInactiveDefault ()
 
 testSetDefaultSearchPage ()
 
 testSortSearchPages ()
 
- 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

 $searchPageRepository
 
 $query
 
 $storage
 
 $configFactory
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

search

Member Function Documentation

setUp ( )
protected

{}

References Drupal\configFactory().

Here is the call graph for this function:

testClearDefaultSearchPage ( )

Tests the clearDefaultSearchPage() method.

References Drupal\configFactory().

Here is the call graph for this function:

testGetActiveSearchPages ( )

Tests the getActiveSearchPages() method.

testGetDefaultSearchPageWithActiveDefault ( )

Tests the getDefaultSearchPage() method when the default is active.

References Drupal\configFactory().

Here is the call graph for this function:

testGetDefaultSearchPageWithInactiveDefault ( )

Tests the getDefaultSearchPage() method when the default is inactive.

References Drupal\configFactory().

Here is the call graph for this function:

testGetIndexableSearchPages ( )

Tests the getIndexableSearchPages() method.

testIsSearchActive ( )

Tests the isSearchActive() method.

testSetDefaultSearchPage ( )

Tests the setDefaultSearchPage() method.

References Drupal\configFactory().

Here is the call graph for this function:

testSortSearchPages ( )

Tests the sortSearchPages() method.


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