From: Mathieu Baudier Date: Thu, 11 Mar 2010 08:09:05 +0000 (+0000) Subject: Centralize primitive support X-Git-Tag: argeo-slc-2.1.7~1390 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;ds=sidebyside;h=c55ac3fd75abf0913dc1203426f107c64a776732;hp=4d289f70ff0eae95c9d7c071c3251f67d62b9232;p=gpl%2Fargeo-slc.git Centralize primitive support git-svn-id: https://svn.argeo.org/slc/trunk@3427 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/unit/execution/ExecutionFlowDescriptorTestUtils.java b/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/unit/execution/ExecutionFlowDescriptorTestUtils.java index d2aaf5810..2292f941e 100644 --- a/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/unit/execution/ExecutionFlowDescriptorTestUtils.java +++ b/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/unit/execution/ExecutionFlowDescriptorTestUtils.java @@ -6,6 +6,7 @@ import java.util.Map; import org.argeo.slc.core.execution.DefaultExecutionSpec; 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; @@ -22,7 +23,7 @@ public class ExecutionFlowDescriptorTestUtils { Map values = new HashMap(); values.put("primitiveInteger", new PrimitiveValue( - PrimitiveSpecAttribute.TYPE_INTEGER, 100)); + PrimitiveUtils.TYPE_INTEGER, 100)); RefValue refValue = new RefValue("002"); values.put("ref1", refValue); @@ -38,7 +39,7 @@ public class ExecutionFlowDescriptorTestUtils { Map attributes = new HashMap(); PrimitiveSpecAttribute primitiveInteger = new PrimitiveSpecAttribute(); - primitiveInteger.setType(PrimitiveSpecAttribute.TYPE_INTEGER); + primitiveInteger.setType(PrimitiveUtils.TYPE_INTEGER); primitiveInteger.setValue(50); attributes.put("primitiveInteger", primitiveInteger);