tests/JsCoreExecTest.vala
authorAlan Knowles <alan@roojs.com>
Wed, 18 Mar 2015 09:53:32 +0000 (17:53 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Mar 2015 09:53:32 +0000 (17:53 +0800)
tests/JsCoreExecTest.vala [new file with mode: 0644]

diff --git a/tests/JsCoreExecTest.vala b/tests/JsCoreExecTest.vala
new file mode 100644 (file)
index 0000000..7c468cb
--- /dev/null
@@ -0,0 +1,11 @@
+
+int main (string[] args) {
+        var js = Javascript.singleton();
+        js.executeFile("/home/alan/gitlive/app.Builder.js/tests/hello.js", 
+                       "hello", "{}");
+         
+       
+       return 0;
+}