tag.
- Since:
- 2.1
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
- See Also:
- Serialized Form
Constructor Summary |
TestCase()
Default constructor. |
Method Summary |
boolean |
addError(Error error)
Adds an error into the list of tags. |
boolean |
addFailure(Failure failure)
Adds a failure into the list of tags. |
java.lang.String |
getClassName()
Retrieves the classname. |
java.util.List<Error> |
getErrors()
Retrives the list of tags. |
java.util.List<Failure> |
getFailures()
Retrieves the list of tags. |
java.lang.String |
getName()
Retrieves the name. |
java.lang.String |
getTime()
Retrieves the time. |
boolean |
removeError(Error error)
Removes an error from the list of tags. |
boolean |
removeFailure(Failure failure)
Removes a failure from the list of tags. |
void |
setClassName(java.lang.String className)
Sets the classname. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setTime(java.lang.String time)
Sets the time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestCase
public TestCase()
- Default constructor. Initializes the and the
tag lists.
getClassName
public java.lang.String getClassName()
- Retrieves the classname.
- Returns:
- the classname.
setClassName
public void setClassName(java.lang.String className)
- Sets the classname.
- Parameters:
className
- the classname.
getName
public java.lang.String getName()
- Retrieves the name.
- Returns:
- the name.
setName
public void setName(java.lang.String name)
- Sets the name.
- Parameters:
name
- the name.
getTime
public java.lang.String getTime()
- Retrieves the time.
- Returns:
- the time.
setTime
public void setTime(java.lang.String time)
- Sets the time.
- Parameters:
time
- the time.
getFailures
public java.util.List<Failure> getFailures()
- Retrieves the list of tags.
- Returns:
- the list of tags.
addFailure
public boolean addFailure(Failure failure)
- Adds a failure into the list of tags.
- Parameters:
failure
- the failure.
- Returns:
- true if added successfully, otherwise false.
getErrors
public java.util.List<Error> getErrors()
- Retrives the list of tags.
- Returns:
- the list of tags.
addError
public boolean addError(Error error)
- Adds an error into the list of tags.
- Parameters:
error
- the error.
- 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 removed successfully, otherwise false.
removeError
public boolean removeError(Error error)
- Removes an error from the list of tags.
- Parameters:
error
- the error.
- Returns:
- true if removed sucessfully, otherwise false.
Copyright © 2010-2011 the Jenkins TestLink plug-in team-2011 Jenkins. All Rights Reserved.