TYPO3  7.6
Public Member Functions | List of all members
TagBuilderTest Class Reference
Inheritance diagram for TagBuilderTest:

Public Member Functions

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

Detailed Description

Test case

Definition at line 17 of file TagBuilderTest.php.

Member Function Documentation

attributesAreProperlyRendered ( )
Test:

Definition at line 117 of file TagBuilderTest.php.

attributesCanBeAccessed ( )
Test:

Definition at line 162 of file TagBuilderTest.php.

attributesCanBeRemoved ( )
Test:

Definition at line 149 of file TagBuilderTest.php.

attributeValuesAreEscapedByDefault ( )
Test:

Definition at line 129 of file TagBuilderTest.php.

attributeValuesAreNotEscapedIfDisabled ( )
Test:

Definition at line 139 of file TagBuilderTest.php.

constructorSetsTagContent ( )
Test:

Definition at line 31 of file TagBuilderTest.php.

constructorSetsTagName ( )
Test:

Definition at line 22 of file TagBuilderTest.php.

contentCanBeRemoved ( )
Test:

Definition at line 97 of file TagBuilderTest.php.

getAttributeWithMissingAttributeReturnsNull ( )
Test:

Definition at line 173 of file TagBuilderTest.php.

hasContentReturnsFalseIfContentIsAnEmptyString ( )
Test:

Definition at line 69 of file TagBuilderTest.php.

hasContentReturnsFalseIfContentIsNull ( )
Test:

Definition at line 59 of file TagBuilderTest.php.

hasContentReturnsTrueIfTagContainsText ( )
Test:

Definition at line 50 of file TagBuilderTest.php.

renderReturnsEmptyStringByDefault ( )
Test:

Definition at line 79 of file TagBuilderTest.php.

renderReturnsOpeningAndClosingTagIfNoContentIsSpecifiedButForceClosingTagIsTrue ( )
Test:

Definition at line 107 of file TagBuilderTest.php.

renderReturnsSelfClosingTagIfNoContentIsSpecified ( )
Test:

Definition at line 88 of file TagBuilderTest.php.

resetResetsTagBuilder ( )
Test:

Definition at line 183 of file TagBuilderTest.php.

setContentDoesNotEscapeValue ( )
Test:

Definition at line 40 of file TagBuilderTest.php.

tagContentCanBeOverridden ( )
Test:

Definition at line 212 of file TagBuilderTest.php.

tagIsNotRenderedIfTagNameIsEmpty ( )
Test:

Definition at line 222 of file TagBuilderTest.php.

tagNameCanBeOverridden ( )
Test:

Definition at line 202 of file TagBuilderTest.php.