com.projectdarkstar.tools.dtc.domain
Class TestSuite

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.domain.TestSuite
All Implemented Interfaces:
Serializable

public class TestSuite
extends Object
implements Serializable

Represents a collection of tests in the form of @link{TestSpec} objects that are to be run in succession as a suite.

See Also:
Serialized Form

Constructor Summary
TestSuite()
           
TestSuite(String name, String description, PkgLibrary darkstarPkg)
           
 
Method Summary
 boolean equals(Object o)
           
 PkgLibrary getDarkstarPkg()
          Returns the PkgLibrary object that represents the binary darkstar package that is to be used in this test suite.
 String getDescription()
           
 Long getId()
          Returns the id of the entity in persistent storage
 String getName()
           
 List<TestSpec> getTestSpecs()
          Returns the list of TestSpec objects that are to be run in succession
 Long getVersionNumber()
          Returns the version number in the data store that this entity represents.
 int hashCode()
           
 void setDarkstarPkg(PkgLibrary darkstarPkg)
           
 void setDescription(String description)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setTestSpecs(List<TestSpec> testSpecs)
           
protected  void setVersionNumber(Long versionNumber)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSuite

public TestSuite()

TestSuite

public TestSuite(String name,
                 String description,
                 PkgLibrary darkstarPkg)
Method Detail

getId

public Long getId()
Returns the id of the entity in persistent storage

Returns:
id of the entity

setId

public void setId(Long id)

getVersionNumber

public Long getVersionNumber()
Returns the version number in the data store that this entity represents. Whenever an update to an object is pushed to the persistent data store, the version number is incremented.

Returns:
version number of the entity

setVersionNumber

protected void setVersionNumber(Long versionNumber)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getDarkstarPkg

public PkgLibrary getDarkstarPkg()
Returns the PkgLibrary object that represents the binary darkstar package that is to be used in this test suite.

Returns:
darkstar package library

setDarkstarPkg

public void setDarkstarPkg(PkgLibrary darkstarPkg)

getTestSpecs

public List<TestSpec> getTestSpecs()
Returns the list of TestSpec objects that are to be run in succession

Returns:
list of tests

setTestSpecs

public void setTestSpecs(List<TestSpec> testSpecs)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.