Permalink
Browse files

ACT-1731: Fixed issue with byteArray initialisation in joined-queries

  • Loading branch information...
1 parent 35fcc7a commit 0b7e5fbcb6554e2cf193ecfe3c0777628ca99726 @frederikheremans frederikheremans committed Jun 28, 2013
@@ -41,6 +41,16 @@
*/
public class RuntimeServiceTest extends PluggableActivitiTestCase {
+ @Deployment(resources={"org/activiti/engine/test/api/oneTaskProcess.bpmn20.xml"})
+ public void testStartProcessInstanceWithVariables() {
+ Map<String, Object> vars = new HashMap<String, Object>();
+ vars.put("basicType", new DummySerializable());
+ runtimeService.startProcessInstanceByKey("oneTaskProcess", vars);
+ Task task = taskService.createTaskQuery().includeProcessVariables().singleResult();
+ assertNotNull(task.getProcessVariables());
+ }
+
+
public void testStartProcessInstanceByKeyNullKey() {
try {
runtimeService.startProcessInstanceByKey(null);

0 comments on commit 0b7e5fb

Please sign in to comment.