PHP Class Gc\User\ModelTest

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

Protected Properties

Свойство Type Description
$object Model

Méthodes publiques

Méthode Description
testAuthenticate ( ) : void Test
testDelete ( ) : void Test
testDeleteWithWrongId ( ) : void Test
testDeleteWithoutId ( ) : void Test
testFakeAuthenticate ( ) : void Test
testFromArray ( ) : void Test
testFromFakeId ( ) : void Test
testFromId ( ) : void Test
testGetName ( ) : void Test
testGetRole ( ) : void Test
testSave ( ) : void Test
testSaveWithWrongValues ( ) : void Test
testSendForgotPasswordWithEmail ( ) : void Test
testSendForgotPasswordWithWrongEmail ( ) : void Test
testSetEmail ( ) : void Test
testSetEncryptedPassword ( ) : void Test
testSetFakeEmail ( ) : void Test

Méthodes protégées

Méthode Description
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

Method Details

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( ) : void
Résultat void

testAuthenticate() public méthode

Test
public testAuthenticate ( ) : void
Résultat void

testDelete() public méthode

Test
public testDelete ( ) : void
Résultat void

testDeleteWithWrongId() public méthode

Test
public testDeleteWithWrongId ( ) : void
Résultat void

testDeleteWithoutId() public méthode

Test
public testDeleteWithoutId ( ) : void
Résultat void

testFakeAuthenticate() public méthode

Test
public testFakeAuthenticate ( ) : void
Résultat void

testFromArray() public méthode

Test
public testFromArray ( ) : void
Résultat void

testFromFakeId() public méthode

Test
public testFromFakeId ( ) : void
Résultat void

testFromId() public méthode

Test
public testFromId ( ) : void
Résultat void

testGetName() public méthode

Test
public testGetName ( ) : void
Résultat void

testGetRole() public méthode

Test
public testGetRole ( ) : void
Résultat void

testSave() public méthode

Test
public testSave ( ) : void
Résultat void

testSaveWithWrongValues() public méthode

Test
public testSaveWithWrongValues ( ) : void
Résultat void

testSendForgotPasswordWithEmail() public méthode

Test
public testSendForgotPasswordWithEmail ( ) : void
Résultat void

testSendForgotPasswordWithWrongEmail() public méthode

Test

testSetEmail() public méthode

Test
public testSetEmail ( ) : void
Résultat void

testSetEncryptedPassword() public méthode

Test
public testSetEncryptedPassword ( ) : void
Résultat void

testSetFakeEmail() public méthode

Test
public testSetFakeEmail ( ) : void
Résultat void

Property Details

$object protected_oe property

protected Model,Gc\User $object
Résultat Model