com.qaprosoft.zafira.client.ZafiraClient.finishTestRun()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中com.qaprosoft.zafira.client.ZafiraClient.finishTestRun()方法的一些代码示例,展示了ZafiraClient.finishTestRun()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZafiraClient.finishTestRun()方法的具体详情如下:
包路径:com.qaprosoft.zafira.client.ZafiraClient
类名称:ZafiraClient
方法名:finishTestRun

ZafiraClient.finishTestRun介绍

暂无

代码示例

代码示例来源:origin: com.qaprosoft/zafira-client

/**
 * Finalizes test run calculating test results.
 * 
 * @param testRun - test run object
 * @return updated test run
 */
public TestRunType registerTestRunResults(TestRunType testRun)
{
  updateTestRun(testRun); 
  Response<TestRunType> response = finishTestRun(testRun.getId());
  return response.getObject();
}

代码示例来源:origin: qaprosoft/zafira

/**
 * Finalizes test run calculating test results.
 * 
 * @param testRun - test run object
 * @return updated test run
 */
public TestRunType registerTestRunResults(TestRunType testRun)
{
  updateTestRun(testRun); 
  Response<TestRunType> response = finishTestRun(testRun.getId());
  return response.getObject();
}

代码示例来源:origin: qaprosoft/zafira

private TestRunType finishTestRun(TestRunTypeBuilder testRunTypeBuilder, boolean inProgress)
{
  TestRunType testRunType = testRunTypeBuilder.getTestRunType();
  if(! inProgress)
  {
    testRunType = ZAFIRA_CLIENT.updateTestRun(testRunType).getObject();
    testRunType = ZAFIRA_CLIENT.finishTestRun(testRunType.getId()).getObject();
  }
  return testRunType;
}

相关文章