本文整理了Java中com.qaprosoft.zafira.client.ZafiraClient.finishTestRun()
方法的一些代码示例,展示了ZafiraClient.finishTestRun()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZafiraClient.finishTestRun()
方法的具体详情如下:
包路径:com.qaprosoft.zafira.client.ZafiraClient
类名称: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;
}
内容来源于网络,如有侵权,请联系作者删除!