Skip navigation links
A C D E F G H I L M N P 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.
clear() - Method in class es.uvigo.esei.dgss.letta.mail.MailBox
Clears this mail box, removing all the emails sent.
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.
containsEntityInOrder(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 in the same received order.
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.
containsEventsInOrder(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.
containsEventsListInAnyOrder(Iterable<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.
containsEventsListInOrder(Iterable<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.
countEmails() - Method in class es.uvigo.esei.dgss.letta.mail.MailBox
Returns the number of emails sent.

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
 
describeTo(Description) - Method in class es.uvigo.esei.dgss.letta.mail.RegexMatcher
 

E

Email - Class in es.uvigo.esei.dgss.letta.mail
An entity that represents an email and contains the basic information that an email usually has (sender, recipient, subject and message).
Email(String, String, String, String) - Constructor for class es.uvigo.esei.dgss.letta.mail.Email
Constructs a new instance of Email.
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.mail - package es.uvigo.esei.dgss.letta.mail
 
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
An array of twenty-five events that should exist in the database.
eventsAsList() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
EventsDataset - Class in es.uvigo.esei.dgss.letta.domain.entities
Utility test class that contains a set of Event entities.
eventsWithCreator(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns all the Event created by an User
eventsWithTitleOrDescriptionContaining(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
An array of Event that have in them title or description a pattern provided
eventsWithTwoJoinedUsers() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
An array of twenty-five events that should exist in the database, and with already joined users (two per event) to each event.
eventsWithUserJoined(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns all the Event joined by an User
eventWithId(int) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the unique Event from the EventsDataset.events() array that has the provided ID.
eventWithTitle(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event from the EventsDataset.events() array that has the provided title.
eventWithType(EventType) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event from the EventsDataset.events() array that has the provided type.
existentEvent() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event that should exist in the database.
existentEventId() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the ID of a Event that should exist in the database.
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.

F

filterEvents(Predicate<Event>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the EventsDataset.events() that satisfy a given Predicate.
filterEventsWithTwoJoinedUsers(Predicate<Event>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the EventsDataset.eventsWithTwoJoinedUsers() that satisfy a given Predicate.
findEvent(Predicate<Event>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Optional holding or not the first found Event in EventsDataset.events() that satisfies a given Predicate.
findEventOrThrow(Predicate<Event>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the first Event from EventsDataset.events() that satisfies the given Predicate.

G

get() - Method in interface es.uvigo.esei.dgss.letta.service.util.security.RoleCaller.ThrowingSupplier
Executes a task that returns a value.
getEmails() - Method in class es.uvigo.esei.dgss.letta.mail.MailBox
Returns the emails sent.
getFrom() - Method in class es.uvigo.esei.dgss.letta.mail.Email
Returns from email of the sender.
getLastEmail() - Method in class es.uvigo.esei.dgss.letta.mail.MailBox
Returns the last email sent.
getMessage() - Method in class es.uvigo.esei.dgss.letta.mail.Email
Returns subject subject of the email.
getName() - Method in class es.uvigo.esei.dgss.letta.service.util.security.TestPrincipal
 
getSubject() - Method in class es.uvigo.esei.dgss.letta.mail.Email
Returns message body of the email.
getTo() - Method in class es.uvigo.esei.dgss.letta.mail.Email
Returns to email of the recipient.

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
An array of less than five events that should exist in the database.
lessThanTwentyEvents() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
An array of less than twenty events that should exist in the database.

M

MailBox - Class in es.uvigo.esei.dgss.letta.mail
A mailbox that stores email entities.
MailBox() - Constructor for class es.uvigo.esei.dgss.letta.mail.MailBox
Constructs a new instance of MailBox.
mapEvents(Function<Event, A>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Transforms the EventsDataset.events() array with a given Function, returning the resulting values in a List.
matches(String) - Static method in class es.uvigo.esei.dgss.letta.mail.RegexMatcher
Factory method that creates a new instance of RegexMatcher.
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
 
matchesSafely(String) - Method in class es.uvigo.esei.dgss.letta.mail.RegexMatcher
 
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
Returns an Event that should not exist in the database and that may be used to create a new event.
newEventWithoutCreator() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event that should not exist in the database and that may be used to create a new event.
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.
nonExistentDescription() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event description that should not exist in the database.
nonExistentEventId() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event ID that should not exist in the database.
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
Returns an Event title that should not exist in the database.
nonExistentUser() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns an user that should not exist in the database.

P

passwordFor(User) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns the plain password for a given user.
passwordFor(String) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns the plain password for a given user's login.

R

RegexMatcher - Class in es.uvigo.esei.dgss.letta.mail
A Hamcrest matcher to check if string values match a regular expression.
RegexMatcher(String) - Constructor for class es.uvigo.esei.dgss.letta.mail.RegexMatcher
Constructs a new instance of RegexMatcher.
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

sendEmail(Email) - Method in class es.uvigo.esei.dgss.letta.mail.MailBox
Stores a new email in this email box.
setName(String) - Method in class es.uvigo.esei.dgss.letta.service.util.security.TestPrincipal
Changes the current principal.
sortedEvents(Comparator<Event>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the EventsDataset.events() array sorted with a given Comparator.
sortedEvents(Function<Event, C>) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns the EventsDataset.events() array sorted by a given transformation from Event to Comparable.

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 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 F G H I L M N P R S T U 
Skip navigation links

Copyright © 2015. All rights reserved.