PHP Class N98\Magento\Command\Developer\Module\Rewrite\ClassExistsCheckerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: netz98/n98-magerun

Public Methods

Method Description
__destruct ( )
creation ( )
existingClass ( )
nonExistingClass ( )
preventingFatalOnNonExistingBaseClass ( string $className )
provideClassNames ( ) : array
throwingAnExceptionWhileIncluding ( )
triggersFatalError ( ) Document the condition in which the Varien_Autoload auto-loader causes a fatal error
warningTriggeringExpectedBehaviour ( )

Protected Methods

Method Description
tearDown ( )

Private Methods

Method Description
cleanup ( )
create ( $callback, null $flags = null ) : AutoloadHandler Private helper function to create an autoloader that get's automatically cleaned up after test is over
getAutoloader ( ) : Closure Returns an auto-loader callback that is similar to Varien_Autoload
noErrorExceptions ( $includeIni = true ) : Closure Disable PHPUnit error exceptions, returns a reset function to restore the original setting

Method Details

__destruct() public method

public __destruct ( )

creation() public method

public creation ( )

existingClass() public method

public existingClass ( )

nonExistingClass() public method

public nonExistingClass ( )

preventingFatalOnNonExistingBaseClass() public method

public preventingFatalOnNonExistingBaseClass ( string $className )
$className string

provideClassNames() public method

See also: preventingFatalOnNonExistingBaseClass
public provideClassNames ( ) : array
return array

tearDown() protected method

protected tearDown ( )

throwingAnExceptionWhileIncluding() public method

triggersFatalError() public method

Document the condition in which the Varien_Autoload auto-loader causes a fatal error
public triggersFatalError ( )

warningTriggeringExpectedBehaviour() public method