use of com.epam.ta.reportportal.database.entity.statistics.StatisticSubType in project commons-dao by reportportal.
the class ProjectSettingsTest method toInvestigate.
@Test
public void toInvestigate() {
final Project.Configuration projectSettings = new Project.Configuration();
final StatisticSubType subType = projectSettings.getByLocator("Ti001");
Assert.assertNotNull(subType);
Assert.assertEquals("TO_INVESTIGATE", subType.getTypeRef());
}
use of com.epam.ta.reportportal.database.entity.statistics.StatisticSubType in project commons-dao by reportportal.
the class ProjectSettingsTest method incorrectLocator.
@Test
public void incorrectLocator() {
final Project.Configuration projectSettings = new Project.Configuration();
final StatisticSubType incorrect = projectSettings.getByLocator("incorrect");
Assert.assertNull(incorrect);
}
use of com.epam.ta.reportportal.database.entity.statistics.StatisticSubType in project commons-dao by reportportal.
the class ProjectSettingsTest method notIssue.
@Test
public void notIssue() {
final Project.Configuration projectSettings = new Project.Configuration();
final StatisticSubType not_issue = projectSettings.getByLocator("NOT_IsSUE");
Assert.assertNull(not_issue);
}
Aggregations