TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 constructorSetsTagName ()
 
 constructorSetsTagContent ()
 
 setContentDoesNotEscapeValue ()
 
 hasContentReturnsTrueIfTagContainsText ()
 
 hasContentReturnsFalseIfContentIsNull ()
 
 hasContentReturnsFalseIfContentIsAnEmptyString ()
 
 renderReturnsEmptyStringByDefault ()
 
 renderReturnsSelfClosingTagIfNoContentIsSpecified ()
 
 contentCanBeRemoved ()
 
 renderReturnsOpeningAndClosingTagIfNoContentIsSpecifiedButForceClosingTagIsTrue ()
 
 attributesAreProperlyRendered ()
 
 attributeValuesAreEscapedByDefault ()
 
 attributeValuesAreNotEscapedIfDisabled ()
 
 attributesCanBeRemoved ()
 
 attributesCanBeAccessed ()
 
 getAttributeWithMissingAttributeReturnsNull ()
 
 resetResetsTagBuilder ()
 
 tagNameCanBeOverridden ()
 
 tagContentCanBeOverridden ()
 
 tagIsNotRenderedIfTagNameIsEmpty ()
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Detailed Description

Test case

Definition at line 17 of file TagBuilderTest.php.

Member Function Documentation

◆ attributesAreProperlyRendered()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::attributesAreProperlyRendered ( )
Test:

Definition at line 107 of file TagBuilderTest.php.

◆ attributesCanBeAccessed()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::attributesCanBeAccessed ( )
Test:

Definition at line 148 of file TagBuilderTest.php.

◆ attributesCanBeRemoved()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::attributesCanBeRemoved ( )
Test:

Definition at line 136 of file TagBuilderTest.php.

◆ attributeValuesAreEscapedByDefault()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::attributeValuesAreEscapedByDefault ( )
Test:

Definition at line 118 of file TagBuilderTest.php.

◆ attributeValuesAreNotEscapedIfDisabled()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::attributeValuesAreNotEscapedIfDisabled ( )
Test:

Definition at line 127 of file TagBuilderTest.php.

◆ constructorSetsTagContent()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::constructorSetsTagContent ( )
Test:

Definition at line 30 of file TagBuilderTest.php.

◆ constructorSetsTagName()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::constructorSetsTagName ( )
Test:

Definition at line 22 of file TagBuilderTest.php.

◆ contentCanBeRemoved()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::contentCanBeRemoved ( )
Test:

Definition at line 89 of file TagBuilderTest.php.

◆ getAttributeWithMissingAttributeReturnsNull()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::getAttributeWithMissingAttributeReturnsNull ( )
Test:

Definition at line 158 of file TagBuilderTest.php.

◆ hasContentReturnsFalseIfContentIsAnEmptyString()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::hasContentReturnsFalseIfContentIsAnEmptyString ( )
Test:

Definition at line 64 of file TagBuilderTest.php.

◆ hasContentReturnsFalseIfContentIsNull()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::hasContentReturnsFalseIfContentIsNull ( )
Test:

Definition at line 55 of file TagBuilderTest.php.

◆ hasContentReturnsTrueIfTagContainsText()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::hasContentReturnsTrueIfTagContainsText ( )
Test:

Definition at line 47 of file TagBuilderTest.php.

◆ renderReturnsEmptyStringByDefault()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::renderReturnsEmptyStringByDefault ( )
Test:

Definition at line 73 of file TagBuilderTest.php.

◆ renderReturnsOpeningAndClosingTagIfNoContentIsSpecifiedButForceClosingTagIsTrue()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::renderReturnsOpeningAndClosingTagIfNoContentIsSpecifiedButForceClosingTagIsTrue ( )
Test:

Definition at line 98 of file TagBuilderTest.php.

◆ renderReturnsSelfClosingTagIfNoContentIsSpecified()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::renderReturnsSelfClosingTagIfNoContentIsSpecified ( )
Test:

Definition at line 81 of file TagBuilderTest.php.

◆ resetResetsTagBuilder()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::resetResetsTagBuilder ( )

◆ setContentDoesNotEscapeValue()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::setContentDoesNotEscapeValue ( )
Test:

Definition at line 38 of file TagBuilderTest.php.

◆ tagContentCanBeOverridden()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::tagContentCanBeOverridden ( )
Test:

Definition at line 194 of file TagBuilderTest.php.

◆ tagIsNotRenderedIfTagNameIsEmpty()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::tagIsNotRenderedIfTagNameIsEmpty ( )
Test:

Definition at line 203 of file TagBuilderTest.php.

◆ tagNameCanBeOverridden()

TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper\TagBuilderTest::tagNameCanBeOverridden ( )
Test:

Definition at line 185 of file TagBuilderTest.php.