‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest:

Public Member Functions

 forceAbsoluteUrlReturnsCorrectAbsoluteUrl (string $expected, string $url, array $configuration)
 
 forceAbsoluteUrlReturnsCorrectAbsoluteUrlWithSubfolder ()
 
 canResolveTheTargetAttribute (string $expected, array $conf, string $name,)
 

Static Public Member Functions

static array forceAbsoluteUrlReturnsCorrectAbsoluteUrlDataProvider ()
 
static array resolveTargetAttributeDataProvider ()
 

Protected Member Functions

 setUp ()
 
 createMockedLoggerAndLogManager ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
bool $backupEnvironment = true
 
TypoScriptFrontendController &MockObject $frontendControllerMock
 

Detailed Description

Definition at line 37 of file AbstractTypolinkBuilderTest.php.

Member Function Documentation

◆ canResolveTheTargetAttribute()

TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::canResolveTheTargetAttribute ( string  $expected,
array  $conf,
string  $name 
)

Definition at line 282 of file AbstractTypolinkBuilderTest.php.

◆ createMockedLoggerAndLogManager()

TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::createMockedLoggerAndLogManager ( )
protected

Avoid logging to the file system (file writer is currently the only configured writer)

Definition at line 61 of file AbstractTypolinkBuilderTest.php.

Referenced by TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest\setUp().

◆ forceAbsoluteUrlReturnsCorrectAbsoluteUrl()

TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::forceAbsoluteUrlReturnsCorrectAbsoluteUrl ( string  $expected,
string  $url,
array  $configuration 
)

◆ forceAbsoluteUrlReturnsCorrectAbsoluteUrlDataProvider()

static array TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::forceAbsoluteUrlReturnsCorrectAbsoluteUrlDataProvider ( )
static
Returns
‪array The test data for forceAbsoluteUrlReturnsAbsoluteUrl

Definition at line 74 of file AbstractTypolinkBuilderTest.php.

◆ forceAbsoluteUrlReturnsCorrectAbsoluteUrlWithSubfolder()

◆ resolveTargetAttributeDataProvider()

static array TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::resolveTargetAttributeDataProvider ( )
static

Data provider for resolveTargetAttribute

Returns
‪array [[$expected, $conf, $name],]

Definition at line 252 of file AbstractTypolinkBuilderTest.php.

References TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

◆ setUp()

TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::setUp ( )
protected

Member Data Documentation

◆ $backupEnvironment

bool TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::$backupEnvironment = true
protected

Definition at line 41 of file AbstractTypolinkBuilderTest.php.

◆ $frontendControllerMock

TypoScriptFrontendController& MockObject TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::$frontendControllerMock
protected

Definition at line 43 of file AbstractTypolinkBuilderTest.php.

◆ $resetSingletonInstances

bool TYPO3\CMS\Frontend\Tests\Unit\Typolink\AbstractTypolinkBuilderTest::$resetSingletonInstances = true
protected

Definition at line 39 of file AbstractTypolinkBuilderTest.php.