Search in sources :

Example 1 with IssueType

use of com.epam.ta.reportportal.entity.item.issue.IssueType in project commons-dao by reportportal.

the class ProjectUtilsTest method getDefaultIssueTypes.

private static List<IssueType> getDefaultIssueTypes() {
    IssueGroup tiGroup = new IssueGroup();
    tiGroup.setId(1);
    tiGroup.setTestItemIssueGroup(TestItemIssueGroup.TO_INVESTIGATE);
    IssueGroup abGroup = new IssueGroup();
    abGroup.setId(2);
    abGroup.setTestItemIssueGroup(TestItemIssueGroup.AUTOMATION_BUG);
    IssueGroup pbGroup = new IssueGroup();
    pbGroup.setId(3);
    pbGroup.setTestItemIssueGroup(TestItemIssueGroup.PRODUCT_BUG);
    IssueGroup ndGroup = new IssueGroup();
    ndGroup.setId(4);
    ndGroup.setTestItemIssueGroup(TestItemIssueGroup.NO_DEFECT);
    IssueGroup siGroup = new IssueGroup();
    siGroup.setId(5);
    siGroup.setTestItemIssueGroup(TestItemIssueGroup.SYSTEM_ISSUE);
    return Arrays.asList(new IssueType(tiGroup, "ti001", "To Investigate", "TI", "#ffb743"), new IssueType(abGroup, "ab001", "Automation Bug", "AB", "#f7d63e"), new IssueType(pbGroup, "pb001", "Product Bug", "PB", "#ec3900"), new IssueType(ndGroup, "nd001", "No Defect", "ND", "#777777"), new IssueType(siGroup, "si001", "System Issue", "SI", "#0274d1"));
}
Also used : TestItemIssueGroup(com.epam.ta.reportportal.entity.enums.TestItemIssueGroup) IssueGroup(com.epam.ta.reportportal.entity.item.issue.IssueGroup) IssueType(com.epam.ta.reportportal.entity.item.issue.IssueType)

Aggregations

TestItemIssueGroup (com.epam.ta.reportportal.entity.enums.TestItemIssueGroup)1 IssueGroup (com.epam.ta.reportportal.entity.item.issue.IssueGroup)1 IssueType (com.epam.ta.reportportal.entity.item.issue.IssueType)1