TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
IndexerTest Class Reference
Inheritance diagram for IndexerTest:
UnitTestCase BaseTestCase

Public Member Functions

 extractHyperLinksDoesNotReturnNonExistingLocalPath ()
 
 extractHyperLinksReturnsCorrectFileUsingT3Vars ()
 
 extractHyperLinksRecurnsCorrectPathWithBaseUrl ()
 
 extractHyperLinksFindsCorrectPathWithAbsolutePath ()
 
 extractHyperLinksFindsCorrectPathForPathWithinTypo3Directory ()
 
 extractHyperLinksFindsCorrectPathUsingAbsRefPrefix ()
 
 extractBaseHrefExtractsBaseHref ()
 
 typoSearchTagsRemovesBodyContentOutsideMarkers ()
 
 typoSearchTagsHandlesMultipleMarkerPairs ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject = null
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

This class contains unit tests for the indexer

Definition at line 20 of file indexed_search/Tests/Unit/IndexerTest.php.

Member Function Documentation

extractBaseHrefExtractsBaseHref ( )
extractHyperLinksDoesNotReturnNonExistingLocalPath ( )
extractHyperLinksFindsCorrectPathForPathWithinTypo3Directory ( )
Test:

Definition at line 92 of file indexed_search/Tests/Unit/IndexerTest.php.

extractHyperLinksFindsCorrectPathUsingAbsRefPrefix ( )
extractHyperLinksFindsCorrectPathWithAbsolutePath ( )
Test:

Definition at line 81 of file indexed_search/Tests/Unit/IndexerTest.php.

extractHyperLinksRecurnsCorrectPathWithBaseUrl ( )
extractHyperLinksReturnsCorrectFileUsingT3Vars ( )
setUp ( )
protected

Sets up the test

Definition at line 32 of file indexed_search/Tests/Unit/IndexerTest.php.

typoSearchTagsHandlesMultipleMarkerPairs ( )

Tests whether indexer can extract content between multiple pairs of "TYPO3SEARCH" markers

Test:

Definition at line 179 of file indexed_search/Tests/Unit/IndexerTest.php.

typoSearchTagsRemovesBodyContentOutsideMarkers ( )

Tests whether indexer can extract content between "TYPO3SEARCH_begin" and "TYPO3SEARCH_end" markers

Test:

Definition at line 136 of file indexed_search/Tests/Unit/IndexerTest.php.

Member Data Documentation

$subject = null
protected

Definition at line 27 of file indexed_search/Tests/Unit/IndexerTest.php.