Class RobotCaseResult

    • Constructor Detail

      • RobotCaseResult

        public RobotCaseResult()
    • Method Detail

      • timeDifference

        public static long timeDifference​(String time1,
                                          String time2)
                                   throws ParseException
        Difference between string timevalues in format yyyyMMdd HH:mm:ss.SS (Java DateFormat). Difference is calculated time2 - time1.
        Parameters:
        time1 - Start time
        time2 - End time
        Returns:
        Elapsed time from start to end
        Throws:
        ParseException - thrown exception
      • setName

        public void setName​(String name)
      • setDescription

        public void setDescription​(String description)
      • getDuration

        public long getDuration()
        Description copied from class: RobotTestObject
        Get duration of this testobject run
        Overrides:
        getDuration in class RobotTestObject
        Returns:
        Duration of this testobject run
      • getStarttime

        public String getStarttime()
      • setStarttime

        public void setStarttime​(String starttime)
      • getEndtime

        public String getEndtime()
      • setEndtime

        public void setEndtime​(String endtime)
      • getElapsedtime

        public double getElapsedtime()
      • setElapsedTime

        public void setElapsedTime​(String elapsed)
      • getErrorMsg

        public String getErrorMsg()
      • setErrorMsg

        public void setErrorMsg​(String errorMsg)
      • getStackTrace

        public String getStackTrace()
      • setStackTrace

        public void setStackTrace​(String stackTrace)
      • setPassed

        public void setPassed​(boolean passed)
      • setSkipped

        public void setSkipped​(boolean skipped)
      • setCritical

        public void setCritical​(boolean critical)
      • getDisplayName

        public String getDisplayName()
      • getSearchUrl

        public String getSearchUrl()
      • isPassed

        public boolean isPassed()
      • isSkipped

        public boolean isSkipped()
      • isCritical

        public boolean isCritical()
      • getCommaSeparatedTags

        public String getCommaSeparatedTags()
      • addTags

        public void addTags​(List<String> taglist)
      • getFailedSince

        public int getFailedSince()
        Gives the buildnumber of the build that this case first failed in
        Returns:
        number of build
      • setFailedSince

        public void setFailedSince​(int failedSince)
      • getFailedSinceRun

        public Run<?,​?> getFailedSinceRun()
        Gives the run that this case first failed in
        Returns:
        run object
      • getAge

        public int getAge()
        Get the number of builds this test case has failed for
        Returns:
        number of builds
      • doGraph

        public void doGraph​(org.kohsuke.stapler.StaplerRequest req,
                            org.kohsuke.stapler.StaplerResponse rsp)
                     throws IOException
        Return duration graph of the case in the request.
        Overrides:
        doGraph in class RobotTestObject
        Parameters:
        req - StaplerRequest
        rsp - StaplerResponse
        Throws:
        IOException - thrown exception