seed r16 - trunk/tests



Author: racarr
Date: Wed Oct 22 23:39:54 2008
New Revision: 16
URL: http://svn.gnome.org/viewvc/seed?rev=16&view=rev

Log:
New tests.


Added:
   trunk/tests/compare.js
Modified:
   trunk/tests/json-constructor.js

Added: trunk/tests/compare.js
==============================================================================
--- (empty file)
+++ trunk/tests/compare.js	Wed Oct 22 23:39:54 2008
@@ -0,0 +1,15 @@
+#!/usr/local/bin/seed
+// Returns: 0
+// STDIN:
+// STDOUT:0.000000\n1.000000
+// STDERR:
+
+Seed.import_namespace("Gtk");
+Gtk.init(null, null);
+
+var a = new Gtk.Button();
+var b = new Gtk.Button();
+var c = a;
+
+Seed.print(a.equals(b));
+Seed.print(a.equals(c));

Modified: trunk/tests/json-constructor.js
==============================================================================
--- trunk/tests/json-constructor.js	(original)
+++ trunk/tests/json-constructor.js	Wed Oct 22 23:39:54 2008
@@ -4,7 +4,6 @@
 // STDOUT:JSON Win!
 // STDERR:
 
-Seed.import_namespace("Gdk");
 Seed.import_namespace("Gtk");
 Seed.import_namespace("GLib");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]