@ApplicationScoped public class ScenarioRunnerService extends Object implements org.guvnor.common.services.shared.test.TestService
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.errai.security.shared.api.identity.User |
identity |
protected org.kie.workbench.common.services.shared.project.KieProjectService |
projectService |
| 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,
org.jboss.errai.security.shared.api.identity.User identity) |
| 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) |
protected org.kie.workbench.common.services.shared.project.KieProjectService projectService
protected org.jboss.errai.security.shared.api.identity.User identity
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,
org.jboss.errai.security.shared.api.identity.User identity)
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–2016 JBoss by Red Hat. All rights reserved.