Class TestResult

    • Constructor Detail

      • TestResult

        public TestResult()
      • TestResult

        public TestResult​(URI about)
    • Method Detail

      • addContributor

        public void addContributor​(URI contributor)
        Adds a contributor.
        Parameters:
        contributor - the contributor to add.
        Since:
        3.9.0
      • getContributors

        @OslcName("contributor")
        @OslcPropertyDefinition("http://purl.org/dc/terms/contributor")
        @OslcRange("http://xmlns.com/foaf/0.1/Person")
        @OslcTitle("Contributors")
        public URI[] getContributors()
        Gets the contributors.
        Returns:
        the contributors.
        Since:
        3.9.0
      • setContributors

        public void setContributors​(URI[] contributors)
        Sets the contributors.
        Parameters:
        contributors - the contributors.
        Since:
        3.9.0
      • setCreated

        public void setCreated​(Date created)
      • addCreator

        public void addCreator​(URI creator)
        Adds a creator.
        Parameters:
        creator - the creator to add.
        Since:
        3.9.0
      • setCreators

        public void setCreators​(URI[] creators)
        Sets the creators.
        Parameters:
        creators - the creators.
        Since:
        3.9.0
      • setIdentifier

        public void setIdentifier​(String identifier)
      • setModified

        public void setModified​(Date modified)
      • setTitle

        public void setTitle​(String title)
      • getShortId

        public String getShortId()
        Returns a short identifier for the resource, such as a number.
        Returns:
        a short identifier.
        Since:
        3.9.0
      • setShortId

        public void setShortId​(String shortId)
        Sets a short identifier for the resource.
        Parameters:
        shortId - the short identifier.
        Since:
        3.9.0
      • getInstanceShape

        @OslcDescription("Resource Shape that provides hints as to resource property value-types and allowed values. ")
        @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape")
        @OslcRange("http://open-services.net/ns/core#ResourceShape")
        @OslcTitle("Instance Shape")
        public URI getInstanceShape()
      • setInstanceShape

        public void setInstanceShape​(URI instanceShape)
      • getServiceProvider

        @OslcDescription("The scope of a resource is a URI for the resource\'s OSLC Service Provider.")
        @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider")
        @OslcRange("http://open-services.net/ns/core#ServiceProvider")
        @OslcTitle("Service Provider")
        public URI getServiceProvider()
      • setServiceProvider

        public void setServiceProvider​(URI serviceProvider)
      • setStatus

        public void setStatus​(String status)
      • addAffectedByChangeRequest

        public void addAffectedByChangeRequest​(Link affectingChangeRequest)
      • setAffectedByChangeRequests

        public void setAffectedByChangeRequests​(Link[] affectedByChangeRequests)
      • setReportsOnTestPlan

        public void setReportsOnTestPlan​(Link reportsOnTestPlan)
      • setReportsOnTestCase

        public void setReportsOnTestCase​(Link reportsOnTestCase)
      • setExecutesTestScript

        public void setExecutesTestScript​(Link executesTestScript)
      • getProducedByTestExecutionRecord

        @OslcDescription("Test Execution Record that the Test Result was produced by.")
        @OslcName("producedByTestExecutionRecord")
        @OslcPropertyDefinition("http://open-services.net/ns/qm#producedByTestExecutionRecord")
        @OslcRange("http://open-services.net/ns/qm#TestExecutionRecord")
        @OslcReadOnly(false)
        @OslcTitle("Produced By Test Execution Record")
        public Link getProducedByTestExecutionRecord()
      • setProducedByTestExecutionRecord

        public void setProducedByTestExecutionRecord​(Link producedByTestExecutionRecord)
      • getRunsOnTestEnvironment

        @OslcDescription("Configuration associated with the execution work item executed to generate the execution result.")
        @OslcPropertyDefinition("http://open-services.net/ns/qm#runsOnTestEnvironment")
        @OslcRange("http://open-services.net/ns/qm#TestExecutionRecord")
        @OslcReadOnly(false)
        @OslcTitle("Runs On Test Environment")
        public Link getRunsOnTestEnvironment()
        Gets the running environment.
        Returns:
        the running environment.
        Since:
        3.9.0
      • setRunsOnTestEnvironment

        public void setRunsOnTestEnvironment​(Link runsOnTestEnvironment)
        Sets the running environment.
        Parameters:
        runsOnTestEnvironment - the running environment.
        Since:
        3.9.0