X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2FGirTest.vala;h=58fd5f6b8d847f61915c73d06b7254bf1686407f;hb=1d79b1ff5104e472a8ec07cf9671f2a7d99c8739;hp=8c4d7f4ff50389825629098c668bf7c18c40a0c9;hpb=414c22a6dc25b53061368300ab9613ad737d772e;p=app.Builder.js diff --git a/tests/GirTest.vala b/tests/GirTest.vala index 8c4d7f4ff..58fd5f6b8 100644 --- a/tests/GirTest.vala +++ b/tests/GirTest.vala @@ -1,6 +1,17 @@ int main (string[] args) { Gtk.init (ref args); + + + // test the gir location code.. + + var context = new Vala.CodeContext (); + Vala.CodeContext.push (context); + + + + print(context.get_vapi_path("glib-2.0")); + //GtkClutter.init (ref args); new JsRender.Lang_Class(); GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL); @@ -20,7 +31,7 @@ int main (string[] args) { print(generator.to_data(null)); - + /* test = Palete.Gir.factoryFqn(test.fqtype()); n = new Json.Node(Json.NodeType.OBJECT); @@ -29,7 +40,7 @@ int main (string[] args) { print(generator.to_data(null)); - + */ return 0; }