testinggtk r361 - trunk/tests



Author: bjornl
Date: Mon Aug  4 20:57:00 2008
New Revision: 361
URL: http://svn.gnome.org/viewvc/testinggtk?rev=361&view=rev

Log:
Test more default attributes

Modified:
   trunk/tests/test_notebook.py

Modified: trunk/tests/test_notebook.py
==============================================================================
--- trunk/tests/test_notebook.py	(original)
+++ trunk/tests/test_notebook.py	Mon Aug  4 20:57:00 2008
@@ -9,6 +9,12 @@
     '''
     book = gtk.Notebook()
     assert book.get_current_page() == -1
+    assert book.get_group_id() == -1
+    assert book.get_n_pages() == 0
+    assert book.get_show_border()
+    assert book.get_show_tabs()
+    assert book.get_tab_pos() == gtk.POS_TOP
+    assert not book.get_scrollable()
     assert not book.get_nth_page(33)
 
 def test_get_current_page():



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