testinggtk r264 - trunk/tests



Author: bjornl
Date: Thu Jun 26 21:05:11 2008
New Revision: 264
URL: http://svn.gnome.org/viewvc/testinggtk?rev=264&view=rev

Log:
Test for getting/setting reorderable property

Modified:
   trunk/tests/test_treeview.py

Modified: trunk/tests/test_treeview.py
==============================================================================
--- trunk/tests/test_treeview.py	(original)
+++ trunk/tests/test_treeview.py	Thu Jun 26 21:05:11 2008
@@ -278,3 +278,12 @@
     '''
     view = gtk.TreeView()
     view.collapse_row((1, 2, 3))
+
+def test_set_get_reorderable():
+    view = gtk.TreeView()
+    assert not view.get_reorderable()
+    view.set_reorderable(True)
+    assert view.get_reorderable()
+    view.set_reorderable(False)
+    assert not view.get_reorderable()
+



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