Several Unit test fixes. Add a Mock Indexer for Solr. Add a language for primary test Eperson. Do better context cleanup. Improve fail messages with actual errors.

This commit is contained in:
Tim Donohue
2013-10-23 13:58:10 -05:00
parent d76ebbdb0b
commit 82a413511c
10 changed files with 68 additions and 21 deletions

View File

@@ -63,12 +63,12 @@ public class CommunityTest extends AbstractDSpaceObjectTest
catch (AuthorizeException ex)
{
log.error("Authorization Error in init", ex);
fail("Authorization Error in init");
fail("Authorization Error in init:" + ex.getMessage());
}
catch (SQLException ex)
{
log.error("SQL Error in init", ex);
fail("SQL Error in init");
fail("SQL Error in init:" + ex.getMessage());
}
}