PHP Класс lithium\tests\cases\core\LibrariesTest

Наследование: extends lithium\test\Unit
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_cache

Открытые методы

Метод Описание
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.

Описание методов

setUp() публичный Метод

public setUp ( )

tearDown() публичный Метод

public 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() публичный Метод

public testCacheControl ( )

testCaseSensitivePathLookups() публичный Метод

testClassInstanceWithSubnamespace() публичный Метод

testDeprectatedInit() публичный Метод

Устаревший:
public testDeprectatedInit ( )

testExcludeNonClassFiles() публичный Метод

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

testFindWithOptions() публичный Метод

public testFindWithOptions ( )

testFindingClasses() публичный Метод

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

testFindingClassesAndNamespaces() публичный Метод

testFindingClassesWithCallableExcludes() публичный Метод

testFindingClassesWithCallableFilters() публичный Метод

testFindingClassesWithExclude() публичный Метод

testLibraryAddRemove() публичный Метод

Tests the addition and removal of default libraries.

testLibraryConfigAccess() публичный Метод

Tests accessing library configurations.

testLibraryLoad() публичный Метод

Tests the loading of libraries
public testLibraryLoad ( )

testLibraryNameConfigAccess() публичный Метод

testLocateCommandInLithium() публичный Метод

testLocateCommandInLithiumRecursiveTrue() публичный Метод

testLocateWithDotSyntax() публичный Метод

testLocateWithLibrary() публичный Метод

testLocateWithLithiumLibrary() публичный Метод

testLocateWithTestAppLibrary() публичный Метод

testMapUnmap() публичный Метод

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

testNamespaceToFileTranslation() публичный Метод

testPathCaching() публичный Метод

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

testPathDirectoryLookups() публичный Метод

testPathFiltering() публичный Метод

public testPathFiltering ( )

testPathTemplate() публичный Метод

public testPathTemplate ( )

testPathTemplateWithGlobBrace() публичный Метод

Устаревший:

testPathTransform() публичный Метод

public 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.
public testServiceLocation ( )

Описание свойств

$_cache защищенное свойство

protected $_cache