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.matchers.IsEqualToEntity
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.matchers.IsEqualToEntity
Adds a new description using the template:
adminUser() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.UsersDataset
Returns an user whose role is ADMIN

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.matchers.IsEqualToEntity
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.matchers.IsEqualToEntity
Cleans the current description.
containsEntityInAnyOrder(Function<T, Matcher<? super T>>, T...) - Static method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToEntity
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.matchers.IsEqualToEntity
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.matchers.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.matchers.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.matchers.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.matchers.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.
containsEventsWithOwnerInAnyOrder(Event...) - Static method in class es.uvigo.esei.dgss.letta.domain.matchers.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.matchers.IsEqualToRegistration
Factory method that returns a new Matcher that includes several IsEqualToRegistration 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.matchers.IsEqualToRegistration
Factory method that returns a new Matcher that includes several IsEqualToRegistration 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.matchers.IsEqualToUser
Factory method that returns a new Matcher that includes several IsEqualToUser 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.matchers.IsEqualToEntity
 
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.matchers.IsEqualToRegistration
Factory method that creates a new IsEqualToEntity matcher with the provided Registration as the expected value.
equalsToRegistrationIgnoringUuid(Registration) - Static method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToRegistration
Factory method that creates a new IsEqualToEntity matcher with the provided Registration as the expected value.
equalsToUser(User) - Static method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToUser
Factory method that creates a new IsEqualToEntity matcher with the provided User as the expected value.
equalToEvent(Event) - Static method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToEvent
Static constructor to create IsEqualToEvent instances with the provided Event as the expected value.
equalToEventWithOwner(Event) - Static method in class es.uvigo.esei.dgss.letta.domain.matchers.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.domain.matchers - package es.uvigo.esei.dgss.letta.domain.matchers
 
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.
EventsDataset - Class in es.uvigo.esei.dgss.letta.domain.entities
Utility test class that contains a set of Event entities.
eventsWithTwoAttendees() - 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 attending users (two per event) to each event.
eventWithCategory(Event.Category) - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event from the EventsDataset.events() array that has the provided Event.Category.
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.
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.matchers.IsEqualToEntity
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.eventsWithTwoAttendees() 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

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

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(Event) - Method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToEvent
 
matchesSafely(Registration) - Method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToRegistration
 
matchesSafely(User) - Method in class es.uvigo.esei.dgss.letta.domain.matchers.IsEqualToUser
 
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.
newEventWithoutOwner() - 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.
nonExistentEvent() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
 
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

updatedEvent() - Static method in class es.uvigo.esei.dgss.letta.domain.entities.EventsDataset
Returns an Event that has be modified.
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.