public class ItemTreeReporter
extends java.lang.Object
ReportPortalClient
and TestItemTree.TestItemLeaf.
Provided requests:
- start test item
- finish test item
- send log| Modifier and Type | Method and Description |
|---|---|
static io.reactivex.Maybe<com.epam.ta.reportportal.ws.model.OperationCompletionRS> |
finishItem(ReportPortalClient reportPortalClient,
com.epam.ta.reportportal.ws.model.FinishTestItemRQ finishTestItemRQ,
io.reactivex.Maybe<java.lang.String> launchUuid,
TestItemTree.TestItemLeaf testItemLeaf) |
static boolean |
sendLog(ReportPortalClient reportPortalClient,
java.lang.String level,
java.lang.String message,
java.util.Date logTime,
java.io.File file,
io.reactivex.Maybe<java.lang.String> launchUuid,
TestItemTree.TestItemLeaf testItemLeaf) |
static boolean |
sendLog(ReportPortalClient reportPortalClient,
java.lang.String level,
java.lang.String message,
java.util.Date logTime,
io.reactivex.Maybe<java.lang.String> launchUuid,
TestItemTree.TestItemLeaf testItemLeaf) |
static io.reactivex.Maybe<java.lang.String> |
startItem(ReportPortalClient reportPortalClient,
com.epam.ta.reportportal.ws.model.StartTestItemRQ startTestItemRQ,
io.reactivex.Maybe<java.lang.String> launchUuid,
TestItemTree.TestItemLeaf testItemLeaf) |
public static io.reactivex.Maybe<java.lang.String> startItem(ReportPortalClient reportPortalClient, com.epam.ta.reportportal.ws.model.StartTestItemRQ startTestItemRQ, io.reactivex.Maybe<java.lang.String> launchUuid, TestItemTree.TestItemLeaf testItemLeaf)
reportPortalClient - ReportPortalClientstartTestItemRQ - StartTestItemRQlaunchUuid - Launch UUIDtestItemLeaf - TestItemTree.TestItemLeafMaybe containing item UUIDpublic static io.reactivex.Maybe<com.epam.ta.reportportal.ws.model.OperationCompletionRS> finishItem(ReportPortalClient reportPortalClient, com.epam.ta.reportportal.ws.model.FinishTestItemRQ finishTestItemRQ, io.reactivex.Maybe<java.lang.String> launchUuid, TestItemTree.TestItemLeaf testItemLeaf)
reportPortalClient - ReportPortalClientfinishTestItemRQ - FinishTestItemRQlaunchUuid - Launch UUIDtestItemLeaf - TestItemTree.TestItemLeafMaybe containing item UUIDpublic static boolean sendLog(ReportPortalClient reportPortalClient, java.lang.String level, java.lang.String message, java.util.Date logTime, io.reactivex.Maybe<java.lang.String> launchUuid, TestItemTree.TestItemLeaf testItemLeaf)
reportPortalClient - ReportPortallevel - Log levelmessage - Log messagelogTime - Log timelaunchUuid - Launch UUIDtestItemLeaf - TestItemTree.TestItemLeafpublic static boolean sendLog(ReportPortalClient reportPortalClient, java.lang.String level, java.lang.String message, java.util.Date logTime, java.io.File file, io.reactivex.Maybe<java.lang.String> launchUuid, TestItemTree.TestItemLeaf testItemLeaf)
reportPortalClient - ReportPortallevel - Log levelmessage - Log messagelogTime - Log timefile - a file to attach to the log messagelaunchUuid - Launch UUIDtestItemLeaf - TestItemTree.TestItemLeaf