use of com.epam.reportportal.service.tree.TestItemTree in project agent-java-junit5 by reportportal.
the class ItemTreeUtilsTest method init.
@BeforeEach
void init() {
MockitoAnnotations.initMocks(this);
when(testInfo.getDisplayName()).thenReturn(NAME);
when(extensionContext.getDisplayName()).thenReturn(NAME);
testItemTree = new TestItemTree();
}
use of com.epam.reportportal.service.tree.TestItemTree in project examples-java by reportportal.
the class CallbackTest method afterClass.
@AfterClass
public static void afterClass() {
ReportPortalClient client = ReportPortalListener.getReportPortal().getClient();
TestItemTree itemTree = ParallelRunningContext.getCurrent().getItemTree();
attachLog(client, itemTree);
changeStatus(client, itemTree);
}
Aggregations