06-11-2015 03:06 AM
import static org.junit.Assert.*;
import org.junit.runner.RunWith;
import org.junit.Test;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.test.ActivitiRule;
import org.activiti.engine.test.Deployment;
import org.junit.Rule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.ContextConfiguration;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:activiti-context.xml")
public class HelloTest {
@Autowired
private RuntimeService runtimeService;
@Autowired
@Rule
public ActivitiRule activitiRule;
@Test
@Deployment
public void simpleProcessTest() {
runtimeService.startProcessInstanceByKey("HelloProcessId");
assertEquals(0,0);
}
}
06-11-2015 03:10 AM
06-11-2015 03:12 PM
<property name="deploymentResources"
value="classpath*:diagrams/autodeploy.*.bpmn" />
06-15-2015 02:27 AM
06-15-2015 03:01 AM
06-15-2015 03:59 AM
06-16-2015 05:13 AM
06-16-2015 08:03 AM
06-17-2015 02:55 AM
[ERROR] Failed to execute goal on project hello-world-test: Could not resolve dependencies for project org.fbconsult:hello-world-test:jar:1.0: Could not find artifact com.oraclejdbc6:jar:11.2.0 at specified path D:\Java\ojdbc6.jar
06-17-2015 08:31 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.