Class TestResults


  • public class TestResults
    extends Object
    Eyes test results.
    • Constructor Detail

      • TestResults

        public TestResults()
    • 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)
      • setAppUrls

        public void setAppUrls​(SessionUrls appUrls)
      • 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.
      • 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 to MatchLevel.EXACT
      • setStrictMatches

        public void setStrictMatches​(int strictMatches)
        Parameters:
        strictMatches - The number of matches performed with match level set to MatchLevel.STRICT
      • setContentMatches

        public void setContentMatches​(int contentMatches)
        Parameters:
        contentMatches - The number of matches performed with match level set to MatchLevel.CONTENT
      • setLayoutMatches

        public void setLayoutMatches​(int layoutMatches)
        Parameters:
        layoutMatches - The number of matches performed with match level set to MatchLevel.LAYOUT
      • setNoneMatches

        public void setNoneMatches​(int noneMatches)
        Parameters:
        noneMatches - The number of matches performed with match level set to MatchLevel.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.
      • 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)
      • delete

        public void delete()