PHP Class Gc\Mvc\Resolver\AliasPathStackTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: gotcms/gotcms

Méthodes publiques

Méthode 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 méthode

public setUp ( )

testAddAlias() public méthode

Test add alias method.
public testAddAlias ( ) : void
Résultat void

testAddAliasFailsWithBadKey() public méthode

Test addAlias fails with bad key
public testAddAliasFailsWithBadKey ( ) : void
Résultat void

testAddAliasFailsWithBadPath() public méthode

Test addAlias fails with bad Path
public testAddAliasFailsWithBadPath ( ) : void
Résultat void

testGetAndSetMimeResolver() public méthode

Test Set Mime Resolver Only Accepts a mime Resolver
public testGetAndSetMimeResolver ( ) : void
Résultat void

testGetAndSetOfLfiProtectionFlag() public méthode

Test Get and Set of Lfi Protection Flag
public testGetAndSetOfLfiProtectionFlag ( ) : void
Résultat void

testLfiProtection() public méthode

Test Lfi Protection
public testLfiProtection ( ) : void
Résultat void

testLfiProtectionFlagDefaultsTrue() public méthode

Test Lfi Protection Flag Defaults to true

testNormalizePath() public méthode

Test normalize path
public testNormalizePath ( ) : void
Résultat void

testResolve() public méthode

Test Resolve returns valid asset
public testResolve ( ) : void
Résultat void

testSetMimeResolverFailObject() public méthode

Test Set Mime Resolver Only Accepts a mime Resolver
public testSetMimeResolverFailObject ( ) : void
Résultat void

testWillNotResolveDirectories() public méthode

Test that resolver will not resolve directories
public testWillNotResolveDirectories ( ) : void
Résultat void