PHP Class Gc\Mvc\Resolver\AliasPathStackTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: gotcms/gotcms

Public Methods

Method Description
setUp ( )
testAddAlias ( ) : void Test add alias method.
testAddAliasFailsWithBadKey ( ) : void Test addAlias fails with bad key
testAddAliasFailsWithBadPath ( ) : void Test addAlias fails with bad Path
testGetAndSetMimeResolver ( ) : void Test Set Mime Resolver Only Accepts a mime Resolver
testGetAndSetOfLfiProtectionFlag ( ) : void Test Get and Set of Lfi Protection Flag
testLfiProtection ( ) : void Test Lfi Protection
testLfiProtectionFlagDefaultsTrue ( ) : void Test Lfi Protection Flag Defaults to true
testNormalizePath ( ) : void Test normalize path
testResolve ( ) : void Test Resolve returns valid asset
testSetMimeResolverFailObject ( ) : void Test Set Mime Resolver Only Accepts a mime Resolver
testWillNotResolveDirectories ( ) : void Test that resolver will not resolve directories

Method Details

setUp() public method

public setUp ( )

testAddAlias() public method

Test add alias method.
public testAddAlias ( ) : void
return void

testAddAliasFailsWithBadKey() public method

Test addAlias fails with bad key
public testAddAliasFailsWithBadKey ( ) : void
return void

testAddAliasFailsWithBadPath() public method

Test addAlias fails with bad Path
public testAddAliasFailsWithBadPath ( ) : void
return void

testGetAndSetMimeResolver() public method

Test Set Mime Resolver Only Accepts a mime Resolver
public testGetAndSetMimeResolver ( ) : void
return void

testGetAndSetOfLfiProtectionFlag() public method

Test Get and Set of Lfi Protection Flag

testLfiProtection() public method

Test Lfi Protection
public testLfiProtection ( ) : void
return void

testLfiProtectionFlagDefaultsTrue() public method

Test Lfi Protection Flag Defaults to true

testNormalizePath() public method

Test normalize path
public testNormalizePath ( ) : void
return void

testResolve() public method

Test Resolve returns valid asset
public testResolve ( ) : void
return void

testSetMimeResolverFailObject() public method

Test Set Mime Resolver Only Accepts a mime Resolver

testWillNotResolveDirectories() public method

Test that resolver will not resolve directories