seed r373 - in trunk: . examples tests
- From: hortont svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r373 - in trunk: . examples tests
- Date: Sun, 30 Nov 2008 05:23:25 +0000 (UTC)
Author: hortont
Date: Sun Nov 30 05:23:25 2008
New Revision: 373
URL: http://svn.gnome.org/viewvc/seed?rev=373&view=rev
Log:
Seed.introspect test; update automake files to include robb's new glib
examples, my tests, etc.
Added:
trunk/tests/introspect.js (contents, props changed)
Modified:
trunk/configure.ac
trunk/examples/Makefile.am
trunk/tests/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Sun Nov 30 05:23:25 2008
@@ -108,6 +108,7 @@
examples/ide/Makefile
examples/lightsoff/Makefile
examples/clutter-shader/Makefile
+examples/glib/Makefile
modules/Makefile
modules/example/Makefile
modules/sqlite/Makefile
Modified: trunk/examples/Makefile.am
==============================================================================
--- trunk/examples/Makefile.am (original)
+++ trunk/examples/Makefile.am Sun Nov 30 05:23:25 2008
@@ -1,6 +1,7 @@
SUBDIRS = ide \
lightsoff \
- clutter-shader
+ clutter-shader \
+ glib
examplesdir=$(datadir)/doc/seed/examples
examples_DATA = \
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Sun Nov 30 05:23:25 2008
@@ -39,6 +39,10 @@
gdk-event.js \
signal-connect.js \
struct-functions.js \
+ check-syntax.js \
+ fork.js \
+ quit.js \
+ introspect.js \
make-test.py
Added: trunk/tests/introspect.js
==============================================================================
--- (empty file)
+++ trunk/tests/introspect.js Sun Nov 30 05:23:25 2008
@@ -0,0 +1,10 @@
+#!/usr/bin/env seed
+// Returns: 0
+// STDIN:
+// STDOUT:\{"name":"set_opacity","return_type":"void","args":\{"0":\{"type":"double"\}\}\}
+// STDERR:
+
+Seed.import_namespace("Gtk");
+Gtk.init(null, null);
+win = new Gtk.Window();
+Seed.print(JSON.stringify(Seed.introspect(win.set_opacity)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]