2006/unicorn/src/org/w3c/unicorn/tasklist TaskListUnmarshallerBeans.java,1.6,1.7

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist
In directory hutz:/tmp/cvs-serv13961/src/org/w3c/unicorn/tasklist

Modified Files:
	TaskListUnmarshallerBeans.java 
Log Message:
new test condition "parameter"
+ new task: "Custom Task"
+ renamed new-tasklist.xml -> tasklist.xml

Index: TaskListUnmarshallerBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/TaskListUnmarshallerBeans.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- TaskListUnmarshallerBeans.java	4 Sep 2009 13:45:13 -0000	1.6
+++ TaskListUnmarshallerBeans.java	16 Sep 2009 11:57:24 -0000	1.7
@@ -36,6 +36,7 @@
 import org.w3c.unicorn.tasklist.parameters.Parameter;
 import org.w3c.unicorn.tasklist.parameters.ParameterFactory;
 import org.w3c.unicorn.tasklist.parameters.Value;
+import org.w3c.unicorn.tasklisttree.EnumCondType;
 import org.w3c.unicorn.tasklisttree.TLTCond;
 import org.w3c.unicorn.tasklisttree.TLTExec;
 import org.w3c.unicorn.tasklisttree.TLTIf;
@@ -418,7 +419,10 @@
 					myCond
 							.setResult(condlist.getResult().equals("passed") ? true
 									: false);
-					myCond.setType(condlist.getType());
+					myCond.setType(condlist.getType().toString());
+					
+					myCond.setParameter(condlist.getParameter());
+					
 					myCond.setValue(condlist.getValue());
 
 					ifnode.addCond(myCond);

Received on Wednesday, 16 September 2009 11:57:43 UTC