TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Unit\Imaging\GraphicalFunctionsTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Imaging\GraphicalFunctionsTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 getScaleForImageDataProvider ()
 
 getScaleForImage ($info, $width, $height, $options, $expected)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, $methods=[], array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $subject = null
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for

Definition at line 20 of file GraphicalFunctionsTest.php.

Member Function Documentation

◆ getScaleForImage()

TYPO3\CMS\Core\Tests\Unit\Imaging\GraphicalFunctionsTest::getScaleForImage (   $info,
  $width,
  $height,
  $options,
  $expected 
)
Test:
getScaleForImageDataProvider

Definition at line 107 of file GraphicalFunctionsTest.php.

◆ getScaleForImageDataProvider()

TYPO3\CMS\Core\Tests\Unit\Imaging\GraphicalFunctionsTest::getScaleForImageDataProvider ( )

Dataprovider for getScaleForImage

Returns
array

Definition at line 42 of file GraphicalFunctionsTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Imaging\GraphicalFunctionsTest::setUp ( )
protected

Set up

Returns
void

Definition at line 32 of file GraphicalFunctionsTest.php.

Member Data Documentation

◆ $subject

TYPO3\CMS\Core\Tests\Unit\Imaging\GraphicalFunctionsTest::$subject = null
protected

Definition at line 25 of file GraphicalFunctionsTest.php.