testinggtk r173 - trunk/tests/gobject



Author: bjornl
Date: Fri Jun 20 23:44:32 2008
New Revision: 173
URL: http://svn.gnome.org/viewvc/testinggtk?rev=173&view=rev

Log:
Silly test for enum properties

Modified:
   trunk/tests/gobject/__init__.py

Modified: trunk/tests/gobject/__init__.py
==============================================================================
--- trunk/tests/gobject/__init__.py	(original)
+++ trunk/tests/gobject/__init__.py	Fri Jun 20 23:44:32 2008
@@ -16,6 +16,13 @@
     obj.set_property('prop1', 100)
     assert obj.get_property('prop1') == 100
 
+def test_install_enum_property():
+    '''
+    :bug: #539355
+    '''
+    class MySub(gobject.GObject):
+        prop = gobject.property(type = gobject.TYPE_ENUM)
+
 def test_list_types():
     '''
     Ensure that all required object types are defined in the gobject



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