Skip navigation links
A C D E G H I L M N R S T U 

A

addMatcherDescription(Matcher<?>) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
Adds as the description of this matcher the SelfDescribing.describeTo(Description) method of other matcher.
addTemplatedDescription(String, Object) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
Adds a new description using the template:

C

call(Supplier<V>) - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
Calls a function that returns a value.
call(Supplier<V>) - Method in class es.uvigo.esei.dgss.letta.service.util.security.UserRoleCaller
 
checkAttribute(String, Function<T, R>, T) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
Compares the expected and the actual value of an attribute.
clearDescribeTo() - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
Cleans the current description.
containsEntityInAnyOrder(Function<T, Matcher<? super T>>, T...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
Utility method that generates a Matcher that compares several entities.
containsEventsInAnyOrder(Event...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualToEvent
Static constructor to create a Matcher instance with a set of Events as the expected values, relying upon a set of IsEqualToEvent, one per received Event.
containsEventsWithCreatorinAnyOrder(Event...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualToEvent
Static constructor to create a Matcher instance with a set of Events as the expected values, relying upon a set of IsEqualToEvent, one per received Event.
containsRegistrationsInAnyOrder(Registration...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
Factory method that returns a new Matcher that includes several IsEqualsToRegistration matchers, each one using an Registration of the provided ones as the expected value.
containsRegistrationsInAnyOrderIgnoringUuid(Registration...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
Factory method that returns a new Matcher that includes several IsEqualsToRegistration matchers, each one using an Registration of the provided ones as the expected value.
containsUsersInAnyOrder(User...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToUser
Factory method that returns a new Matcher that includes several IsEqualsToUser matchers, each one using an User of the provided ones as the expected value.

D

describeTo(Description) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
 
describeTo(Description) - Method in class es.uvigo.esei.dgss.letta.http.util.HasHttpStatus
 

E

equalsToRegistration(Registration) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
Factory method that creates a new IsEqualsToEntity matcher with the provided Registration as the expected value.
equalsToRegistrationIgnoringUuid(Registration) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
Factory method that creates a new IsEqualsToEntity matcher with the provided Registration as the expected value.
equalsToUser(User) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToUser
Factory method that creates a new IsEqualsToEntity matcher with the provided User as the expected value.
equalToEvent(Event) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualToEvent
Static constructor to create IsEqualToEvent instances with the provided Event as the expected value.
equalToEventWithCreator(Event) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualToEvent
Static constructor to create IsEqualToEvent instances with the provided Event as the expected value.
es.uvigo.esei.dgss.letta.domain.entities - package es.uvigo.esei.dgss.letta.domain.entities
 
es.uvigo.esei.dgss.letta.http.util - package es.uvigo.esei.dgss.letta.http.util
 
es.uvigo.esei.dgss.letta.service.util.security - package es.uvigo.esei.dgss.letta.service.util.security
 
events() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns all the Event
EventsDataset - Class in es.uvigo.esei.dgss.letta.domain.entities
Dataset to test Events
EventsDataset() - Constructor for class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
eventsWithTwoJoinedUsers() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns a Event with his creator User and his joined Users
eventWithId(int) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event with the provided id.
eventWithTitle(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event with title
eventWithType(EventType) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event with eventType
EXISTENT_DESCRIPTION_TRAVELS - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_CINEMA - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_INTERNET - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_LITERATURE - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_MUSIC - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_SPORTS - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_THEATRE - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_TRAVELS - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EXISTENT_TITLE_TV - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
existentEventId() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Return an existent id
existentLogin() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns the login of a user that should exist in the database.
existentRegistration() - Method in class es.uvigo.esei.dgss.letta.domain.entities.RegistrationsDataset
Returns a registration that should exist in the database.
existentUser() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns an user that should exist in the database.
expected - Variable in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
The expected entity.

G

get() - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller.ThrowingSupplier
Executes a task that returns a value.
getName() - Method in class es.uvigo.esei.dgss.letta.service.util.security.TestPrincipal
 

H

HasHttpStatus - Class in es.uvigo.esei.dgss.letta.http.util
A matcher that compares the HTTP status of a Response with an expected value.
HasHttpStatus(Response.StatusType) - Constructor for class es.uvigo.esei.dgss.letta.http.util.HasHttpStatus
Constructs a new instance of HasHttpStatus.
HasHttpStatus(int) - Constructor for class es.uvigo.esei.dgss.letta.http.util.HasHttpStatus
Constructs a new instance of HasHttpStatus.
hasHttpStatus(int) - Static method in class es.uvigo.esei.dgss.letta.http.util.HasHttpStatus
Factory method that creates a HasHttpStatus for the provided status code.
hasHttpStatus(Response.StatusType) - Static method in class es.uvigo.esei.dgss.letta.http.util.HasHttpStatus
Factory method that creates a HasHttpStatus for the provided status.

I

IsEqualsToEntity<T> - Class in es.uvigo.esei.dgss.letta.domain.entities
An abstract Matcher that can be used to create new matchers that compare entities by their attributes.
IsEqualsToEntity(T) - Constructor for class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToEntity
Constructs a new instance of IsEqualsToEntity.
IsEqualsToRegistration - Class in es.uvigo.esei.dgss.letta.domain.entities
Matcher that compares two Registration entities by their attributes.
IsEqualsToRegistration(Registration) - Constructor for class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
Constructs a new instance of IsEqualsToRegistration.
IsEqualsToRegistration(Registration, boolean) - Constructor for class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
Constructs a new instance of IsEqualsToRegistration.
IsEqualsToUser - Class in es.uvigo.esei.dgss.letta.domain.entities
Matcher that compares two User entities by their attributes.
IsEqualsToUser(User) - Constructor for class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToUser
Constructs a new instance of IsEqualsToUser.
IsEqualToEvent - Class in es.uvigo.esei.dgss.letta.domain.entities
IsEqualToEvent implements a TypeSafeMatcher to check for equality of Event objects.

L

lessThanFiveEvents() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns less than five Event
lessThanTwentyEvents() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns less than twenty Event

M

matchesSafely(Registration) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToRegistration
 
matchesSafely(User) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualsToUser
 
matchesSafely(Event) - Method in class es.uvigo.esei.dgss.letta.domain.entities.IsEqualToEvent
 
matchesSafely(Response) - Method in class es.uvigo.esei.dgss.letta.http.util.HasHttpStatus
 
md5OfPassword(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns the MD5 of a password.

N

newEvent() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
newRegistration() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.RegistrationsDataset
Returns a new registration with the same user data as the UsersDataset.newUser() user.
newUser() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns an user that should not exist in the database and that may be used to create a new user.
NON_EXISTENT_DESCRIPTION_TRAVELS - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
NON_EXISTENT_TITLE_CINEMA - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
NON_EXISTENT_TITLE_INTERNET - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
NON_EXISTENT_TITLE_MUSIC - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
NON_EXISTENT_TITLE_SPORTS - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
NON_EXISTENT_TITLE_THEATRE - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
NON_EXISTENT_TITLE_TRAVELS - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
nonExistentDescription() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Return a non existent description
nonExistentEvent() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Return a non existent Event
nonExistentEventId() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Return a non existent id
nonExistentRegistration() - Method in class es.uvigo.esei.dgss.letta.domain.entities.RegistrationsDataset
Returns a registration that should not exist in the database.
nonExistentTitle() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Return a non existent title
nonExistentUser() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns an user that should not exist in the database.

R

registrations() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.RegistrationsDataset
Returns a list of Registration with the same user data as the contained in the UsersDataset.users() users.
RegistrationsDataset - Class in es.uvigo.esei.dgss.letta.domain.entities
Utility test class that contains a set of Registration entities.
RegistrationsDataset() - Constructor for class es.uvigo.esei.dgss.letta.domain.entities.RegistrationsDataset
 
RoleCaller - Interface in es.uvigo.esei.dgss.letta.service.util.security
Utility class that allows the invocation of method with a specific role.
RoleCaller.ThrowingRunnable<E extends Throwable> - Interface in es.uvigo.esei.dgss.letta.service.util.security
A runnable that can throw an exception.
RoleCaller.ThrowingSupplier<V,E extends Throwable> - Interface in es.uvigo.esei.dgss.letta.service.util.security
A function that can throw an exception.
run(Runnable) - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
Calls an runnable that returns no value.
run() - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller.ThrowingRunnable
Executes a task that does not return a value.
run(Runnable) - Method in class es.uvigo.esei.dgss.letta.service.util.security.UserRoleCaller
 

S

setName(String) - Method in class es.uvigo.esei.dgss.letta.service.util.security.TestPrincipal
Changes the current principal.

T

TestPrincipal - Class in es.uvigo.esei.dgss.letta.service.util.security
A Principal stub that allows changing the current principal.
TestPrincipal() - Constructor for class es.uvigo.esei.dgss.letta.service.util.security.TestPrincipal
Constructs a new instance of TestPrincipal.
TestPrincipal(String) - Constructor for class es.uvigo.esei.dgss.letta.service.util.security.TestPrincipal
Constructs a new instance of TestPrincipal with the provided user as the current principal.
throwingCall(RoleCaller.ThrowingSupplier<V, E>) - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
Calls a function that returns a value and may throw an exception.
throwingCall(RoleCaller.ThrowingSupplier<V, E>) - Method in class es.uvigo.esei.dgss.letta.service.util.security.UserRoleCaller
 
throwingRun(RoleCaller.ThrowingRunnable<E>) - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
Calls an runnable that returns no value and may throw an exception.
throwingRun(RoleCaller.ThrowingRunnable<E>) - Method in class es.uvigo.esei.dgss.letta.service.util.security.UserRoleCaller
 

U

UserRoleCaller - Class in es.uvigo.esei.dgss.letta.service.util.security
 
UserRoleCaller() - Constructor for class es.uvigo.esei.dgss.letta.service.util.security.UserRoleCaller
 
users - Static variable in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
users() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
A list of five users that should exists in the database.
UsersDataset - Class in es.uvigo.esei.dgss.letta.domain.entities
Utility test class that contains a set of User entities.
usersWithout(String...) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns the UsersDataset.users() list of users without the users with the provided logins.
userWithLogin(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns a user from the UsersDataset.users() list with the provided login.
uuidForUser(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.RegistrationsDataset
Returns the UUID for a used that should exists in the dataset.
A C D E G H I L M N R S T U 
Skip navigation links

Copyright © 2015. All rights reserved.