‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest:

Public Member Functions

 load ()
 
 loadWithAnImport ()
 
 loadWithPlaceholders ()
 
 loadWithEnvVarDataProvider ()
 
 loadWithEnvVarPlaceholders (array $envs, string $yamlContent, array $expected)
 
 loadWithEnvVarPlaceholdersDoesNotReplaceWithNonExistingValues ()
 
array isPlaceholderDataProvider ()
 
 isPlaceholderTest ($placeholderValue, bool $expected)
 

Detailed Description

Test case for the YAML file loader class

Definition at line 24 of file YamlFileLoaderTest.php.

Member Function Documentation

◆ isPlaceholderDataProvider()

array TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::isPlaceholderDataProvider ( )

dataprovider for tests isPlaceholderTest

Returns
‪array

Definition at line 254 of file YamlFileLoaderTest.php.

◆ isPlaceholderTest()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::isPlaceholderTest (   $placeholderValue,
bool  $expected 
)

@dataProvider isPlaceholderDataProvider

Test:
Parameters
mixed$placeholderValue
bool$expected

Definition at line 307 of file YamlFileLoaderTest.php.

References $output.

◆ load()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::load ( )

Generic method to check if the load method returns an array from a YAML file

Test:

Definition at line 30 of file YamlFileLoaderTest.php.

References $output.

◆ loadWithAnImport()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::loadWithAnImport ( )

Method checking for imports that they have been processed properly

Test:

Definition at line 59 of file YamlFileLoaderTest.php.

References $output.

◆ loadWithEnvVarDataProvider()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::loadWithEnvVarDataProvider ( )

Definition at line 131 of file YamlFileLoaderTest.php.

◆ loadWithEnvVarPlaceholders()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::loadWithEnvVarPlaceholders ( array  $envs,
string  $yamlContent,
array  $expected 
)

Method checking for env placeholders

@dataProvider loadWithEnvVarDataProvider

Test:
Parameters
array$envs
string$yamlContent
array$expected

Definition at line 196 of file YamlFileLoaderTest.php.

References $output.

◆ loadWithEnvVarPlaceholdersDoesNotReplaceWithNonExistingValues()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::loadWithEnvVarPlaceholdersDoesNotReplaceWithNonExistingValues ( )

Method checking for env placeholders

Test:

Definition at line 219 of file YamlFileLoaderTest.php.

References $output.

◆ loadWithPlaceholders()

TYPO3\CMS\Core\Tests\Unit\Configuration\Loader\YamlFileLoaderTest::loadWithPlaceholders ( )

Method checking for placeholders

Test:

Definition at line 100 of file YamlFileLoaderTest.php.

References $output.