Package io.qameta.allure.util
Class ResultsUtils
java.lang.Object
io.qameta.allure.util.ResultsUtils
The collection of Allure utils methods.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
bytesToHex
(byte[] bytes) static io.qameta.allure.model.Label
createEpicLabel
(String epic) static io.qameta.allure.model.Label
createFeatureLabel
(String feature) static io.qameta.allure.model.Label
createFrameworkLabel
(String framework) static io.qameta.allure.model.Label
static io.qameta.allure.model.Link
createIssueLink
(String value) static io.qameta.allure.model.Label
createLabel
(Epic epic) static io.qameta.allure.model.Label
createLabel
(Feature feature) static io.qameta.allure.model.Label
createLabel
(Owner owner) static io.qameta.allure.model.Label
createLabel
(Severity severity) static io.qameta.allure.model.Label
createLabel
(Story story) static io.qameta.allure.model.Label
createLabel
(String name, String value) static io.qameta.allure.model.Label
createLanguageLabel
(String language) static io.qameta.allure.model.Link
createLink
(Issue link) static io.qameta.allure.model.Link
createLink
(Link link) static io.qameta.allure.model.Link
createLink
(TmsLink link) static io.qameta.allure.model.Link
createLink
(String value, String name, String url, String type) static io.qameta.allure.model.Label
createOwnerLabel
(String owner) static io.qameta.allure.model.Label
createPackageLabel
(String packageName) static io.qameta.allure.model.Parameter
createParameter
(String name, Object value) static io.qameta.allure.model.Parameter
createParameter
(String name, Object value, Boolean excluded, io.qameta.allure.model.Parameter.Mode mode) static io.qameta.allure.model.Label
createParentSuiteLabel
(String suite) static io.qameta.allure.model.Label
createSeverityLabel
(SeverityLevel severity) static io.qameta.allure.model.Label
createSeverityLabel
(String severity) static io.qameta.allure.model.Label
createStoryLabel
(String story) static io.qameta.allure.model.Label
createSubSuiteLabel
(String suite) static io.qameta.allure.model.Label
createSuiteLabel
(String suite) static io.qameta.allure.model.Label
createTagLabel
(String tag) static io.qameta.allure.model.Label
createTestClassLabel
(String testClass) static io.qameta.allure.model.Label
createTestMethodLabel
(String testMethod) static io.qameta.allure.model.Label
static io.qameta.allure.model.Link
createTmsLink
(String value) firstNonEmpty
(String... items) static String
generateMethodSignatureHash
(String className, String methodName, List<String> parameterTypes) static String
getJavadocDescription
(ClassLoader classLoader, Method method) static String
static MessageDigest
static Set<io.qameta.allure.model.Label>
static Optional<io.qameta.allure.model.Status>
static Optional<io.qameta.allure.model.StatusDetails>
static String
static String
static void
processDescription
(ClassLoader classLoader, Method method, Consumer<String> setDescription, Consumer<String> setDescriptionHtml)
-
Field Details
-
ALLURE_HOST_NAME_SYSPROP
- See Also:
-
ALLURE_HOST_NAME_ENV
- See Also:
-
ALLURE_THREAD_NAME_SYSPROP
- See Also:
-
ALLURE_THREAD_NAME_ENV
- See Also:
-
ALLURE_SEPARATE_LINES_SYSPROP
- See Also:
-
ISSUE_LINK_TYPE
- See Also:
-
TMS_LINK_TYPE
- See Also:
-
CUSTOM_LINK_TYPE
- See Also:
-
ALLURE_ID_LABEL_NAME
- See Also:
-
SUITE_LABEL_NAME
- See Also:
-
PARENT_SUITE_LABEL_NAME
- See Also:
-
SUB_SUITE_LABEL_NAME
- See Also:
-
EPIC_LABEL_NAME
- See Also:
-
FEATURE_LABEL_NAME
- See Also:
-
STORY_LABEL_NAME
- See Also:
-
SEVERITY_LABEL_NAME
- See Also:
-
TAG_LABEL_NAME
- See Also:
-
OWNER_LABEL_NAME
- See Also:
-
LEAD_LABEL_NAME
- See Also:
-
HOST_LABEL_NAME
- See Also:
-
THREAD_LABEL_NAME
- See Also:
-
TEST_METHOD_LABEL_NAME
- See Also:
-
TEST_CLASS_LABEL_NAME
- See Also:
-
PACKAGE_LABEL_NAME
- See Also:
-
FRAMEWORK_LABEL_NAME
- See Also:
-
LANGUAGE_LABEL_NAME
- See Also:
-
-
Method Details
-
createParameter
-
createParameter
-
createSuiteLabel
-
createParentSuiteLabel
-
createSubSuiteLabel
-
createTestMethodLabel
-
createTestClassLabel
-
createPackageLabel
-
createEpicLabel
-
createFeatureLabel
-
createStoryLabel
-
createTagLabel
-
createOwnerLabel
-
createSeverityLabel
-
createSeverityLabel
-
createHostLabel
public static io.qameta.allure.model.Label createHostLabel() -
createThreadLabel
public static io.qameta.allure.model.Label createThreadLabel() -
createFrameworkLabel
-
createLanguageLabel
-
createLabel
-
createLabel
-
createLabel
-
createLabel
-
createLabel
-
createLabel
-
createIssueLink
-
createTmsLink
-
createLink
-
createLink
-
createLink
-
createLink
-
getProvidedLabels
-
getHostName
-
getThreadName
-
getStatus
-
getStatusDetails
-
getJavadocDescription
-
firstNonEmpty
-
getLinkTypePatternPropertyName
-
generateMethodSignatureHash
-
md5
-
bytesToHex
-
getMd5Digest
-
processDescription
-