public final class AllureNamingUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_NAME_PATTERN |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateTestSuiteFileName()
Generate suite file name \"{randomUid}-testsutie.xml\"
|
static String |
generateTestSuiteFileName(String name)
Generate suite file name with specified name
|
static boolean |
isBadXmlCharacter(char c)
Detect bad xml 1.0 characters
|
static void |
replaceBadXmlCharactersBySpace(char[] cbuf,
int off,
int len)
Replace bad xml charactes in given array by space
|
public static final String FILE_NAME_PATTERN
public static String generateTestSuiteFileName(String name)
name - specified namepublic static String generateTestSuiteFileName()
public static boolean isBadXmlCharacter(char c)
c - to detectpublic static void replaceBadXmlCharactersBySpace(char[] cbuf,
int off,
int len)
cbuf - buffer to replace inoff - Offset from which to start reading characterslen - Number of characters to be replacedCopyright © 2017 Yandex. All rights reserved.