From c55ac3fd75abf0913dc1203426f107c64a776732 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Thu, 11 Mar 2010 08:09:05 +0000 Subject: [PATCH] Centralize primitive support git-svn-id: https://svn.argeo.org/slc/trunk@3427 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../slc/unit/execution/ExecutionFlowDescriptorTestUtils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.39.2