Class CommonTestUtils

java.lang.Object
org.alfresco.rest.rm.community.util.CommonTestUtils

public class CommonTestUtils extends Object
A utility class to provide test methods that can be used by the REST and UI tests.
Since:
2.6
Author:
Tom Page
  • Field Details

    • USER_FULLNAME_PATTERN

      public static final String USER_FULLNAME_PATTERN
      The default pattern used for the user full name when users are created with tas utility
      See Also:
  • Method Details

    • generateTestPrefix

      public static String generateTestPrefix(Class<?> clazz)
      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.