@ApplicationScoped public class ScenarioRunnerServiceImpl extends Object implements ScenarioRunnerService
Constructor and Description |
---|
ScenarioRunnerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected org.kie.api.runtime.KieContainer |
getKieContainer(org.kie.workbench.common.services.shared.project.KieModule kieModule) |
protected org.kie.workbench.common.services.shared.project.KieModule |
getKieModule(org.uberfire.backend.vfs.Path path) |
BiFunction<org.kie.api.runtime.KieContainer,Simulation,org.junit.runner.Runner> |
getRunnerSupplier() |
void |
runAllTests(String identifier,
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) |
ScenarioSimulationModel |
runTest(String identifier,
org.uberfire.backend.vfs.Path path,
ScenarioSimulationModel model) |
void |
setRunnerSupplier(BiFunction<org.kie.api.runtime.KieContainer,Simulation,org.junit.runner.Runner> runnerSupplier) |
public void runAllTests(String identifier, org.uberfire.backend.vfs.Path path)
runAllTests
in interface org.guvnor.common.services.shared.test.TestService
public 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.TestService
public ScenarioSimulationModel runTest(String identifier, org.uberfire.backend.vfs.Path path, ScenarioSimulationModel model)
runTest
in interface ScenarioRunnerService
protected org.kie.workbench.common.services.shared.project.KieModule getKieModule(org.uberfire.backend.vfs.Path path)
protected org.kie.api.runtime.KieContainer getKieContainer(org.kie.workbench.common.services.shared.project.KieModule kieModule)
public BiFunction<org.kie.api.runtime.KieContainer,Simulation,org.junit.runner.Runner> getRunnerSupplier()
public void setRunnerSupplier(BiFunction<org.kie.api.runtime.KieContainer,Simulation,org.junit.runner.Runner> runnerSupplier)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.