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 StringIDprotected Stringpermissionprotected CoreSessionsessionprotected booleanuseMembersGroupprotected StringuserNames
-
Constructor Summary
Constructors Constructor Description NuxeoDriveSetupIntegrationTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateTestUsers(String[] testUserNames)protected voidcreateTestWorkspace(String[] testUserNames)Blobrun()
-
-
-
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
-
-