testinggtk r383 - trunk/tests



Author: bjornl
Date: Sat Aug 23 16:00:06 2008
New Revision: 383
URL: http://svn.gnome.org/viewvc/testinggtk?rev=383&view=rev

Log:
Test for the SELECTION_* constants

Modified:
   trunk/tests/__init__.py

Modified: trunk/tests/__init__.py
==============================================================================
--- trunk/tests/__init__.py	(original)
+++ trunk/tests/__init__.py	Sat Aug 23 16:00:06 2008
@@ -78,6 +78,13 @@
     assert hasattr(gtk, 'ORIENTATION_HORIZONTAL')
     assert hasattr(gtk, 'ORIENTATION_VERTICAL')
 
+def test_list_selection_enum():
+    assert hasattr(gtk, 'SELECTION_NONE')
+    assert hasattr(gtk, 'SELECTION_SINGLE')
+    assert hasattr(gtk, 'SELECTION_BROWSE')
+    assert hasattr(gtk, 'SELECTION_MULTIPLE')
+    assert hasattr(gtk, 'SELECTION_EXTENDED')
+
 def test_list_ui_manager_toplevels():
     assert hasattr(gtk, 'UI_MANAGER_MENUBAR')
     assert hasattr(gtk, 'UI_MANAGER_TOOLBAR')



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