Package ru.testit.models
Class TestResult
java.lang.Object
ru.testit.models.TestResult
- All Implemented Interfaces:
Serializable,ResultWithAttachments,ResultWithDescription,ResultWithParameters,ResultWithSteps,ResultWithTitle
public class TestResult
extends Object
implements ResultWithSteps, ResultWithAttachments, ResultWithParameters, ResultWithTitle, ResultWithDescription, Serializable
The model object that stores information about test that was run.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets attachments.booleanGets automaticCreationTestCases.Gets class name.Gets description.Gets external id.Gets externalKey.Gets item stage.Gets item status.Gets labels.Gets links.Gets message.getName()Gets name.Gets parameters.Gets result links.Gets space name.getStart()Gets start.getSteps()Gets steps.getStop()Gets stop.getTags()Gets tags.Gets throwable.getTitle()Gets title.getUuid()Gets uuid.Gets work item id.setAttachments(List<String> attachments) Sets attachments.setAutomaticCreationTestCases(boolean automaticCreationTestCases) Sets automaticCreationTestCases.setClassName(String className) Sets class name.setDescription(String description) Sets description.setExternalId(String externalId) Sets external id.setExternalKey(String externalKey) Sets externalKey.setItemStage(ItemStage itemStage) Sets item stage.setItemStatus(ItemStatus itemStatus) Sets item status.Sets labels.setLinkItems(List<LinkItem> linkItems) Sets links.setMainContainerUuid(String mainContainerUuid) setMessage(String message) Sets message.Sets name.setParameters(Map<String, String> parameters) Sets parameters.setResultLinks(List<LinkItem> resultLinks) Sets result links.setSpaceName(String spaceName) Sets space name.Sets start.setSteps(List<StepResult> steps) Sets steps.Sets stop.Sets tags.setThrowable(Throwable throwable) Sets throwable.Sets title.Sets uuid.setWorkItemIds(List<String> workItemIds) Sets work item id.toString()
-
Constructor Details
-
TestResult
public TestResult()
-
-
Method Details
-
getUuid
Gets uuid.- Returns:
- the uuid
-
setUuid
Sets uuid.- Parameters:
uuid- the value- Returns:
- self for method chaining
-
getExternalId
Gets external id.- Returns:
- the external id
-
setExternalId
Sets external id.- Parameters:
externalId- the value- Returns:
- self for method chaining
-
getWorkItemIds
Gets work item id.- Returns:
- the work item id
-
setWorkItemIds
Sets work item id.- Parameters:
workItemIds- the value- Returns:
- self for method chaining
-
getClassName
Gets class name.- Returns:
- the class name
-
setClassName
Sets class name.- Parameters:
className- the value- Returns:
- self for method chaining
-
getSpaceName
Gets space name.- Returns:
- the space name
-
setSpaceName
Sets space name.- Parameters:
spaceName- the value- Returns:
- self for method chaining
-
getAttachments
Gets attachments.- Specified by:
getAttachmentsin interfaceResultWithAttachments- Returns:
- the attachments
-
setAttachments
Sets attachments.- Parameters:
attachments- the attachments- Returns:
- self for method chaining
-
getLabels
Gets labels.- Returns:
- the labels
-
setLabels
Sets labels.- Parameters:
labels- the labels- Returns:
- self for method chaining
-
getTags
Gets tags.- Returns:
- the tags
-
setTags
Sets tags.- Parameters:
tags- the tags- Returns:
- self for method chaining
-
getLinkItems
Gets links.- Returns:
- the links
-
setLinkItems
Sets links.- Parameters:
linkItems- the steps- Returns:
- self for method chaining
-
getResultLinks
Gets result links.- Returns:
- the links
-
setResultLinks
Sets result links.- Parameters:
resultLinks- the test- Returns:
- self for method chaining
-
getMessage
Gets message.- Returns:
- the message
-
setMessage
Sets message.- Parameters:
message- the message- Returns:
- self for method chaining
-
getTitle
Gets title.- Returns:
- the title
-
setTitle
Sets title.- Specified by:
setTitlein interfaceResultWithTitle- Parameters:
title- the value- Returns:
- self for method chaining
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the value- Returns:
- self for method chaining
-
getItemStatus
Gets item status.- Returns:
- the item status
-
setItemStatus
Sets item status.- Parameters:
itemStatus- the value- Returns:
- self for method chaining
-
getItemStage
Gets item stage.- Returns:
- the item stage
-
setItemStage
Sets item stage.- Parameters:
itemStage- the value- Returns:
- self for method chaining
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Specified by:
setDescriptionin interfaceResultWithDescription- Parameters:
description- the value- Returns:
- self for method chaining
-
getSteps
Gets steps.- Specified by:
getStepsin interfaceResultWithSteps- Returns:
- the steps
-
setSteps
Sets steps.- Parameters:
steps- the steps- Returns:
- self for method chaining
-
getStart
Gets start.- Returns:
- the start
-
setStart
Sets start.- Parameters:
start- the value- Returns:
- self for method chaining
-
getStop
Gets stop.- Returns:
- the stop
-
setStop
Sets stop.- Parameters:
stop- the value- Returns:
- self for method chaining
-
getThrowable
Gets throwable.- Returns:
- the throwable
-
setThrowable
Sets throwable.- Parameters:
throwable- the value- Returns:
- self for method chaining
-
getParameters
Gets parameters.- Specified by:
getParametersin interfaceResultWithParameters- Returns:
- the parameters
-
setParameters
Sets parameters.- Parameters:
parameters- the value- Returns:
- self for method chaining
-
getAutomaticCreationTestCases
public boolean getAutomaticCreationTestCases()Gets automaticCreationTestCases.- Returns:
- the automaticCreationTestCases
-
setAutomaticCreationTestCases
Sets automaticCreationTestCases.- Parameters:
automaticCreationTestCases- the value- Returns:
- self for method chaining
-
getExternalKey
Gets externalKey.- Returns:
- the externalKey
-
setExternalKey
Sets externalKey.- Parameters:
externalKey- the value- Returns:
- self for method chaining
-
getMainContainerUuid
-
setMainContainerUuid
-
toString
-