PHP Class eZ\Publish\Core\Repository\Tests\Service\Integration\UserBase

Inheritance: extends Base
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
testAssignUserToUserGroup ( ) Test assigning a user group to user.
testAssignUserToUserGroupThrowsInvalidArgumentException ( ) Test assigning a user group to user throwing InvalidArgumentException.
testCreateUser ( ) Test creating a user.
testCreateUserGroup ( ) Test creating new user group.
testCreateUserGroupRequiredFieldEmpty ( ) Test creating new user group throwing ContentFieldValidationException.
testCreateUserGroupRequiredFieldMissing ( ) Test creating new user group throwing ContentFieldValidationException.
testCreateUserRequiredFieldsEmpty ( ) Test creating a user throwing ContentFieldValidationException.
testCreateUserThrowsInvalidArgumentException ( ) Test creating a user throwing InvalidArgumentException.
testCreateUserThrowsNotFoundException ( ) Test creating a user throwing NotFoundException.
testDeleteUserGroup ( ) Test deleting user group.
testDeleteUserGroupThrowsNotFoundException ( ) Test deleting user group throwing NotFoundException.
testIsPropertySet ( ) Test if property exists.
testLoadAnonymousUser ( ) Test loading anonymous user.
testLoadSubUserGroups ( ) Test loading sub groups.
testLoadSubUserGroupsThrowsNotFoundException ( ) Test loading sub groups throwing NotFoundException.
testLoadUser ( ) Test loading a user.
testLoadUserByCredentials ( ) Test loading a user by credentials.
testLoadUserByCredentialsThrowsNotFoundException ( ) Test loading a user by credentials throwing NotFoundException.
testLoadUserByCredentialsThrowsNotFoundExceptionBadPassword ( ) Test loading a user by credentials throwing NotFoundException because of bad password.
testLoadUserGroup ( ) Test loading a group.
testLoadUserGroupThrowsNotFoundException ( ) Test loading a group throwing NotFoundException.
testLoadUserGroupsOfUser ( ) Test loading user groups the user belongs to.
testLoadUserThrowsNotFoundException ( ) Test loading a user throwing NotFoundException.
testLoadUsersOfUserGroup ( ) Test loading user groups the user belongs to.
testMissingProperty ( ) Test retrieving missing property.
testMoveUserGroup ( ) Test moving a user group below another group.
testMoveUserGroupThrowsNotFoundException ( ) Test moving a user group below another group throwing NotFoundException.
testNewClass ( ) Test a new class and default values on properties.
testNewUserCreateStruct ( ) Test creating new UserCreateStruct.
testNewUserGroupCreateStruct ( ) Test creating new UserGroupCreateStruct.
testNewUserGroupUpdateStruct ( ) Test creating new UserGroupUpdateStruct.
testNewUserUpdateStruct ( ) Test creating new UserUpdateStruct.
testReadOnlyProperty ( ) Test setting read only property.
testUnAssignUserFromUserGroup ( ) Test removing a user from user group.
testUnAssignUserFromUserGroupThrowsBadStateException ( ) Test removing a user from user group throwing BadState for removing last group.
testUnAssignUserFromUserGroupThrowsInvalidArgumentException ( ) Test removing a user from user group throwing InvalidArgumentException.
testUnsetProperty ( ) Test unsetting a property.
testUpdateUser ( ) Test updating a user.
testUpdateUserGroup ( ) Test updating a user group.
testUpdateUserGroupRequiredFieldEmpty ( ) Test updating a user group throwing ContentFieldValidationException.
testUpdateUserThrowsContentValidationException ( ) Test updating a user throwing ContentValidationException.

Method Details

testAssignUserToUserGroup() public méthode

Test assigning a user group to user.

testAssignUserToUserGroupThrowsInvalidArgumentException() public méthode

Test assigning a user group to user throwing InvalidArgumentException.

testCreateUser() public méthode

Test creating a user.
public testCreateUser ( )

testCreateUserGroup() public méthode

Test creating new user group.
public testCreateUserGroup ( )

testCreateUserGroupRequiredFieldEmpty() public méthode

Test creating new user group throwing ContentFieldValidationException.

testCreateUserGroupRequiredFieldMissing() public méthode

Test creating new user group throwing ContentFieldValidationException.

testCreateUserRequiredFieldsEmpty() public méthode

Test creating a user throwing ContentFieldValidationException.

testCreateUserThrowsInvalidArgumentException() public méthode

Test creating a user throwing InvalidArgumentException.

testCreateUserThrowsNotFoundException() public méthode

Test creating a user throwing NotFoundException.

testDeleteUserGroup() public méthode

Test deleting user group.
public testDeleteUserGroup ( )

testDeleteUserGroupThrowsNotFoundException() public méthode

Test deleting user group throwing NotFoundException.

testIsPropertySet() public méthode

Test if property exists.
public testIsPropertySet ( )

testLoadAnonymousUser() public méthode

Test loading anonymous user.

testLoadSubUserGroups() public méthode

Test loading sub groups.

testLoadSubUserGroupsThrowsNotFoundException() public méthode

Test loading sub groups throwing NotFoundException.

testLoadUser() public méthode

Test loading a user.
public testLoadUser ( )

testLoadUserByCredentials() public méthode

Test loading a user by credentials.

testLoadUserByCredentialsThrowsNotFoundException() public méthode

Test loading a user by credentials throwing NotFoundException.

testLoadUserByCredentialsThrowsNotFoundExceptionBadPassword() public méthode

Test loading a user by credentials throwing NotFoundException because of bad password.

testLoadUserGroup() public méthode

Test loading a group.
public testLoadUserGroup ( )

testLoadUserGroupThrowsNotFoundException() public méthode

Test loading a group throwing NotFoundException.

testLoadUserGroupsOfUser() public méthode

Test loading user groups the user belongs to.

testLoadUserThrowsNotFoundException() public méthode

Test loading a user throwing NotFoundException.

testLoadUsersOfUserGroup() public méthode

Test loading user groups the user belongs to.

testMissingProperty() public méthode

Test retrieving missing property.
public testMissingProperty ( )

testMoveUserGroup() public méthode

Test moving a user group below another group.
public testMoveUserGroup ( )

testMoveUserGroupThrowsNotFoundException() public méthode

Test moving a user group below another group throwing NotFoundException.

testNewClass() public méthode

Test a new class and default values on properties.
public testNewClass ( )

testNewUserCreateStruct() public méthode

Test creating new UserCreateStruct.

testNewUserGroupCreateStruct() public méthode

Test creating new UserGroupCreateStruct.

testNewUserGroupUpdateStruct() public méthode

Test creating new UserGroupUpdateStruct.

testNewUserUpdateStruct() public méthode

Test creating new UserUpdateStruct.

testReadOnlyProperty() public méthode

Test setting read only property.

testUnAssignUserFromUserGroup() public méthode

Test removing a user from user group.

testUnAssignUserFromUserGroupThrowsBadStateException() public méthode

Test removing a user from user group throwing BadState for removing last group.

testUnAssignUserFromUserGroupThrowsInvalidArgumentException() public méthode

Test removing a user from user group throwing InvalidArgumentException.

testUnsetProperty() public méthode

Test unsetting a property.
public testUnsetProperty ( )

testUpdateUser() public méthode

Test updating a user.
public testUpdateUser ( )

testUpdateUserGroup() public méthode

Test updating a user group.
public testUpdateUserGroup ( )

testUpdateUserGroupRequiredFieldEmpty() public méthode

Test updating a user group throwing ContentFieldValidationException.

testUpdateUserThrowsContentValidationException() public méthode

Test updating a user throwing ContentValidationException.