All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.toolresults.model.TestSuiteOverview.html Maven / Gradle / Ivy







TestSuiteOverview (Cloud Tool Results API v1beta3-rev20210809-2.0.0)












com.google.api.services.toolresults.model

Class TestSuiteOverview

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class TestSuiteOverview
    extends GenericJson
    A summary of a test suite result either parsed from XML or uploaded directly by a user. Note: the API related comments are for StepService only. This message is also being used in ExecutionService in a read only mode for the corresponding step.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Tool Results API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • TestSuiteOverview

        public TestSuiteOverview()
    • Method Detail

      • getElapsedTime

        public Duration getElapsedTime()
        Elapsed time of test suite.
        Returns:
        value or null for none
      • setElapsedTime

        public TestSuiteOverview setElapsedTime(Duration elapsedTime)
        Elapsed time of test suite.
        Parameters:
        elapsedTime - elapsedTime or null for none
      • getErrorCount

        public Integer getErrorCount()
        Number of test cases in error, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
        Returns:
        value or null for none
      • setErrorCount

        public TestSuiteOverview setErrorCount(Integer errorCount)
        Number of test cases in error, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
        Parameters:
        errorCount - errorCount or null for none
      • getFailureCount

        public Integer getFailureCount()
        Number of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user. - In create/response: always set - In update request: never
        Returns:
        value or null for none
      • setFailureCount

        public TestSuiteOverview setFailureCount(Integer failureCount)
        Number of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user. - In create/response: always set - In update request: never
        Parameters:
        failureCount - failureCount or null for none
      • getFlakyCount

        public Integer getFlakyCount()
        Number of flaky test cases, set by the service by rolling up flaky test attempts. Present only for rollup test suite overview at environment level. A step cannot have flaky test cases.
        Returns:
        value or null for none
      • setFlakyCount

        public TestSuiteOverview setFlakyCount(Integer flakyCount)
        Number of flaky test cases, set by the service by rolling up flaky test attempts. Present only for rollup test suite overview at environment level. A step cannot have flaky test cases.
        Parameters:
        flakyCount - flakyCount or null for none
      • getName

        public String getName()
        The name of the test suite. - In create/response: always set - In update request: never
        Returns:
        value or null for none
      • setName

        public TestSuiteOverview setName(String name)
        The name of the test suite. - In create/response: always set - In update request: never
        Parameters:
        name - name or null for none
      • getSkippedCount

        public Integer getSkippedCount()
        Number of test cases not run, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
        Returns:
        value or null for none
      • setSkippedCount

        public TestSuiteOverview setSkippedCount(Integer skippedCount)
        Number of test cases not run, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
        Parameters:
        skippedCount - skippedCount or null for none
      • getTotalCount

        public Integer getTotalCount()
        Number of test cases, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
        Returns:
        value or null for none
      • setTotalCount

        public TestSuiteOverview setTotalCount(Integer totalCount)
        Number of test cases, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
        Parameters:
        totalCount - totalCount or null for none
      • getXmlSource

        public FileReference getXmlSource()
        If this test suite was parsed from XML, this is the URI where the original XML file is stored. Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if the uri format is not supported. - In create/response: optional - In update request: never
        Returns:
        value or null for none
      • setXmlSource

        public TestSuiteOverview setXmlSource(FileReference xmlSource)
        If this test suite was parsed from XML, this is the URI where the original XML file is stored. Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if the uri format is not supported. - In create/response: optional - In update request: never
        Parameters:
        xmlSource - xmlSource or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy