Search in sources :

Example 6 with TestCase

use of br.eti.kinoshita.testlinkjavaapi.model.TestCase in project elastest-torm by elastest.

the class TestLinkService method getFullDetailedTestCase.

public TestCase getFullDetailedTestCase(TestCase testCase) {
    TestCase auxTestCase = this.api.getTestCaseByExternalId(testCase.getFullExternalId(), testCase.getVersion());
    testCase.setSummary(auxTestCase.getSummary());
    testCase.setPreconditions(auxTestCase.getPreconditions());
    testCase.setOrder(auxTestCase.getOrder());
    return testCase;
}
Also used : ExternalTestCase(io.elastest.etm.model.external.ExternalTestCase) TestCase(br.eti.kinoshita.testlinkjavaapi.model.TestCase)

Aggregations

TestCase (br.eti.kinoshita.testlinkjavaapi.model.TestCase)6 ExternalTestCase (io.elastest.etm.model.external.ExternalTestCase)6 Build (br.eti.kinoshita.testlinkjavaapi.model.Build)2 TestLinkAPIException (br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException)2