PHP Class TestCase

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phanan/koel Class Usage Examples

Protected Properties

Свойство Type Description
$baseUrl string The base URL to use while testing the application.
$coverPath
$mediaPath

Méthodes publiques

Méthode Description
__construct ( )
createApplication ( ) : Illuminate\Foundation\Application Creates the application.
setUp ( )

Méthodes protégées

Méthode Description
createSampleMediaSet ( ) Create a sample media set, with a complete artist+album+song trio.
deleteAsUser ( $url, $data = [], $user = null )
getAsUser ( $url, $user = null )
postAsUser ( $url, $data, $user = null )
putAsUser ( $url, $data, $user = null )

Private Methods

Méthode Description
prepareForTests ( )

Method Details

__construct() public méthode

public __construct ( )

createApplication() public méthode

Creates the application.
public createApplication ( ) : Illuminate\Foundation\Application
Résultat Illuminate\Foundation\Application

createSampleMediaSet() protected méthode

Create a sample media set, with a complete artist+album+song trio.
protected createSampleMediaSet ( )

deleteAsUser() protected méthode

protected deleteAsUser ( $url, $data = [], $user = null )

getAsUser() protected méthode

protected getAsUser ( $url, $user = null )

postAsUser() protected méthode

protected postAsUser ( $url, $data, $user = null )

putAsUser() protected méthode

protected putAsUser ( $url, $data, $user = null )

setUp() public méthode

public setUp ( )

Property Details

$baseUrl protected_oe property

The base URL to use while testing the application.
protected string $baseUrl
Résultat string

$coverPath protected_oe property

protected $coverPath

$mediaPath protected_oe property

protected $mediaPath