Package org.springmodules.workflow.jbpm30

Source Code of org.springmodules.workflow.jbpm30.ProcessDefinitionTests

package org.springmodules.workflow.jbpm30;

import org.jbpm.graph.def.ProcessDefinition;
import org.springframework.core.io.ClassPathResource;

import java.io.IOException;

import junit.framework.TestCase;

/**
* @author robh
*/
public class ProcessDefinitionTests extends TestCase {

    public void testLoadProcessDefinition() throws IOException {
        ClassPathResource resource = new ClassPathResource("simpleWorkflow.xml", getClass());
        ProcessDefinition pd = ProcessDefinition.parseXmlInputStream(resource.getInputStream());
        assertNotNull(pd);
    }
}
TOP

Related Classes of org.springmodules.workflow.jbpm30.ProcessDefinitionTests

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.