Commit Graph

17 Commits

Author SHA1 Message Date
Tim Donohue
6248867de7 Refactor tests to use Mockito instead of JMockit 2020-02-13 13:43:48 -06:00
Patrick Trottier
7f4b4e9f8a Convert getLogger() and Log4J imports for Log4J 2 2018-11-09 08:41:42 -05:00
Mark H. Wood
24575d8ba1 [DS-3895] Rename Bitstream.getSize() to getSizeBytes(). 2018-04-23 13:29:31 -04:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
Pascal-Nicolas Becker
ff4b7f00fa DS-3572: Check authorization for a specified user instead of currentUser 2017-06-13 15:55:23 +02:00
Terry Brady
c5414e836e Avoid handle collision in persistent db 2017-05-31 09:04:11 -07:00
Hardy Pottinger
2e96217e75 [DS-3217] modified DCDateTest and InstallItemTest to use Calendar instead of Date for getting a date value for testing, explicitly set the timezone of the new calendar object to UTC, thanks to LuizClaudioSantos and Helix84 for the hints 2016-06-29 23:09:04 +00:00
Tom Desair
ec8eee1ba5 DS-3086: Fixed the unit tests 2016-05-27 13:16:23 +02:00
Tom Desair
8db0faed33 fix conflict 2016-05-27 13:16:23 +02:00
Pascal-Nicolas Becker
46c223d172 DS-2940: fixing metadata problems with canonical versioned handles. 2016-04-07 15:29:49 +02:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00
Mark H. Wood
e440e64739 [DS-1883] Un-deprecate DCValue and rename it.
It seems that the reason for deprecation was objection to the *name*,
since it is not strictly for DC anymore.
2014-10-31 14:48:24 -04:00
Tim Donohue
79d91e9439 Fix exception validation. Fix expectations syntax for latest JMockit 2014-08-12 09:52:26 -05:00
Tim Donohue
0e4b0f39e2 DS-1745 : Change logic in InstallItem so that dc.date.issued MUST be specified to be set. Add an option to set dc.date.issued="today" to auto-apply today's date. Also add unit tests for new logic 2013-10-31 17:49:56 +00:00
Tim Donohue
82a413511c 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. 2013-10-23 13:58:10 -05:00
Mark Diggory
0d30c67d9e Updated Licenses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5844 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:29:14 +00:00
Stuart Lewis
87a29e8cc4 [DS-643] New testing framework (GSoC 2010) - Removing dspace-test module, and adding to dspace-api instead
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5475 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 22:18:58 +00:00