]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/unit/execution/ExecutionFlowDescriptorTestUtils.java
Primitive arguments working
[gpl/argeo-slc.git] / runtime / org.argeo.slc.unit / src / main / java / org / argeo / slc / unit / execution / ExecutionFlowDescriptorTestUtils.java
index 6539eadcc86803bc78442fe247ddbdde49d59fee..33277c6989bcf3c4c4cddf1cccb27564b5f756cd 100644 (file)
@@ -21,8 +21,8 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.argeo.slc.core.execution.DefaultExecutionSpec;
+import org.argeo.slc.core.execution.PrimitiveAccessor;
 import org.argeo.slc.core.execution.PrimitiveSpecAttribute;
-import org.argeo.slc.core.execution.PrimitiveUtils;
 import org.argeo.slc.core.execution.PrimitiveValue;
 import org.argeo.slc.core.execution.RefSpecAttribute;
 import org.argeo.slc.core.execution.RefValue;
@@ -39,7 +39,7 @@ public class ExecutionFlowDescriptorTestUtils {
 
                Map<String, Object> values = new HashMap<String, Object>();
                values.put("primitiveInteger", new PrimitiveValue(
-                               PrimitiveUtils.TYPE_INTEGER, 100));
+                               PrimitiveAccessor.TYPE_INTEGER, 100));
 
                RefValue refValue = new RefValue("002");
                values.put("ref1", refValue);
@@ -55,7 +55,7 @@ public class ExecutionFlowDescriptorTestUtils {
                Map<String, ExecutionSpecAttribute> attributes = new HashMap<String, ExecutionSpecAttribute>();
 
                PrimitiveSpecAttribute primitiveInteger = new PrimitiveSpecAttribute();
-               primitiveInteger.setType(PrimitiveUtils.TYPE_INTEGER);
+               primitiveInteger.setType(PrimitiveAccessor.TYPE_INTEGER);
                primitiveInteger.setValue(50);
                attributes.put("primitiveInteger", primitiveInteger);