|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.testlink.TestLinkConnector
public class TestLinkConnector
| Constructor Summary | |
|---|---|
TestLinkConnector(br.eti.kinoshita.testlinkjavaapi.TestLinkAPI api,
String projectName,
String username,
String testPlan,
Boolean overwrite,
String buildName)
|
|
TestLinkConnector(br.eti.kinoshita.testlinkjavaapi.TestLinkAPI api,
String projectName,
String username,
String testPlanId,
Boolean overwrite,
String buildName,
Boolean createPlanIfNeeded,
Boolean createTestIfNeeded,
Boolean assignTestToPlan)
|
|
| Method Summary | |
|---|---|
protected void |
addTestCaseToTestPlan(br.eti.kinoshita.testlinkjavaapi.model.TestCase testCase,
br.eti.kinoshita.testlinkjavaapi.model.TestPlan testPlan)
If the property assingTestIfNeeded in the unitils-jenkins.properties is set to true; than the test is added to the test plan. |
protected br.eti.kinoshita.testlinkjavaapi.model.TestCase |
createTestCase(String externalId,
Integer suiteId,
br.eti.kinoshita.testlinkjavaapi.model.TestProject project)
A test case is created with the externalId. |
protected br.eti.kinoshita.testlinkjavaapi.model.Build |
getBuild(Integer testPlanId,
String buildName1)
Retrieves the build with a given buildname from a given test plan. |
protected String |
getNotes(Throwable ex)
If the ex isn't null, the method will give you the message of the throwable. |
protected br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus |
getStatus(Throwable ex)
If the param ex is null, it will return passed, otherwise failed will be returned. |
protected br.eti.kinoshita.testlinkjavaapi.model.TestCase |
getTestCase(String externalId,
String suite)
It searches the testcase. |
protected br.eti.kinoshita.testlinkjavaapi.model.TestPlan |
getTestPlan(String testPlanName2,
String projectName1)
It retrieves the test plan from Testlink |
protected br.eti.kinoshita.testlinkjavaapi.model.TestSuite |
getTestSuite(String suiteName,
Integer projectId,
Integer testPlanId)
This method looks if there is a suite with this name there is a suite with this name: returns the TestSuite
not available: creates a TestSuite with this name and returns it. |
br.eti.kinoshita.testlinkjavaapi.model.TestCase |
updateTestCase(String externalId,
String suite,
String msg,
Throwable ex)
The method searches the testcase with that specific externalId and the testcase is added to the testplan. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestLinkConnector(br.eti.kinoshita.testlinkjavaapi.TestLinkAPI api,
String projectName,
String username,
String testPlan,
Boolean overwrite,
String buildName)
public TestLinkConnector(br.eti.kinoshita.testlinkjavaapi.TestLinkAPI api,
String projectName,
String username,
String testPlanId,
Boolean overwrite,
String buildName,
Boolean createPlanIfNeeded,
Boolean createTestIfNeeded,
Boolean assignTestToPlan)
| Method Detail |
|---|
public br.eti.kinoshita.testlinkjavaapi.model.TestCase updateTestCase(String externalId,
String suite,
String msg,
Throwable ex)
externalId - msg - suite - ex -
TestCase
protected br.eti.kinoshita.testlinkjavaapi.model.TestCase getTestCase(String externalId,
String suite)
externalId - suite -
TestCase
protected br.eti.kinoshita.testlinkjavaapi.model.TestCase createTestCase(String externalId,
Integer suiteId,
br.eti.kinoshita.testlinkjavaapi.model.TestProject project)
externalId - suite -
TestCase
protected br.eti.kinoshita.testlinkjavaapi.model.TestSuite getTestSuite(String suiteName,
Integer projectId,
Integer testPlanId)
TestSuiteTestSuite with this name and returns it.
suiteId - suiteName - projectId - testPlanId -
TestSuite
protected void addTestCaseToTestPlan(br.eti.kinoshita.testlinkjavaapi.model.TestCase testCase,
br.eti.kinoshita.testlinkjavaapi.model.TestPlan testPlan)
testCase - testPlan -
protected br.eti.kinoshita.testlinkjavaapi.model.TestPlan getTestPlan(String testPlanName2,
String projectName1)
testPlanName2 - projectName1 -
TestPlan
protected br.eti.kinoshita.testlinkjavaapi.model.Build getBuild(Integer testPlanId,
String buildName1)
testPlanId - buildName1 -
Buildprotected String getNotes(Throwable ex)
ex -
Stringprotected br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus getStatus(Throwable ex)
ex -
ExecutionStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||