hudson.plugins.testlink
Class TestLinkSite

java.lang.Object
  extended by hudson.plugins.testlink.TestLinkSite

public class TestLinkSite
extends java.lang.Object

Immutable object that represents the TestLink site with a Test Project, a Test Plan and a Build.

Since:
3.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br

Constructor Summary
TestLinkSite(br.eti.kinoshita.testlinkjavaapi.TestLinkAPI api, br.eti.kinoshita.testlinkjavaapi.model.TestProject testProject, br.eti.kinoshita.testlinkjavaapi.model.TestPlan testPlan, br.eti.kinoshita.testlinkjavaapi.model.Build build)
           
 
Method Summary
 br.eti.kinoshita.testlinkjavaapi.TestLinkAPI getApi()
           
 br.eti.kinoshita.testlinkjavaapi.model.TestCase[] getAutomatedTestCases(java.lang.String[] customFieldsNames)
           
 br.eti.kinoshita.testlinkjavaapi.model.Build getBuild()
           
 br.eti.kinoshita.testlinkjavaapi.model.TestPlan getTestPlan()
           
 br.eti.kinoshita.testlinkjavaapi.model.TestProject getTestProject()
           
 void updateTestCases(java.util.Collection<TestCaseWrapper> testCases)
          Updates the test cases status in TestLink (note and status) and uploads any existing attachments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestLinkSite

public TestLinkSite(br.eti.kinoshita.testlinkjavaapi.TestLinkAPI api,
                    br.eti.kinoshita.testlinkjavaapi.model.TestProject testProject,
                    br.eti.kinoshita.testlinkjavaapi.model.TestPlan testPlan,
                    br.eti.kinoshita.testlinkjavaapi.model.Build build)
Parameters:
api - TestLink Java API object
testProject - TestLink Test Project
testPlan - TestLink Test Plan
build - TestLink Build
Method Detail

getApi

public br.eti.kinoshita.testlinkjavaapi.TestLinkAPI getApi()
Returns:
the TestLink Java API object

getTestProject

public br.eti.kinoshita.testlinkjavaapi.model.TestProject getTestProject()
Returns:
the testProject

getTestPlan

public br.eti.kinoshita.testlinkjavaapi.model.TestPlan getTestPlan()
Returns:
the testPlan

getBuild

public br.eti.kinoshita.testlinkjavaapi.model.Build getBuild()
Returns:
the build

getAutomatedTestCases

public br.eti.kinoshita.testlinkjavaapi.model.TestCase[] getAutomatedTestCases(java.lang.String[] customFieldsNames)
Parameters:
customFieldsNames - Array of custom fields names
Returns:
Array of automated test cases with custom fields

updateTestCases

public void updateTestCases(java.util.Collection<TestCaseWrapper> testCases)
Updates the test cases status in TestLink (note and status) and uploads any existing attachments.

Parameters:
testCases - Test Cases


Copyright © 2010-2011 the Jenkins TestLink plug-in team-2011 Jenkins. All Rights Reserved.