PHP 클래스 AppserverIo\Appserver\Core\Api\AppServiceTest

저자: Bernhard Wick ([email protected])
저자: Tim Wagner ([email protected])
상속: extends AppserverIo\Appserver\Core\Api\AbstractServicesTest
파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$appService PHPUnit_Framework_MockObject_MockObject | AppService The app service instance to test.

공개 메소드들

메소드 설명
setUp ( ) : null Initializes the service instance to test.
testCleanUpFolders ( ) : null Tests if we are able to clear the tmp directory of an application
testCreateTmpFolders ( ) : null Tests if we can create the tmp directories a passed application needs
testDeploy ( ) : null Tests if we will run through the deploy process without an error
testFindAll ( ) : null Test if the findAll() method returns the correct number of elements.
testFindAllByName ( ) : null Test if the findAllByName() method returns the correct number of elements.
testGetExtractor ( ) : null Tests if are able to always get an extractor, either default or injected one
testGetExtractorWithoutDefaultConfiguration ( ) : null Tests if are able to run through the method
testInjectExtractor ( ) : null Tests if we are able to inject our extractor
testLoad ( ) : null Test if the load() method returns the correct app node.
testLoadByWebappPath ( ) : null Tests if we can load a webapp by path
testLoadWithInvalidPrimaryKey ( ) : null Test if the load() method returns the NULL for an invalid primary key.
testNewFromApplication ( ) : null Will test if we can successfully add an app to the configuration based on a given application object
testPersist ( ) : null Tests if we can persist apps into our configuration
testSoak ( ) : null Tests if we can soak an archive without receiving an exception
testUndeploy ( ) : null If we can run the un-deploy functionality without receiving an error
testUndeployInvalidUuid ( ) : null If we can determine if a passed UUID is an invalid one

메소드 상세

setUp() 공개 메소드

Initializes the service instance to test.
public setUp ( ) : null
리턴 null

testCleanUpFolders() 공개 메소드

Tests if we are able to clear the tmp directory of an application
public testCleanUpFolders ( ) : null
리턴 null

testCreateTmpFolders() 공개 메소드

Tests if we can create the tmp directories a passed application needs
public testCreateTmpFolders ( ) : null
리턴 null

testDeploy() 공개 메소드

Tests if we will run through the deploy process without an error
public testDeploy ( ) : null
리턴 null

testFindAll() 공개 메소드

Test if the findAll() method returns the correct number of elements.
public testFindAll ( ) : null
리턴 null

testFindAllByName() 공개 메소드

Test if the findAllByName() method returns the correct number of elements.
public testFindAllByName ( ) : null
리턴 null

testGetExtractor() 공개 메소드

Tests if are able to always get an extractor, either default or injected one
public testGetExtractor ( ) : null
리턴 null

testGetExtractorWithoutDefaultConfiguration() 공개 메소드

Tests if are able to run through the method

testInjectExtractor() 공개 메소드

Tests if we are able to inject our extractor
public testInjectExtractor ( ) : null
리턴 null

testLoad() 공개 메소드

Test if the load() method returns the correct app node.
public testLoad ( ) : null
리턴 null

testLoadByWebappPath() 공개 메소드

Tests if we can load a webapp by path
public testLoadByWebappPath ( ) : null
리턴 null

testLoadWithInvalidPrimaryKey() 공개 메소드

Test if the load() method returns the NULL for an invalid primary key.

testNewFromApplication() 공개 메소드

Will test if we can successfully add an app to the configuration based on a given application object
public testNewFromApplication ( ) : null
리턴 null

testPersist() 공개 메소드

Tests if we can persist apps into our configuration
public testPersist ( ) : null
리턴 null

testSoak() 공개 메소드

Tests if we can soak an archive without receiving an exception
public testSoak ( ) : null
리턴 null

testUndeploy() 공개 메소드

If we can run the un-deploy functionality without receiving an error
public testUndeploy ( ) : null
리턴 null

testUndeployInvalidUuid() 공개 메소드

If we can determine if a passed UUID is an invalid one
public testUndeployInvalidUuid ( ) : null
리턴 null

프로퍼티 상세

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

The app service instance to test.
protected PHPUnit_Framework_MockObject_MockObject|AppService,AppserverIo\Appserver\Core\Api $appService
리턴 PHPUnit_Framework_MockObject_MockObject | AppService