seed r86 - trunk/tests



Author: racarr
Date: Mon Nov  3 10:38:31 2008
New Revision: 86
URL: http://svn.gnome.org/viewvc/seed?rev=86&view=rev

Log:
Add a test case for the previous commit.


Added:
   trunk/tests/property-glib-exception.js   (contents, props changed)

Added: trunk/tests/property-glib-exception.js
==============================================================================
--- (empty file)
+++ trunk/tests/property-glib-exception.js	Mon Nov  3 10:38:31 2008
@@ -0,0 +1,11 @@
+#!/usr/local/bin/seed
+// Returns: 0
+// STDIN:
+// STDOUT:
+// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: PropertyError. value "3.000000" of type `gdouble' is invalid or out of range for property `opacity' of type `gdouble' in ./property-glib-exception.js at line 10
+
+Seed.import_namespace("Gtk");
+Gtk.init(null, null);
+
+window = new Gtk.Window();
+window.opacity = 3;



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