PHP Class lithium\tests\cases\core\LibrariesTest

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Protected Properties

Свойство Type Description
$_cache

Méthodes publiques

Méthode Description
setUp ( )
tearDown ( )
testAddInvalidLibrary ( ) Tests that an exception is thrown when a library is added which could not be found.
testAddNonPrefixedLibrary ( ) Tests that non-prefixed (poorly named or structured) libraries can still be added.
testCacheControl ( )
testCaseSensitivePathLookups ( )
testClassInstanceWithSubnamespace ( )
testDeprectatedInit ( )
testExcludeNonClassFiles ( ) Tests that non-class files are always filtered out of find() results unless an alternate filter is specified.
testFindWithOptions ( )
testFindingClasses ( ) Tests recursive and non-recursive searching through libraries with paths.
testFindingClassesAndNamespaces ( )
testFindingClassesWithCallableExcludes ( )
testFindingClassesWithCallableFilters ( )
testFindingClassesWithExclude ( )
testLibraryAddRemove ( ) Tests the addition and removal of default libraries.
testLibraryConfigAccess ( ) Tests accessing library configurations.
testLibraryLoad ( ) Tests the loading of libraries
testLibraryNameConfigAccess ( )
testLocateCommandInLithium ( )
testLocateCommandInLithiumRecursiveTrue ( )
testLocateWithDotSyntax ( )
testLocateWithLibrary ( )
testLocateWithLithiumLibrary ( )
testLocateWithTestAppLibrary ( )
testMapUnmap ( ) Tests that Libraries::map() and Libraries::unmap()
testNamespaceToFileTranslation ( )
testPathCaching ( ) Tests path caching by calling path() twice.
testPathDirectoryLookups ( )
testPathFiltering ( )
testPathTemplate ( )
testPathTemplateWithGlobBrace ( )
testPathTransform ( )
testPathsInPharArchives ( ) Tests that Libraries::realPath() correctly resolves paths to files inside Phar archives.
testSearchOptimizedNamespacesWithOnlyDir ( )
testServiceLocateAll ( )
testServiceLocateAllCommands ( )
testServiceLocateApp ( )
testServiceLocateCommand ( )
testServiceLocateInstantiation ( )
testServiceLocation ( ) Tests locating service objects. These tests may fail if not run on a stock install, as other objects may preceed the core objects in load order.

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testAddInvalidLibrary() public méthode

Tests that an exception is thrown when a library is added which could not be found.

testAddNonPrefixedLibrary() public méthode

Tests that non-prefixed (poorly named or structured) libraries can still be added.

testCacheControl() public méthode

public testCacheControl ( )

testCaseSensitivePathLookups() public méthode

testClassInstanceWithSubnamespace() public méthode

testDeprectatedInit() public méthode

Deprecation:
public testDeprectatedInit ( )

testExcludeNonClassFiles() public méthode

Tests that non-class files are always filtered out of find() results unless an alternate filter is specified.

testFindWithOptions() public méthode

public testFindWithOptions ( )

testFindingClasses() public méthode

Tests recursive and non-recursive searching through libraries with paths.
public testFindingClasses ( )

testFindingClassesAndNamespaces() public méthode

testFindingClassesWithCallableExcludes() public méthode

testFindingClassesWithCallableFilters() public méthode

testFindingClassesWithExclude() public méthode

testLibraryAddRemove() public méthode

Tests the addition and removal of default libraries.

testLibraryConfigAccess() public méthode

Tests accessing library configurations.

testLibraryLoad() public méthode

Tests the loading of libraries
public testLibraryLoad ( )

testLibraryNameConfigAccess() public méthode

testLocateCommandInLithium() public méthode

testLocateCommandInLithiumRecursiveTrue() public méthode

testLocateWithDotSyntax() public méthode

testLocateWithLibrary() public méthode

testLocateWithLithiumLibrary() public méthode

testLocateWithTestAppLibrary() public méthode

testMapUnmap() public méthode

Tests that Libraries::map() and Libraries::unmap()
public testMapUnmap ( )

testNamespaceToFileTranslation() public méthode

testPathCaching() public méthode

Tests path caching by calling path() twice.
public testPathCaching ( )

testPathDirectoryLookups() public méthode

testPathFiltering() public méthode

public testPathFiltering ( )

testPathTemplate() public méthode

public testPathTemplate ( )

testPathTemplateWithGlobBrace() public méthode

Deprecation:

testPathTransform() public méthode

public testPathTransform ( )

testPathsInPharArchives() public méthode

Tests that Libraries::realPath() correctly resolves paths to files inside Phar archives.

testSearchOptimizedNamespacesWithOnlyDir() public méthode

testServiceLocateAll() public méthode

testServiceLocateAllCommands() public méthode

testServiceLocateApp() public méthode

testServiceLocateCommand() public méthode

testServiceLocateInstantiation() public méthode

testServiceLocation() public méthode

Tests locating service objects. These tests may fail if not run on a stock install, as other objects may preceed the core objects in load order.
public testServiceLocation ( )

Property Details

$_cache protected_oe property

protected $_cache