PHP 클래스 Codesleeve\Stapler\Factories\FileTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: codesleeve/stapler

공개 메소드들

메소드 설명
it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_redirect_url ( ) Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a redirect url.
it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_string_file_path ( ) Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a string filepath.
it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_symfony_file_object ( ) Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a symfony object.
it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_url ( ) Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a url.
it_should_be_able_to_build_a_stapler_uploaded_file_object_from_an_array ( ) Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from an array.
it_should_be_able_to_build_a_stapler_uploaded_file_object_without_following_querystring_in_basename ( ) Test that file created by file factory is not containing unnecessary quer string.
setUp ( ) Setup method.
tearDown ( ) Teardown method.

보호된 메소드들

메소드 설명
buildSymfonyUploadedFile ( boolean $testing = true ) : UploadedFile Helper method to build a mock Symfony UploadedFile object.

메소드 상세

buildSymfonyUploadedFile() 보호된 메소드

Helper method to build a mock Symfony UploadedFile object.
protected buildSymfonyUploadedFile ( boolean $testing = true ) : UploadedFile
$testing boolean
리턴 UploadedFile

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_redirect_url() 공개 메소드

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a redirect url.

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_string_file_path() 공개 메소드

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a string filepath.

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_symfony_file_object() 공개 메소드

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a symfony object.

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_url() 공개 메소드

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a url.

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_an_array() 공개 메소드

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from an array.

it_should_be_able_to_build_a_stapler_uploaded_file_object_without_following_querystring_in_basename() 공개 메소드

Test that file created by file factory is not containing unnecessary quer string.

setUp() 공개 메소드

Setup method.
public setUp ( )

tearDown() 공개 메소드

Teardown method.
public tearDown ( )