Package de.danet.an.workflow.api

Examples of de.danet.an.workflow.api.ProcessMgr


     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest1() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT1");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here


     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest2() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT2");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest3() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT3");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest4() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT4");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest5() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT5");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest6() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT6");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  // There should be a server error, because the result
  // of the transformation is not wellformed.
  assertTrue(stateReached(process, "closed.completed"));
    }
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest7() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT7");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest8() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT8");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  // There should be a server error, because
  // the transformation produces no xml.
  assertTrue(stateReached(process, "closed.terminated"));
    }
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest9() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT9");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

     * Test a xslt tool invocation which returns a complex data type of DOM
     * element.
     * @exception Exception if an error occurs
     */
    public void invokeTest10() throws Exception {
  ProcessMgr pmgr = pdd.processMgr("st-testXSLT", "testXSLT10");
  WfProcess process = pmgr.createProcess(defaultRequester());
   process.start();
  assertTrue(stateReached(process, "closed.completed"));
   Map map = (Map)process.result();
  for (Iterator it = map.keySet().iterator(); it.hasNext();) {
      String name = (String) it.next();
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.api.ProcessMgr

Copyright © 2018 www.massapicom. 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.