@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.KieProjectService |
projectService |
static String |
TEST_SCENARIO_SERVICE_ID |
| 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.KieProjectService projectService,
ScenarioLoader scenarioLoader) |
| Modifier and Type | Method and Description |
|---|---|
TestScenarioResult |
run(org.drools.workbench.models.testscenarios.shared.Scenario scenario,
org.kie.workbench.common.services.shared.project.KieProject project) |
void |
runAllTests(org.uberfire.backend.vfs.Path path) |
void |
runAllTests(org.uberfire.backend.vfs.Path path,
javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> customTestResultEvent) |
public static final String TEST_SCENARIO_SERVICE_ID
protected org.kie.workbench.common.services.shared.project.KieProjectService projectService
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.KieProjectService projectService,
ScenarioLoader scenarioLoader)
public TestScenarioResult run(org.drools.workbench.models.testscenarios.shared.Scenario scenario, org.kie.workbench.common.services.shared.project.KieProject project)
public void runAllTests(org.uberfire.backend.vfs.Path path)
runAllTests in interface org.guvnor.common.services.shared.test.TestServicepublic void runAllTests(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–2017 JBoss by Red Hat. All rights reserved.