hudson.plugins.testlink.parser.junit
Class TestSuite

java.lang.Object
  extended by hudson.plugins.testlink.parser.junit.TestSuite
All Implemented Interfaces:
java.io.Serializable

public class TestSuite
extends java.lang.Object
implements java.io.Serializable

Represents a tag.

Since:
2.1
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
TestSuite()
          Default constructor.
 
Method Summary
 boolean addError(Error error)
          Adds an error into the list.
 boolean addFailure(Failure failure)
          Adds a failure into the list.
 boolean addTestCase(TestCase testCase)
          Adds a test case into the list.
 java.lang.Long getErrors()
          Retrieves the errors.
 java.util.List<Error> getErrorsList()
           
 java.lang.Long getFailures()
          Retrieves the failures.
 java.util.List<Failure> getFailuresList()
           
 java.lang.String getHostname()
          Retrieves the hostname.
 java.lang.String getName()
          Retrieves the name.
 java.lang.String getSystemErr()
          Retrieves the systemerr.
 java.lang.String getSystemOut()
          Retrieves the systemout.
 java.util.List<TestCase> getTestCases()
          Retrieves the list of tags.
 java.lang.String getTests()
          Retrives the tests.
 java.lang.String getTime()
          Retrives the time.
 java.lang.String getTimestamp()
          Retrieves the timestamp.
 boolean removeError(Error error)
          Removes an error from the list of tags.
 boolean removeFailure(Failure failure)
          Removes a failure from the list of tags.
 boolean removeTestCase(TestCase testCase)
          Removes a test case from the list of tags.
 void setErrors(java.lang.Long errors)
          Sets the errors.
 void setFailures(java.lang.Long failures)
          Sets the failures.
 void setHostname(java.lang.String hostname)
          Sets the hostname.
 void setName(java.lang.String name)
          Sets the name attribute.
 void setSystemErr(java.lang.String systemErr)
          Sets the systemerr.
 void setSystemOut(java.lang.String systemOut)
          Sets the systemout.
 void setTests(java.lang.String tests)
          Sets the tests.
 void setTime(java.lang.String time)
          Sets the time.
 void setTimestamp(java.lang.String timestamp)
          Sets the timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSuite

public TestSuite()
Default constructor. Initializes the list of tags.

Method Detail

getName

public java.lang.String getName()
Retrieves the name.

Returns:
the name.

setName

public void setName(java.lang.String name)
Sets the name attribute.

Parameters:
name - the name.

getTime

public java.lang.String getTime()
Retrives the time.

Returns:
the time.

setTime

public void setTime(java.lang.String time)
Sets the time.

Parameters:
time - the time.

getTests

public java.lang.String getTests()
Retrives the tests.

Returns:
the tests.

setTests

public void setTests(java.lang.String tests)
Sets the tests.

Parameters:
tests - the tests.

getErrors

public java.lang.Long getErrors()
Retrieves the errors.

Returns:
the errors.

setErrors

public void setErrors(java.lang.Long errors)
Sets the errors.

Parameters:
errors - the errors.

getFailures

public java.lang.Long getFailures()
Retrieves the failures.

Returns:
the failures.

setFailures

public void setFailures(java.lang.Long failures)
Sets the failures.

Parameters:
failures - the failures.

getHostname

public java.lang.String getHostname()
Retrieves the hostname.

Returns:
the hostname.

setHostname

public void setHostname(java.lang.String hostname)
Sets the hostname.

Parameters:
hostname - the hostname.

getTimestamp

public java.lang.String getTimestamp()
Retrieves the timestamp.

Returns:
the timestamp.

setTimestamp

public void setTimestamp(java.lang.String timestamp)
Sets the timestamp.

Parameters:
timestamp - the timestamp.

getSystemOut

public java.lang.String getSystemOut()
Retrieves the systemout.

Returns:
the systemout.

setSystemOut

public void setSystemOut(java.lang.String systemOut)
Sets the systemout.

Parameters:
systemOut - the systemout.

getSystemErr

public java.lang.String getSystemErr()
Retrieves the systemerr.

Returns:
the systemerr.

setSystemErr

public void setSystemErr(java.lang.String systemErr)
Sets the systemerr.

Parameters:
systemErr - the systemerr.

getTestCases

public java.util.List<TestCase> getTestCases()
Retrieves the list of tags.

Returns:
the list of tags.

addTestCase

public boolean addTestCase(TestCase testCase)
Adds a test case into the list.

Parameters:
testCase - the test case.
Returns:
true if added successfully, otherwise false.

removeTestCase

public boolean removeTestCase(TestCase testCase)
Removes a test case from the list of tags.

Parameters:
testCase - the test case.
Returns:
true if added successfully, otherwise false.

addError

public boolean addError(Error error)
Adds an error into the list.

Parameters:
error - the error.
Returns:
true if added successfully, otherwise false.

removeError

public boolean removeError(Error error)
Removes an error from the list of tags.

Parameters:
error - the error.
Returns:
true if added successfully, otherwise false.

addFailure

public boolean addFailure(Failure failure)
Adds a failure into the list.

Parameters:
failure - the failure.
Returns:
true if added successfully, otherwise false.

removeFailure

public boolean removeFailure(Failure failure)
Removes a failure from the list of tags.

Parameters:
failure - the failure.
Returns:
true if added successfully, otherwise false.

getErrorsList

public java.util.List<Error> getErrorsList()
Returns:
List of .

getFailuresList

public java.util.List<Failure> getFailuresList()
Returns:
List of .


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