Package org.nuxeo.drive.operations.test
Class NuxeoDriveSetupIntegrationTests
java.lang.Object
org.nuxeo.drive.operations.test.NuxeoDriveSetupIntegrationTests
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
Modifier and TypeFieldDescriptionstatic final String
protected String
protected CoreSession
protected boolean
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
createTestUsers
(String[] testUserNames) protected void
createTestWorkspace
(String[] testUserNames) run()
-
Field Details
-
ID
- See Also:
-
session
-
userNames
-
permission
-
useMembersGroup
protected boolean useMembersGroup
-
-
Constructor Details
-
NuxeoDriveSetupIntegrationTests
public NuxeoDriveSetupIntegrationTests()
-
-
Method Details
-
run
-
createTestUsers
-
createTestWorkspace
-