PHP Class AdamStipak\RestRouteTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: newPOPE/Nette-RestRoute

Méthodes publiques

Méthode Description
getActions ( )
getVersions ( )
testConstructorWithEmptyDefaultFormat ( )
testConstructorWithInvalidDefaultFormat ( )
testConstructorWithNoModule ( )
testConstructorWithXmlAsADefaultFormat ( )
testDefault ( $method, $path, $action, $id = null, $associations = null )
testFileUpload ( )
testMatchAndConstructSpinalCaseUrlMultipleResource ( )
testMatchAndConstructSpinalCaseUrlSingleResource ( )
testMatchAndConstructUrl ( )
testModuleVersioning ( $module, $path, $expectedPresenterName, $expectedUrl )

Method Details

getActions() public méthode

public getActions ( )

getVersions() public méthode

public getVersions ( )

testConstructorWithEmptyDefaultFormat() public méthode

testConstructorWithInvalidDefaultFormat() public méthode

testConstructorWithNoModule() public méthode

testConstructorWithXmlAsADefaultFormat() public méthode

testDefault() public méthode

public testDefault ( $method, $path, $action, $id = null, $associations = null )

testFileUpload() public méthode

public testFileUpload ( )

testMatchAndConstructSpinalCaseUrlMultipleResource() public méthode

testMatchAndConstructSpinalCaseUrlSingleResource() public méthode

testMatchAndConstructUrl() public méthode

testModuleVersioning() public méthode

public testModuleVersioning ( $module, $path, $expectedPresenterName, $expectedUrl )