Commit Graph

26 Commits

Author SHA1 Message Date
Mark H. Wood
7ab6aed276 Remove deprecated getMetadata(Context, String) from CommunityService, CollectionService. 2020-11-17 13:46:10 -05:00
Peter Nijs
fae212d281 72517: ITs for authorization features for edit item in REST
- Fix for getItemObject() in ItemServiceImpl and CommunityServiceImpl for DELETE actions
2020-08-25 17:39:50 +02:00
Tim Donohue
14586eb594 Fix errorprone warnings (UnusedVariable, out of order params) 2020-02-13 15:31:46 -06:00
Tim Donohue
ebfc5dfb1f Refactor to no longer use JMockit mocks. 2020-02-13 13:43:49 -06:00
Tim Donohue
e97218616d Implement destroy properly & fix an incorrect test 2020-02-13 13:43:48 -06:00
Tim Donohue
d6a4bf21b9 Remove stubs that Mockito says are not used. Then remove duplicative tests. 2020-02-13 13:43:48 -06:00
Tim Donohue
cfde3e905b Switch CommunityTest to mostly using Mockito (exceptions for Util classes) 2020-02-13 13:43:48 -06:00
Alexander Sulfrian
0679801945 Fix order of arguments of assertEquals 2019-06-18 19:54:04 +02:00
Tim Donohue
ceed829800 Merge branch 'master' into configurable_entities 2018-12-06 17:05:31 +00:00
Raf Ponsaerts
b905f69d63 Refactored the usages of MetadataSchema.DC to use the enum instead 2018-11-21 09:35:11 +01:00
Patrick Trottier
7f4b4e9f8a Convert getLogger() and Log4J imports for Log4J 2 2018-11-09 08:41:42 -05:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
frederic
7f252b6289 DS-3406 unit tests for getCollection/getCommunity for different dspace objects 2017-06-09 19:49:57 +00:00
Tim Donohue
6c22ac36b7 Fix Community hierarchy test, as it ran with Auth off. Add expunge test for Bitstream 2016-06-28 19:18:33 +00:00
Tim Donohue
094820c12d Enhance unit/integration tests to also test for mapped items in ITCommunityCollection 2016-02-04 15:27:45 -06:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00
Mark H. Wood
257dfe544d DS-2248 Test deletion of contained Item when deleting Community. Fix
failure.
2014-11-19 17:10:03 -05:00
KevinVdV
87cd7145c9 Support Metadata On All DSpaceObjects 2014-09-24 16:16:06 +02:00
Tim Donohue
0aa39100a9 DS-2086 fix. Corrects the logic to deleting Communities & Collections such that hierarchical deletion test now succeeds. Also corrects minor permissions error in a different unit test. 2014-08-15 13:48:03 -05:00
Tim Donohue
ee81d01205 Fixed expectations syntax for latest JMockit. Made delete tests independent. New testDeleteHierachyAuth currently fails. 2014-08-11 16:37:59 -05:00
Tim Donohue
1182c54b72 More improvements to fail() messages (add primary error msg) 2013-10-23 14:55:15 -05: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
Keiji Suzuki
2b4633a87c Export all collections of a community recursively 2013-07-07 11:07:42 +09:00
Lyncode
d269a30a15 Line endings normalization (rebased) 2012-11-01 01:07:36 +00: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