[DS-643] New testing framework (GSoC 2010)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Pere Villega
2010-08-10 09:10:00 +00:00
parent b779342fdd
commit 5b83e188c0
127 changed files with 36011 additions and 86 deletions

View File

@@ -203,7 +203,11 @@ public class Community extends DSpaceObject
TableRow row = DatabaseManager.create(context, "community");
Community c = new Community(context, row);
c.handle = HandleManager.createHandle(context, c);
if(parent != null)
{
parent.addSubcommunity(c);
}
// create the default authorization policy for communities
// of 'anonymous' READ
Group anonymousGroup = Group.find(context, 0);