Class CommonTestUtils
java.lang.Object
org.alfresco.rest.rm.community.util.CommonTestUtils
A utility class to provide test methods that can be used by the REST and UI tests.
- Since:
- 2.6
- Author:
- Tom Page
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default pattern used for the user full name when users are created with tas utility -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateTestPrefix(Class<?> clazz) Generate a prefix to namespace the objects in a test class.
-
Field Details
-
USER_FULLNAME_PATTERN
The default pattern used for the user full name when users are created with tas utility- See Also:
-
-
Method Details
-
generateTestPrefix
Generate a prefix to namespace the objects in a test class. Note that four random hex digits should be good enough to avoid collisions when running locally and should also be short enough to maintain readability.
-