Class SauceOnDemandReportFactory


  • public class SauceOnDemandReportFactory
    extends hudson.tasks.junit.TestResultAction.Data
    Contributes SauceOnDemandReport to CaseResult.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • SauceOnDemandReportFactory

        public SauceOnDemandReportFactory()
    • Method Detail

      • readResolve

        public Object readResolve()
        Makes this a singleton -- since it's stateless, there's no need to keep one around for every build.
        Returns:
        Singleton Report Factory Instance
      • getTestAction

        public List<SauceOnDemandReport> getTestAction​(hudson.tasks.junit.TestObject testObject)
        Specified by:
        getTestAction in class hudson.tasks.junit.TestResultAction.Data
      • findSessionIDs

        public static List<String[]> findSessionIDs​(hudson.tasks.junit.CaseResult cr,
                                                    String... output)
        Returns all sessions matching a given jobName in the provided logs. If no session is found for the jobName, return all session that do not provide job-name (old format)
      • matchTestNames

        public static boolean matchTestNames​(String jobName,
                                             String fullName,
                                             String displayName)