|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.projectdarkstar.tools.dtc.data.AbstractDTO
com.projectdarkstar.tools.dtc.data.TestExecutionResultDTO
public class TestExecutionResultDTO
Represents the results for a specific instance of a TestSpecDTO.
Each TestExecutionResult is part of a parent TestExecutionDTO
to make up one cohesive set of test results.
| Constructor Summary | |
|---|---|
TestExecutionResultDTO(Long id,
Long versionNumber,
TestExecutionResultValueDTO result,
String originalTestSpecName,
String originalTestSpecDescription,
String originalTestSpecTestRunner,
Long originalTestSpecTimeLimit,
Long originalTestSpecMaxClients)
|
|
| Methods inherited from class com.projectdarkstar.tools.dtc.data.AbstractDTO |
|---|
checkBlank, checkNull, getFullyPopulated, getUpdatedAttributes, updateAttribute, valueToValidate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestExecutionResultDTO(Long id,
Long versionNumber,
TestExecutionResultValueDTO result,
String originalTestSpecName,
String originalTestSpecDescription,
String originalTestSpecTestRunner,
Long originalTestSpecTimeLimit,
Long originalTestSpecMaxClients)
| Method Detail |
|---|
public Long getId()
getId in class AbstractDTOpublic void setId(Long id)
public Long getVersionNumber()
public TestExecutionResultValueDTO getResult()
protected void setResult(TestExecutionResultValueDTO result)
public void updateResult(TestExecutionResultValueDTO result)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic LogFileDTO getResultSummary()
protected void setResultSummary(LogFileDTO resultSummary)
public void updateResultSummary(LogFileDTO resultSummary)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<PropertyDTO> getProperties()
PropertyDTO objects
to be passed to the TestRunner during run time. These are derived
from the original TestSpecDTO used to create this
TestExecutionResult and should be customized for each specific case.
protected void setProperties(List<PropertyDTO> properties)
public void updateProperties(List<PropertyDTO> properties)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<TestExecutionResultServerLogDTO> getServerLogs()
TestExecutionResultServerLogDTO is generated for each
HardwareResourceDTO that the server application is run on during
the test. Returns a list of these logs.
protected void setServerLogs(List<TestExecutionResultServerLogDTO> serverLogs)
public void updateServerLogs(List<TestExecutionResultServerLogDTO> serverLogs)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<TestExecutionResultClientLogDTO> getClientLogs()
TestExecutionResultClientLogDTO is generated for each
ClientAppConfigDTO client application simulator that is run
during the test. Returns a list of these logs.
protected void setClientLogs(List<TestExecutionResultClientLogDTO> clientLogs)
public void updateClientLogs(List<TestExecutionResultClientLogDTO> clientLogs)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<TestExecutionResultProbeLogDTO> getProbeLogs()
TestExecutionResultProbeLogDTO is generated for each
SystemProbeDTO monitoring the system during the test.
Returns a list of these logs.
protected void setProbeLogs(List<TestExecutionResultProbeLogDTO> probeLogs)
public void updateProbeLogs(List<TestExecutionResultProbeLogDTO> probeLogs)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<TestExecutionResultClientDataDTO> getClientData()
TestExecutionResultClientDataDTO objects are
periodically collected during the execution of a test to monitor how
many clients are acting in the system over time. Returns a list
of these data objects.
protected void setClientData(List<TestExecutionResultClientDataDTO> clientData)
public void updateClientData(List<TestExecutionResultClientDataDTO> clientData)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<HardwareResourceDTO> getServerResources()
HardwareResourceDTO objects that are used to
run the server application on during the test.
protected void setServerResources(List<HardwareResourceDTO> serverResources)
public void updateServerResources(List<HardwareResourceDTO> serverResources)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<HardwareResourceDTO> getClientResources()
HardwareResourceDTO objects taht are used
to run the client application simulators during the test
protected void setClientResources(List<HardwareResourceDTO> clientResources)
public void updateClientResources(List<HardwareResourceDTO> clientResources)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<HardwareResourceFamilyDTO> getOriginalServerResources()
public List<HardwareResourceFamilyDTO> getOriginalClientResources()
public String getOriginalTestSpecName()
public String getOriginalTestSpecDescription()
public String getOriginalTestSpecTestRunner()
public Long getOriginalTestSpecTimeLimit()
public Long getOriginalTestSpecMaxClients()
public TestSpecDTO getOriginalTestSpec()
public TestExecutionDTO getParentExecution()
protected void setParentExecution(TestExecutionDTO parentExecution)
public void updateParentExecution(TestExecutionDTO parentExecution)
throws DTCInvalidDataException
DTCInvalidDataException
public void validate()
throws DTCInvalidDataException
AbstractDTO
validate in class AbstractDTODTCInvalidDataExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||