Search in sources :

Example 6 with IssueTypeActivityResource

use of com.epam.ta.reportportal.ws.model.activity.IssueTypeActivityResource in project service-api by reportportal.

the class DefectTypeEventsTest method getIssueType.

private static IssueTypeActivityResource getIssueType() {
    IssueTypeActivityResource issueType = new IssueTypeActivityResource();
    issueType.setId(2L);
    issueType.setLongName("test long name");
    return issueType;
}
Also used : IssueTypeActivityResource(com.epam.ta.reportportal.ws.model.activity.IssueTypeActivityResource)

Aggregations

IssueTypeActivityResource (com.epam.ta.reportportal.ws.model.activity.IssueTypeActivityResource)6 DefectTypeDeletedEvent (com.epam.ta.reportportal.core.events.activity.DefectTypeDeletedEvent)4 Test (org.junit.jupiter.api.Test)4 Project (com.epam.ta.reportportal.entity.project.Project)3 ReportPortalException (com.epam.ta.reportportal.exception.ReportPortalException)3 Predicates (com.epam.ta.reportportal.commons.Predicates)1 ReportPortalUser (com.epam.ta.reportportal.commons.ReportPortalUser)1 BusinessRule (com.epam.ta.reportportal.commons.validation.BusinessRule)1 BusinessRule.expect (com.epam.ta.reportportal.commons.validation.BusinessRule.expect)1 Suppliers (com.epam.ta.reportportal.commons.validation.Suppliers)1 MessageBus (com.epam.ta.reportportal.core.events.MessageBus)1 DefectTypeUpdatedEvent (com.epam.ta.reportportal.core.events.activity.DefectTypeUpdatedEvent)1 PatternUpdatedEvent (com.epam.ta.reportportal.core.events.activity.PatternUpdatedEvent)1 UpdateProjectSettingsHandler (com.epam.ta.reportportal.core.project.settings.UpdateProjectSettingsHandler)1 PatternTemplateRepository (com.epam.ta.reportportal.dao.PatternTemplateRepository)1 ProjectRepository (com.epam.ta.reportportal.dao.ProjectRepository)1 TestItemIssueGroup (com.epam.ta.reportportal.entity.enums.TestItemIssueGroup)1 IssueType (com.epam.ta.reportportal.entity.item.issue.IssueType)1 PatternTemplate (com.epam.ta.reportportal.entity.pattern.PatternTemplate)1 ProjectIssueType (com.epam.ta.reportportal.entity.project.ProjectIssueType)1