[jbpm-commits] JBoss JBPM SVN: r5420 - jbpm4/trunk/modules/migration/src/test/java/org/jbpm/jpdl/internal/convert.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Aug 4 06:13:28 EDT 2009


Author: jbarrez
Date: 2009-08-04 06:13:28 -0400 (Tue, 04 Aug 2009)
New Revision: 5420

Modified:
   jbpm4/trunk/modules/migration/src/test/java/org/jbpm/jpdl/internal/convert/Jpdl3ConverterReaderTest.java
Log:
Quick fix for failing Hudson. Contact JimMa to understand how the task-reminder template will be used in migration tool.

Modified: jbpm4/trunk/modules/migration/src/test/java/org/jbpm/jpdl/internal/convert/Jpdl3ConverterReaderTest.java
===================================================================
--- jbpm4/trunk/modules/migration/src/test/java/org/jbpm/jpdl/internal/convert/Jpdl3ConverterReaderTest.java	2009-08-04 08:49:06 UTC (rev 5419)
+++ jbpm4/trunk/modules/migration/src/test/java/org/jbpm/jpdl/internal/convert/Jpdl3ConverterReaderTest.java	2009-08-04 10:13:28 UTC (rev 5420)
@@ -171,6 +171,7 @@
 	}
 	
 	private void validate(Document convertedDoc) throws Exception {
+	  System.out.println(convertedDoc.asXML());
 		List<Problem> problems = new JpdlParser().createParse().setString(convertedDoc.asXML()).execute().getProblems();
 		Assert.assertEquals(problems.toString(), 0, problems.size());
 	}
@@ -194,7 +195,12 @@
 						+ "           <subject>rectify ${newspaper}</subject>"
 						+ "           <text>${newspaper} ${date} ${details}</text>"
 						+ "    </mail-template>"
-						
+						+ "     <mail-template name='task-reminder'> "
+                        + "       <to addresses='${addressee}' />"
+                        + "           <subject>Task reminder</subject>"
+                        + "           <text>Task reminder</text>"
+                        + "    </mail-template>"
+                        
 						+ "  </process-engine-context> </jbpm-configuration>");
 
 		environmentFactory.openEnvironment();



More information about the jbpm-commits mailing list