TYPO3 CMS  TYPO3_6-2
typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest Class Reference
Inheritance diagram for typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 hasAttributeReturnsFalseForMissingAttribute ()
 
 getValueReturnsEmptyIfAttributeIsNotSet ()
 
 getValueReturnsValueIfAttributeIsSet ()
 

Protected Member Functions

 tearDown ()
 
- 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

 $subject = NULL
 
 $singletonInstances = array()
 
 $elementId
 
- 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 for class

Definition at line 24 of file AttributesAttributeTest.php.

Member Function Documentation

◆ getValueReturnsEmptyIfAttributeIsNotSet()

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::getValueReturnsEmptyIfAttributeIsNotSet ( )
Test:

Definition at line 74 of file AttributesAttributeTest.php.

◆ getValueReturnsValueIfAttributeIsSet()

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::getValueReturnsValueIfAttributeIsSet ( )
Test:

Definition at line 81 of file AttributesAttributeTest.php.

◆ hasAttributeReturnsFalseForMissingAttribute()

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::hasAttributeReturnsFalseForMissingAttribute ( )
Test:

Definition at line 67 of file AttributesAttributeTest.php.

◆ setUp()

◆ tearDown()

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::tearDown ( )
protected

Tear down the tests

Definition at line 59 of file AttributesAttributeTest.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\resetSingletonInstances().

Member Data Documentation

◆ $elementId

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::$elementId
protected

Definition at line 39 of file AttributesAttributeTest.php.

◆ $singletonInstances

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::$singletonInstances = array()
protected

Definition at line 34 of file AttributesAttributeTest.php.

◆ $subject

typo3\sysext\form\Tests\Unit\Domain\AttributesAttributeTest::$subject = NULL
protected

Definition at line 29 of file AttributesAttributeTest.php.