Class ScenarioRunnerService

  • All Implemented Interfaces:
    org.guvnor.common.services.shared.test.TestService

    @ApplicationScoped
    public class ScenarioRunnerService
    extends Object
    implements org.guvnor.common.services.shared.test.TestService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.kie.workbench.common.services.shared.project.KieModuleService moduleService  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScenarioRunnerService()  
      ScenarioRunnerService​(org.guvnor.structure.server.config.ConfigurationService configurationService, org.kie.workbench.common.services.backend.session.SessionService sessionService, org.kie.workbench.common.services.shared.project.KieModuleService moduleService, ScenarioLoader scenarioLoader)  
    • Field Detail

      • moduleService

        protected org.kie.workbench.common.services.shared.project.KieModuleService moduleService
    • Constructor Detail

      • ScenarioRunnerService

        public ScenarioRunnerService()
      • ScenarioRunnerService

        @Inject
        public ScenarioRunnerService​(org.guvnor.structure.server.config.ConfigurationService configurationService,
                                     org.kie.workbench.common.services.backend.session.SessionService sessionService,
                                     org.kie.workbench.common.services.shared.project.KieModuleService moduleService,
                                     ScenarioLoader scenarioLoader)
    • Method Detail

      • run

        public org.drools.workbench.screens.testscenario.model.TestScenarioResult run​(String identifier,
                                                                                      org.drools.workbench.models.testscenarios.shared.Scenario scenario,
                                                                                      org.kie.workbench.common.services.shared.project.KieModule module)
      • runAllTests

        public List<org.guvnor.common.services.shared.test.TestResultMessage> runAllTests​(String identifier,
                                                                                          org.uberfire.backend.vfs.Path path)
        Specified by:
        runAllTests in interface org.guvnor.common.services.shared.test.TestService