‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest:

Public Member Functions

 issetWorksAsExpected (bool $expected, string $property)
 
 unknownPropertyCanBeHandledAsUsual ()
 
 publicPropertyCanBeHandledAsUsual ()
 
 taggedPropertyCanBeHandledLikePublicProperty ()
 
array invalidPropertiesDataProvider ()
 

Static Public Member Functions

static array issetDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

object $fixture
 

Detailed Description

Definition at line 25 of file PublicPropertyDeprecationTraitTest.php.

Member Function Documentation

◆ invalidPropertiesDataProvider()

array TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::invalidPropertiesDataProvider ( )
Returns
‪array [[$property],]

Definition at line 129 of file PublicPropertyDeprecationTraitTest.php.

◆ issetDataProvider()

static array TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::issetDataProvider ( )
static
Returns
‪array [[$expected, $property],]

Definition at line 68 of file PublicPropertyDeprecationTraitTest.php.

◆ issetWorksAsExpected()

TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::issetWorksAsExpected ( bool  $expected,
string  $property 
)

Definition at line 82 of file PublicPropertyDeprecationTraitTest.php.

◆ publicPropertyCanBeHandledAsUsual()

TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::publicPropertyCanBeHandledAsUsual ( )

Definition at line 105 of file PublicPropertyDeprecationTraitTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::setUp ( )
protected

Setup

Creating the test fixture, an anonymous class with different kinds of properties to test access for.

@deprecatedPublic

@deprecatedPublic

Definition at line 38 of file PublicPropertyDeprecationTraitTest.php.

◆ taggedPropertyCanBeHandledLikePublicProperty()

TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::taggedPropertyCanBeHandledLikePublicProperty ( )

Definition at line 116 of file PublicPropertyDeprecationTraitTest.php.

◆ unknownPropertyCanBeHandledAsUsual()

TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::unknownPropertyCanBeHandledAsUsual ( )

Definition at line 88 of file PublicPropertyDeprecationTraitTest.php.

Member Data Documentation

◆ $fixture

object TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\PublicPropertyDeprecationTraitTest::$fixture
protected

Test fixture (anonymous class)

See also
‪PublicAccessDeprecationTraitTest::setUp()

Definition at line 30 of file PublicPropertyDeprecationTraitTest.php.