Package com.applitools.eyes
Class TestResults
java.lang.Object
com.applitools.eyes.TestResults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()intintcom.applitools.eyes.RectangleSizegetId()intintintintgetName()intintgetSteps()StepInfo[]intgetUrl()booleanbooleanisNew()booleanisPassed()voidsetAborted(boolean aborted) voidsetAccessibilityStatus(SessionAccessibilityStatus accessibilityStatus) voidvoidsetApiUrls(SessionUrls apiUrls) voidsetAppName(String appName) voidsetAppUrls(SessionUrls appUrls) voidsetBatchId(String batchId) voidsetBatchName(String batchName) voidsetBranchName(String branchName) voidsetContentMatches(int contentMatches) voidsetDifferent(boolean different) voidsetDuration(Integer duration) voidsetExactMatches(int exactMatches) voidsetEyesServer(EyesServerSettingsDto eyesServer) voidsetHostApp(String hostApp) voidsetHostDisplaySize(com.applitools.eyes.RectangleSize hostDisplaySize) voidvoidvoidsetLayoutMatches(int layoutMatches) voidsetMatches(int matches) voidsetMismatches(int mismatches) voidsetMissing(int missing) voidvoidvoidsetNoneMatches(int noneMatches) voidvoidsetSecretToken(String secretToken) voidsetServerUrl(String serverUrl) voidsetStartedAt(Calendar startedAt) voidsetStatus(TestResultsStatus status) voidsetSteps(int steps) voidsetStepsInfo(StepInfo[] stepsInfo) voidsetStrictMatches(int strictMatches) voidvoidsetUserTestId(String userTestId) toString()
-
Constructor Details
-
TestResults
public TestResults()
-
-
Method Details
-
getStepsInfo
-
setStepsInfo
-
getName
-
setName
-
getSecretToken
-
setSecretToken
-
getId
-
setId
-
getAppName
-
setAppName
-
getBatchName
-
setBatchName
-
getBatchId
-
setBatchId
-
getBranchName
-
setBranchName
-
getHostOS
-
setHostOS
-
getHostApp
-
setHostApp
-
getHostDisplaySize
public com.applitools.eyes.RectangleSize getHostDisplaySize() -
setHostDisplaySize
public void setHostDisplaySize(com.applitools.eyes.RectangleSize hostDisplaySize) -
getStartedAt
-
setStartedAt
-
getDuration
-
setDuration
-
isDifferent
public boolean isDifferent() -
setDifferent
public void setDifferent(boolean different) -
isAborted
public boolean isAborted() -
setAborted
public void setAborted(boolean aborted) -
getAppUrls
-
setAppUrls
-
getApiUrls
-
setApiUrls
-
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
- Returns:
- The URL where test results can be viewed.
-
isNew
- Returns:
- Whether this is a new test.
-
isPassed
public boolean isPassed()- Returns:
- Whether this test passed.
-
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
- Parameters:
url- The URL of the test results.
-
setNew
- Parameters:
isNew- Whether this test has an existing baseline.
-
setStatus
- Parameters:
status- The new test result status.
-
setAccessibilityStatus
-
getAccessibilityStatus
-
getUserTestId
-
setUserTestId
-
setApiKey
-
setServerUrl
-
setProxy
-
getEyesServer
-
setEyesServer
-
delete
public void delete() -
toString
-