]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/execution/xml/FlowNamespaceTest.java
Complete implementation of flow namespace + unit tests
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / test / java / org / argeo / slc / core / execution / xml / FlowNamespaceTest.java
diff --git a/runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/execution/xml/FlowNamespaceTest.java b/runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/execution/xml/FlowNamespaceTest.java
new file mode 100644 (file)
index 0000000..119a1e5
--- /dev/null
@@ -0,0 +1,13 @@
+package org.argeo.slc.core.execution.xml;
+
+import org.argeo.slc.core.execution.AbstractExecutionFlowTestCase;
+import org.argeo.slc.execution.ExecutionFlow;
+import org.springframework.context.ConfigurableApplicationContext;
+
+public class FlowNamespaceTest extends AbstractExecutionFlowTestCase {
+       public void testCanonical() throws Exception {
+               ConfigurableApplicationContext applicationContext = createApplicationContext("canonic-ns.xml");
+               ((ExecutionFlow) applicationContext.getBean("canonic-ns.001")).run();
+               ((ExecutionFlow) applicationContext.getBean("canonic-ns.002")).run();
+       }
+}