Class AutoTestsResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.AutoTestsResource

    public class AutoTestsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.AutoTestsResource
    • Field Summary

      • Fields inherited from interface com.artisol.teneo.studio.api.resources.AutoTestsResource

        GET_EXPORT_XLS_RESULT_PATH, GET_EXPORT_XLS_RESULT_SUMMARY, GET_FLOW_SUMMARIES_PATH, GET_FLOW_SUMMARIES_SUMMARY, GET_SUMMARIES_PATH, GET_SUMMARIES_SUMMARY, GET_SUMMARY_PATH, GET_SUMMARY_SUMMARY, PATH, POST_BEGIN_PATH, POST_BEGIN_SUMMARY, POST_DOCUMENT_BEGIN_PATH, POST_DOCUMENT_BEGIN_SUMMARY, POST_EXPORT_XLS_BEGIN_PATH, POST_EXPORT_XLS_BEGIN_SUMMARY
    • Constructor Summary

      Constructors 
      Constructor Description
      AutoTestsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)  
    • Constructor Detail

      • AutoTestsResourceImpl

        public AutoTestsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • Method Detail

      • beginAutoTest

        public UUID beginAutoTest​(UUID solutionId,
                                  Map<String,​String> initialVariablesConfiguration,
                                  boolean stable,
                                  boolean flowScope,
                                  boolean matchRequirementsTriggerTests,
                                  boolean transitionTests,
                                  boolean urlTests)
                           throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginAutoTest in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginAutoTest

        public UUID beginAutoTest​(UUID solutionId,
                                  UUID documentId,
                                  Map<String,​String> initialVariablesConfiguration,
                                  boolean stable,
                                  boolean flowScope,
                                  boolean matchRequirementsTriggerTests,
                                  boolean transitionTests,
                                  boolean urlTests)
                           throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginAutoTest in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginXlsExport

        public UUID beginXlsExport​(UUID solutionId)
                            throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginXlsExport in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getXlsExport

        public InputStream getXlsExport​(UUID taskId)
                                 throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getXlsExport in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getTestSummaries

        public List<com.artisol.teneo.studio.api.models.AutoTestSummary> getTestSummaries​(UUID solutionId)
                                                                                   throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getTestSummaries in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getFlowTestSummaries

        public List<com.artisol.teneo.studio.api.models.AutoTestSummary> getFlowTestSummaries​(UUID solutionId,
                                                                                              UUID flowId)
                                                                                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getFlowTestSummaries in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getTestSummary

        public com.artisol.teneo.studio.api.models.AutoTestSummary getTestSummary​(UUID solutionId,
                                                                                  UUID summaryId,
                                                                                  boolean ignoreSkipped,
                                                                                  boolean ignoreSuccess,
                                                                                  boolean ignoreWarnings)
                                                                           throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getTestSummary in interface com.artisol.teneo.studio.api.resources.AutoTestsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException