Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Gc
Media
ImageTest
setUp
Gc\Media\ImageTest::setUp PHP Method
ImageTest Class Documentation
Show file
Open project: gotcms/gotcms
setUp()
protected
method
This method is called before a test is executed.
protected
setUp
( ) :
void
return
void
protected function setUp() { $this->directory = __DIR__ . '/_files/'; $this->object = new Image(); }
ImageTest
setUp
tearDown
testConstructor
testHex2rgbWith3Chars
testHex2rgbWith6Chars
testHex2rgbWithWrongValue
testOpen
testResizeWithCropOption
testResizeWithNoImage
testResizeWithUndefinedColor
testResizeWithUndefinedOption
testSaveInBmp
testSaveWithGif
testSaveWithJpg
testSaveWithNoImage
testSaveWithPng