summaryrefslogtreecommitdiffstats
path: root/embedding
diff options
context:
space:
mode:
Diffstat (limited to 'embedding')
-rw-r--r--embedding/java/src/org/uscxml/tests/invoker/factory/vxml/TestVoiceXMLInvoker.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/embedding/java/src/org/uscxml/tests/invoker/factory/vxml/TestVoiceXMLInvoker.java b/embedding/java/src/org/uscxml/tests/invoker/factory/vxml/TestVoiceXMLInvoker.java
new file mode 100644
index 0000000..4d14602
--- /dev/null
+++ b/embedding/java/src/org/uscxml/tests/invoker/factory/vxml/TestVoiceXMLInvoker.java
@@ -0,0 +1,22 @@
+package org.uscxml.tests.invoker.factory.vxml;
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.uscxml.HTTPServer;
+import org.uscxml.Interpreter;
+import org.uscxml.InterpreterException;
+
+public class TestVoiceXMLInvoker {
+
+ public static void main(String[] args) throws IOException, InterpreterException {
+ System.load("/Users/sradomski/Documents/TK/Code/uscxml/build/cli/lib/libuscxmlNativeJava64.jnilib");
+
+ HTTPServer http = HTTPServer.getInstance(5080, 5081);
+
+ URL jVoiceXMLDoc = new URL(new URL("file:"), "../../test/uscxml/test-jvoicexml.scxml");
+ Interpreter interpreter = Interpreter.fromURI(jVoiceXMLDoc);
+ interpreter.interpret();
+ }
+
+}