Class TestObject

    • Constructor Detail

      • TestObject

        public TestObject()
        Deprecated.
    • Method Detail

      • getRun

        public Run<?,​?> getRun()
        Deprecated.
        Returns:
        the run in which this test was executed.
        Since:
        1.2-beta-1
      • getParent

        public abstract TestObject getParent()
        Deprecated.
      • getId

        public abstract String getId()
        Deprecated.
      • getUrl

        public abstract String getUrl()
        Deprecated.
        Returns the URL of this TestObject, relative to the context root.
        Returns:
        String like "job/foo/32/testReport/junit/com.company/Class" with no trailing or leading slash.
      • getTestResult

        public abstract TestResult getTestResult()
        Deprecated.
      • getTestActions

        public abstract List<TestAction> getTestActions()
        Deprecated.
      • getTestAction

        public abstract <T> T getTestAction​(Class<T> klazz)
        Deprecated.
      • getPreviousResult

        public abstract TestObject getPreviousResult()
        Deprecated.
        Gets the counter part of this TestObject in the previous run.
        Returns:
        null if no such counter part exists.
      • getResultInRun

        public TestObject getResultInRun​(Run<?,​?> run)
        Deprecated.
        Parameters:
        run - The run for which the run is requested.
        Returns:
        the test result for the provided run.
        Since:
        1.2-beta-1
      • getDuration

        public abstract float getDuration()
        Deprecated.
        Time took to run this test. In seconds.
        Returns:
        the time in seconds the test ran.
      • getDurationString

        public abstract String getDurationString()
        Deprecated.
        Returns the string representation of the getDuration(), in a human readable format.
        Returns:
        a string representation of getDuration().
      • getDescription

        public abstract String getDescription()
        Deprecated.
      • setDescription

        public abstract void setDescription​(String description)
        Deprecated.
      • getApi

        public abstract Api getApi()
        Deprecated.
        Exposes this object through the remote API.
        Returns:
        the api for this test object.
      • getName

        public abstract String getName()
        Deprecated.
        Gets the name of this object.
        Returns:
        the name of this object.
      • getSafeName

        public abstract String getSafeName()
        Deprecated.
        Gets the version of getName() that's URL-safe.
        Returns:
        the URL-safe name of this object.
      • getPassCount

        public abstract int getPassCount()
        Deprecated.
        Gets the total number of passed tests.
        Returns:
        the total number of passed tests.
      • getFailCount

        public abstract int getFailCount()
        Deprecated.
        Gets the total number of failed tests.
        Returns:
        the total number of failed tests.
      • getSkipCount

        public abstract int getSkipCount()
        Deprecated.
        Gets the total number of skipped tests.
        Returns:
        the total number of skipped tests.
      • getTotalCount

        public abstract int getTotalCount()
        Deprecated.
        Gets the total number of tests.
        Returns:
        the total number of tests.
      • getHistory

        public abstract History getHistory()
        Deprecated.