PHP 클래스 Backend\Modules\Extensions\Tests\UploadThemeTest

상속: extends common\WebTestCase
파일 보기 프로젝트 열기: forkcms/forkcms

공개 메소드들

메소드 설명
testUploadThemeNoParentFolder ( ) : void Test if we can upload a theme with a zip that contains only the files (not wrapped in a parent folder).
testUploadThemeZipGithub ( ) : void Test if we can upload a theme with a zip that contains a subfolder containing the themefiles.
testUploadThemeZipWithoutInfoFile ( ) : void Test that we cannot upload a theme without info.xml file

보호된 메소드들

메소드 설명
setUp ( ) : void
tearDown ( ) : void

비공개 메소드들

메소드 설명
getSampleInfoXmlContents ( string $themeName ) : string
submitThemeUploadForm ( ) : void

메소드 상세

setUp() 보호된 메소드

protected setUp ( ) : void
리턴 void

tearDown() 보호된 메소드

protected tearDown ( ) : void
리턴 void

testUploadThemeNoParentFolder() 공개 메소드

Test if we can upload a theme with a zip that contains only the files (not wrapped in a parent folder).

testUploadThemeZipGithub() 공개 메소드

Test if we can upload a theme with a zip that contains a subfolder containing the themefiles.
public testUploadThemeZipGithub ( ) : void
리턴 void

testUploadThemeZipWithoutInfoFile() 공개 메소드

Test that we cannot upload a theme without info.xml file