PHP 클래스 CloudConvert\tests\ApiTest

저자: Josias Montag ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: cloudconvert/cloudconvert-php

공개 메소드들

메소드 설명
testIfApiTemporaryUnavailableExceptionIsThrown ( ) Test if API error 503 throws a CloudConvert\Exceptions\ApiTemporaryUnavailableException with correct retryAfter value
testIfProcessCreationWithInvalidFormatThrowsTheRightException ( ) Test if Process creation with invalid format throws a CloudConvert\Exceptions\ApiException
testIfProcessCreationWorks ( ) Test if Process creation works
testIfRequestWithAuthenticationWorks ( ) Test if request without authentication works
testIfRequestWithoutAuthenticationWorks ( ) Test if request without authentication works

보호된 메소드들

메소드 설명
getPrivateMethod ( $name ) Get private and protected method to unit test it
getPrivateProperty ( $name )
setUp ( ) Define id to create object

메소드 상세

getPrivateMethod() 보호된 정적인 메소드

Get private and protected method to unit test it
protected static getPrivateMethod ( $name )

getPrivateProperty() 보호된 정적인 메소드

protected static getPrivateProperty ( $name )

setUp() 보호된 메소드

Define id to create object
protected setUp ( )

testIfApiTemporaryUnavailableExceptionIsThrown() 공개 메소드

Test if API error 503 throws a CloudConvert\Exceptions\ApiTemporaryUnavailableException with correct retryAfter value

testIfProcessCreationWithInvalidFormatThrowsTheRightException() 공개 메소드

Test if Process creation with invalid format throws a CloudConvert\Exceptions\ApiException

testIfProcessCreationWorks() 공개 메소드

Test if Process creation works

testIfRequestWithAuthenticationWorks() 공개 메소드

Test if request without authentication works

testIfRequestWithoutAuthenticationWorks() 공개 메소드

Test if request without authentication works