本文整理了Java中com.qaprosoft.zafira.listener.ZafiraListener.getThreadCiTestId()
方法的一些代码示例,展示了ZafiraListener.getThreadCiTestId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZafiraListener.getThreadCiTestId()
方法的具体详情如下:
包路径:com.qaprosoft.zafira.listener.ZafiraListener
类名称:ZafiraListener
方法名:getThreadCiTestId
暂无
代码示例来源:origin: qaprosoft/zafira
AppenderTask(LoggingEvent loggingEvent)
{
this.loggingEvent = loggingEvent;
String testId;
if(loggingEvent.getLevel().equals(MetaInfoLevel.META_INFO) && ((MetaInfoMessage) loggingEvent.getMessage()).getHeaders().get("CI_TEST_ID") != null) {
testId = ((MetaInfoMessage) loggingEvent.getMessage()).getHeaders().get("CI_TEST_ID");
} else {
testId = ZafiraListener.getThreadCiTestId();
}
this.correlationId = testId != null ? routingKey + "_" + String.valueOf(testId) : routingKey;
}
代码示例来源:origin: com.qaprosoft/zafira-client
AppenderTask(LoggingEvent loggingEvent)
{
this.loggingEvent = loggingEvent;
String testId;
if(loggingEvent.getLevel().equals(MetaInfoLevel.META_INFO) && ((MetaInfoMessage) loggingEvent.getMessage()).getHeaders().get("CI_TEST_ID") != null) {
testId = ((MetaInfoMessage) loggingEvent.getMessage()).getHeaders().get("CI_TEST_ID");
} else {
testId = ZafiraListener.getThreadCiTestId();
}
this.correlationId = testId != null ? routingKey + "_" + String.valueOf(testId) : routingKey;
}
代码示例来源:origin: qaprosoft/carina
final String ciTestId = ZafiraListener.getThreadCiTestId();
try {
ZafiraMessager.<MetaInfoMessage>custom(MetaInfoLevel.META_INFO, new MetaInfoMessage()
代码示例来源:origin: com.qaprosoft/zafira-client
startedTest.setCiTestId(getThreadCiTestId());
startedTest.setTags(configurator.getTestTags(result));
startedTest = zc.registerTestRestart(startedTest);
startedTest = zc.registerTestStart(testName, group, Status.IN_PROGRESS, testArgs, run.getId(), testCase.getId(), configurator.getRunCount(result), convertToXML(configurator.getConfiguration()), dependsOnMethods, getThreadCiTestId(), configurator.getTestTags(result));
代码示例来源:origin: com.qaprosoft/zafira-client
test = zc.registerTestStart(testName, group, Status.SKIPPED, testArgs, run.getId(), testCase.getId(), configurator.getRunCount(result), convertToXML(configurator.getConfiguration()), dependsOnMethods, getThreadCiTestId(), configurator.getTestTags(result));
threadTest.set(test);
代码示例来源:origin: qaprosoft/zafira
startedTest.setCiTestId(getThreadCiTestId());
startedTest.setTags(configurator.getTestTags(result));
startedTest = zc.registerTestRestart(startedTest);
startedTest = zc.registerTestStart(testName, group, Status.IN_PROGRESS, testArgs, run.getId(), testCase.getId(), configurator.getRunCount(result), convertToXML(configurator.getConfiguration()), dependsOnMethods, getThreadCiTestId(), configurator.getTestTags(result));
代码示例来源:origin: qaprosoft/zafira
test = zc.registerTestStart(testName, group, Status.SKIPPED, testArgs, run.getId(), testCase.getId(), configurator.getRunCount(result), convertToXML(configurator.getConfiguration()), dependsOnMethods, getThreadCiTestId(), configurator.getTestTags(result));
threadTest.set(test);
内容来源于网络,如有侵权,请联系作者删除!