Package org.nuxeo.drive.operations.test
Class NuxeoDriveSetupIntegrationTests
- java.lang.Object
-
- org.nuxeo.drive.operations.test.NuxeoDriveSetupIntegrationTests
-
public class NuxeoDriveSetupIntegrationTests extends Object
Sets up the Nuxeo Drive integration tests environment for the given user names by:- Cleaning it up
- Creating test users belonging to the members group
- Creating a test workspace
- Granting the given permission to the test users on the test workspace
- Author:
- Antoine Taillefer
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
protected String
permission
protected CoreSession
session
protected boolean
useMembersGroup
protected String
userNames
-
Constructor Summary
Constructors Constructor Description NuxeoDriveSetupIntegrationTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createTestUsers(String[] testUserNames)
protected void
createTestWorkspace(String[] testUserNames)
Blob
run()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
userNames
protected String userNames
-
permission
protected String permission
-
useMembersGroup
protected boolean useMembersGroup
-
-