@ApplicationScoped public class ScenarioRunnerService extends Object implements org.guvnor.common.services.shared.test.TestService
| Modifier and Type | Field and Description |
|---|---|
protected org.kie.workbench.common.services.shared.project.KieModuleService |
moduleService |
| Constructor and Description |
|---|
ScenarioRunnerService() |
ScenarioRunnerService(org.guvnor.structure.server.config.ConfigurationService configurationService,
javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> defaultTestResultMessageEvent,
org.kie.workbench.common.services.backend.session.SessionService sessionService,
org.kie.workbench.common.services.shared.project.KieModuleService moduleService,
ScenarioLoader scenarioLoader) |
| Modifier and Type | Method and Description |
|---|---|
TestScenarioResult |
run(String identifier,
org.drools.workbench.models.testscenarios.shared.Scenario scenario,
org.kie.workbench.common.services.shared.project.KieModule module) |
void |
runAllTests(String indentifier,
org.uberfire.backend.vfs.Path path) |
void |
runAllTests(String identifier,
org.uberfire.backend.vfs.Path path,
javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> customTestResultEvent) |
protected org.kie.workbench.common.services.shared.project.KieModuleService moduleService
public ScenarioRunnerService()
@Inject
public ScenarioRunnerService(org.guvnor.structure.server.config.ConfigurationService configurationService,
javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> defaultTestResultMessageEvent,
org.kie.workbench.common.services.backend.session.SessionService sessionService,
org.kie.workbench.common.services.shared.project.KieModuleService moduleService,
ScenarioLoader scenarioLoader)
public TestScenarioResult run(String identifier, org.drools.workbench.models.testscenarios.shared.Scenario scenario, org.kie.workbench.common.services.shared.project.KieModule module)
public void runAllTests(String indentifier, org.uberfire.backend.vfs.Path path)
runAllTests in interface org.guvnor.common.services.shared.test.TestServicepublic void runAllTests(String identifier, org.uberfire.backend.vfs.Path path, javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> customTestResultEvent)
runAllTests in interface org.guvnor.common.services.shared.test.TestServiceCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.