PHP 클래스 Helper\Unit

Here you can define custom actions all public methods declared in helper class will be available in $I
상속: extends Codeception\Module
파일 보기 프로젝트 열기: phalcon/cphalcon 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$test Codeception\TestInterface

공개 메소드들

메소드 설명
_before ( Codeception\TestInterface $test ) Executed before each test.
cleanFile ( string $path, string $fileName ) Removes a file from the system
getNewFileName ( string $prefix = '', string $suffix = 'log' ) : string Returns a unique file name
getProtectedProperty ( $obj, $prop )
setProtectedProperty ( $obj, $prop, $value )
testFieldParameter ( string $function, mixed $options, string $expected, boolean $xhtml, string $set = '' ) Runs the test for a Tag::$function with $options

메소드 상세

_before() 공개 메소드

Executed before each test.
public _before ( Codeception\TestInterface $test )
$test Codeception\TestInterface

cleanFile() 공개 메소드

Removes a file from the system
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])
public cleanFile ( string $path, string $fileName )
$path string
$fileName string

getNewFileName() 공개 메소드

Returns a unique file name
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])
public getNewFileName ( string $prefix = '', string $suffix = 'log' ) : string
$prefix string A prefix for the file
$suffix string A suffix for the file
리턴 string

getProtectedProperty() 공개 메소드

public getProtectedProperty ( $obj, $prop )

setProtectedProperty() 공개 메소드

public setProtectedProperty ( $obj, $prop, $value )

testFieldParameter() 공개 메소드

Runs the test for a Tag::$function with $options
public testFieldParameter ( string $function, mixed $options, string $expected, boolean $xhtml, string $set = '' )
$function string
$options mixed
$expected string
$xhtml boolean
$set string

프로퍼티 상세

$test 보호되어 있는 프로퍼티

protected TestInterface,Codeception $test
리턴 Codeception\TestInterface