@Test public void shouldGenerateSuiteName() throws Exception { String name = AllureNamingUtils.generateTestSuiteFileName(); assertNotNull(name); assertTrue(name.matches(new AllureConfig().getTestSuiteFileRegex())); }
public static String generateTestSuiteFileName(String name) { AllureConfig config = AllureConfig.newInstance(); return String.format(FILE_NAME_PATTERN, name, config.getTestSuiteFileSuffix(), config.getTestSuiteFileExtension()); }
AllureNamingUtils { public static String generateTestSuiteFileName(String name) { AllureConfig config = AllureConfig.newInstance(); return String.format(FILE_NAME_PATTERN, name, config.getTestSuiteFileSuffix(), config.getTestSuiteFileExtension()); } }
AllureNamingUtils { public static String generateTestSuiteFileName(String name) { AllureConfig config = AllureConfig.newInstance(); return String.format(FILE_NAME_PATTERN, name, config.getTestSuiteFileSuffix(), config.getTestSuiteFileExtension()); } AllureNamingUtils(); }
AllureNamingUtils { public static String generateTestSuiteFileName(String name) { AllureConfig config = AllureConfig.newInstance(); return String.format(FILE_NAME_PATTERN, name, config.getTestSuiteFileSuffix(), config.getTestSuiteFileExtension()); } AllureNamingUtils(); static String generateTestSuiteFileName(String name); static String generateTestSuiteFileName(); static boolean isBadXmlCharacter(char c); static void replaceBadXmlCharactersBySpace(char[] cbuf, int off, int len); }
AllureNamingUtils { public static String generateTestSuiteFileName(String name) { AllureConfig config = AllureConfig.newInstance(); return String.format(FILE_NAME_PATTERN, name, config.getTestSuiteFileSuffix(), config.getTestSuiteFileExtension()); } AllureNamingUtils(); static String generateTestSuiteFileName(String name); static String generateTestSuiteFileName(); static boolean isBadXmlCharacter(char c); static void replaceBadXmlCharactersBySpace(char[] cbuf, int off, int len); static final String FILE_NAME_PATTERN; }