PHP 클래스 AppserverIo\Appserver\Application\ApplicationTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$application Application The application instance we want to test.
$classLoaders AppserverIo\Storage\GenericStackable The storage for the class loaders.
$data AppserverIo\Storage\StackableStorage The storage for the naming directory data.
$managers AppserverIo\Storage\GenericStackable The storage for the managers.

공개 메소드들

메소드 설명
setUp ( ) : void Initialize the instance to test.
testAddClassLoader ( ) : void Test if the class loader has been added successfully.
testAddManager ( ) : void Test if the manager instance has been added successfully.
testConstructor ( ) : void Test if the application has successfully been initialized.
testGetAppBase ( ) : void Test if the getter/setter for the app base works.
testGetBaseDirectory ( ) : void Test if the getter/setter for the base directory works.
testGetBaseDirectoryWithDirectoryToAppend ( ) : void Test if the passed directory will be appended correctly.
testGetCacheDir ( ) : void Test if the getter for the cache dir works.
testGetClassLoader ( ) : void Test if the getter for a certain class loader works.
testGetGroup ( ) : void Test if the getter for the group works.
testGetInvalidManager ( ) : void Test if the NULL will be returned for an invalid manager request.
testGetManagers ( ) : void Test if the added manager has been returned.
testGetName ( ) : void Test if the getter/setter for the application name works.
testGetSessionDir ( ) : void Test if the getter for the session dir works.
testGetUmask ( ) : void Test if the getter for the group works.
testGetUser ( ) : void Test if the getter for the user works.
testGetWebappPath ( ) : void Test if the getter for the webapp path works.
testInitializeManagers ( ) : void Test if the managers has been initialized successfully.
testInjectGetClassLoaders ( ) : void Test if the getter/setter for the class loaders works.
testInjectGetInitialContext ( ) : void Test if the getter/setter for the initial context works.
testInjectGetManagers ( ) : void Test if the getter/setter for the managers works.
testNewService ( ) : void Test if the newService() method will be forwarded to the initial context.
testRegisterClassLoaders ( ) : void Test if the class loaders has been registered successfully.
testSetGetAttribute ( ) : void Test if the class loader has been added successfully.

메소드 상세

setUp() 공개 메소드

Initialize the instance to test.
public setUp ( ) : void
리턴 void

testAddClassLoader() 공개 메소드

Test if the class loader has been added successfully.
public testAddClassLoader ( ) : void
리턴 void

testAddManager() 공개 메소드

Test if the manager instance has been added successfully.
public testAddManager ( ) : void
리턴 void

testConstructor() 공개 메소드

Test if the application has successfully been initialized.
public testConstructor ( ) : void
리턴 void

testGetAppBase() 공개 메소드

Test if the getter/setter for the app base works.
public testGetAppBase ( ) : void
리턴 void

testGetBaseDirectory() 공개 메소드

Test if the getter/setter for the base directory works.
public testGetBaseDirectory ( ) : void
리턴 void

testGetBaseDirectoryWithDirectoryToAppend() 공개 메소드

Test if the passed directory will be appended correctly.

testGetCacheDir() 공개 메소드

Test if the getter for the cache dir works.
public testGetCacheDir ( ) : void
리턴 void

testGetClassLoader() 공개 메소드

Test if the getter for a certain class loader works.
public testGetClassLoader ( ) : void
리턴 void

testGetGroup() 공개 메소드

Test if the getter for the group works.
public testGetGroup ( ) : void
리턴 void

testGetInvalidManager() 공개 메소드

Test if the NULL will be returned for an invalid manager request.
public testGetInvalidManager ( ) : void
리턴 void

testGetManagers() 공개 메소드

Test if the added manager has been returned.
public testGetManagers ( ) : void
리턴 void

testGetName() 공개 메소드

Test if the getter/setter for the application name works.
public testGetName ( ) : void
리턴 void

testGetSessionDir() 공개 메소드

Test if the getter for the session dir works.
public testGetSessionDir ( ) : void
리턴 void

testGetUmask() 공개 메소드

Test if the getter for the group works.
public testGetUmask ( ) : void
리턴 void

testGetUser() 공개 메소드

Test if the getter for the user works.
public testGetUser ( ) : void
리턴 void

testGetWebappPath() 공개 메소드

Test if the getter for the webapp path works.
public testGetWebappPath ( ) : void
리턴 void

testInitializeManagers() 공개 메소드

Test if the managers has been initialized successfully.
public testInitializeManagers ( ) : void
리턴 void

testInjectGetClassLoaders() 공개 메소드

Test if the getter/setter for the class loaders works.
public testInjectGetClassLoaders ( ) : void
리턴 void

testInjectGetInitialContext() 공개 메소드

Test if the getter/setter for the initial context works.
public testInjectGetInitialContext ( ) : void
리턴 void

testInjectGetManagers() 공개 메소드

Test if the getter/setter for the managers works.
public testInjectGetManagers ( ) : void
리턴 void

testNewService() 공개 메소드

Test if the newService() method will be forwarded to the initial context.
public testNewService ( ) : void
리턴 void

testRegisterClassLoaders() 공개 메소드

Test if the class loaders has been registered successfully.
public testRegisterClassLoaders ( ) : void
리턴 void

testSetGetAttribute() 공개 메소드

Test if the class loader has been added successfully.
public testSetGetAttribute ( ) : void
리턴 void

프로퍼티 상세

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

The application instance we want to test.
protected Application,AppserverIo\Appserver\Application $application
리턴 Application

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

The storage for the class loaders.
protected GenericStackable,AppserverIo\Storage $classLoaders
리턴 AppserverIo\Storage\GenericStackable

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

The storage for the naming directory data.
protected StackableStorage,AppserverIo\Storage $data
리턴 AppserverIo\Storage\StackableStorage

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

The storage for the managers.
protected GenericStackable,AppserverIo\Storage $managers
리턴 AppserverIo\Storage\GenericStackable