SuccessChanges

Summary

  1. Adds a new Hamcrest matcher for regular expressions (details)
  2. Adds a TestingMailer to the JSF module (details)
  3. Merges a temporal branch failing test. (details)
Commit 75b0a397b51ef25801ac36f5fa41175eea1668d1 by bcgonzalez3
Adds a new Hamcrest matcher for regular expressions
The RegexMatcher is a basic Hamcrest matcher that check if a string
matches a given regular expression.
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/mail/RegexMatcher.java (diff)
Commit 3285f34f61ba56f6dde383404b7ad27ed22170e4 by bcgonzalez3
Adds a TestingMailer to the JSF module
TestingMailer is a stub implementation of the Mailer interface intended
to be used in the tests. This class replaces the DefaultMailer to store
the emails sent instead of effectively sending them.
This email also adds the Email and MailBox classes to the tests module.
This classes can be used to ease the implementation of stub Mailer.
Actually, the JSF's TestingMailer extends the MailBox class.
The file was addedjsf/src/test/resources-wildfly-embedded-h2/beans-mailer.xml (diff)
The file was modifiedjsf/src/test/resources-wildfly-embedded-mysql/beans.xml (diff)
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/mail/MailBox.java (diff)
The file was modifiedjsf/src/test/resources-wildfly-embedded-h2/beans.xml (diff)
The file was addedjsf/src/test/resources-wildfly-embedded-mysql/beans-mailer.xml (diff)
The file was addedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/util/mail/TestingMailer.java (diff)
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/mail/Email.java (diff)
Commit dbb4f543f0e35bd6d8e1f5c5f351fd61422801bb by bcgonzalez3
Merges a temporal branch failing test.
Added a test for register user controller Created a testing mailer to
simulate send a confirmation email.
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/UsersDataset.java (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/RegisterUserControllerTest.java (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/RegisterPage.java (diff)
The file was modifiedjsf/src/main/webapp/register.xhtml (diff)
The file was addedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/RegisterForm.java (diff)