Package com.applitools.eyes
Class TestResults
- java.lang.Object
-
- com.applitools.eyes.TestResults
-
public class TestResults extends Object
Eyes test results.
-
-
Constructor Summary
Constructors Constructor Description TestResults()
-
Method Summary
-
-
-
Method Detail
-
getStepsInfo
public StepInfo[] getStepsInfo()
-
setStepsInfo
public void setStepsInfo(StepInfo[] stepsInfo)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getSecretToken
public String getSecretToken()
-
setSecretToken
public void setSecretToken(String secretToken)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getAppName
public String getAppName()
-
setAppName
public void setAppName(String appName)
-
getBatchName
public String getBatchName()
-
setBatchName
public void setBatchName(String batchName)
-
getBatchId
public String getBatchId()
-
setBatchId
public void setBatchId(String batchId)
-
getBranchName
public String getBranchName()
-
setBranchName
public void setBranchName(String branchName)
-
getHostOS
public String getHostOS()
-
setHostOS
public void setHostOS(String hostOS)
-
getHostApp
public String getHostApp()
-
setHostApp
public void setHostApp(String hostApp)
-
getHostDisplaySize
public com.applitools.eyes.RectangleSize getHostDisplaySize()
-
setHostDisplaySize
public void setHostDisplaySize(com.applitools.eyes.RectangleSize hostDisplaySize)
-
getStartedAt
public Calendar getStartedAt()
-
setStartedAt
public void setStartedAt(Calendar startedAt)
-
getDuration
public Integer getDuration()
-
setDuration
public void setDuration(Integer duration)
-
isDifferent
public boolean isDifferent()
-
setDifferent
public void setDifferent(boolean different)
-
isAborted
public boolean isAborted()
-
setAborted
public void setAborted(boolean aborted)
-
getAppUrls
public SessionUrls getAppUrls()
-
setAppUrls
public void setAppUrls(SessionUrls appUrls)
-
getApiUrls
public SessionUrls getApiUrls()
-
setApiUrls
public void setApiUrls(SessionUrls apiUrls)
-
getSteps
public int getSteps()
- Returns:
- The total number of test steps.
-
getMatches
public int getMatches()
- Returns:
- The total number of test steps that matched the baseline.
-
getMismatches
public int getMismatches()
- Returns:
- The total number of test steps that did not match the baseline.
-
getMissing
public int getMissing()
- Returns:
- The total number of baseline test steps that were missing in the test.
-
getExactMatches
public int getExactMatches()
- Returns:
- The total number of test steps that exactly matched the baseline.
-
getStrictMatches
public int getStrictMatches()
- Returns:
- The total number of test steps that strictly matched the baseline.
-
getContentMatches
public int getContentMatches()
- Returns:
- The total number of test steps that matched the baseline by content.
-
getLayoutMatches
public int getLayoutMatches()
- Returns:
- The total number of test steps that matched the baseline by layout.
-
getNoneMatches
public int getNoneMatches()
- Returns:
- The total number of test steps that matched the baseline without performing any comparison.
-
getUrl
public String getUrl()
- Returns:
- The URL where test results can be viewed.
-
isNew
public Boolean isNew()
- Returns:
- Whether this is a new test.
-
isPassed
public boolean isPassed()
- Returns:
- Whether this test passed.
-
getStatus
public TestResultsStatus getStatus()
- Returns:
- The result status.
-
setSteps
public void setSteps(int steps)
- Parameters:
steps- The number of visual checkpoints in the test.
-
setMatches
public void setMatches(int matches)
- Parameters:
matches- The number of visual matches in the test.
-
setMismatches
public void setMismatches(int mismatches)
- Parameters:
mismatches- The number of mismatches in the test.
-
setMissing
public void setMissing(int missing)
- Parameters:
missing- The number of visual checkpoints that were available in the baseline but were not found in the current test.
-
setExactMatches
public void setExactMatches(int exactMatches)
- Parameters:
exactMatches- The number of matches performed with match level set toMatchLevel.EXACT
-
setStrictMatches
public void setStrictMatches(int strictMatches)
- Parameters:
strictMatches- The number of matches performed with match level set toMatchLevel.STRICT
-
setContentMatches
public void setContentMatches(int contentMatches)
- Parameters:
contentMatches- The number of matches performed with match level set toMatchLevel.CONTENT
-
setLayoutMatches
public void setLayoutMatches(int layoutMatches)
- Parameters:
layoutMatches- The number of matches performed with match level set toMatchLevel.LAYOUT
-
setNoneMatches
public void setNoneMatches(int noneMatches)
- Parameters:
noneMatches- The number of matches performed with match level set toMatchLevel.NONE
-
setUrl
public void setUrl(String url)
- Parameters:
url- The URL of the test results.
-
setNew
public void setNew(Boolean isNew)
- Parameters:
isNew- Whether this test has an existing baseline.
-
setStatus
public void setStatus(TestResultsStatus status)
- Parameters:
status- The new test result status.
-
setAccessibilityStatus
public void setAccessibilityStatus(SessionAccessibilityStatus accessibilityStatus)
-
getAccessibilityStatus
public SessionAccessibilityStatus getAccessibilityStatus()
-
getUserTestId
public String getUserTestId()
-
setUserTestId
public void setUserTestId(String userTestId)
-
setApiKey
public void setApiKey(String apiKey)
-
setServerUrl
public void setServerUrl(String serverUrl)
-
setProxy
public void setProxy(ProxyDto proxy)
-
getEyesServer
public EyesServerSettingsDto getEyesServer()
-
setEyesServer
public void setEyesServer(EyesServerSettingsDto eyesServer)
-
delete
public void delete()
-
-