testinggtk r109 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r109 - trunk/tests
- Date: Sun, 8 Jun 2008 21:05:32 +0000 (UTC)
Author: bjornl
Date: Sun Jun 8 21:05:32 2008
New Revision: 109
URL: http://svn.gnome.org/viewvc/testinggtk?rev=109&view=rev
Log:
More checks for default attributes
Modified:
trunk/tests/test_combobox.py
Modified: trunk/tests/test_combobox.py
==============================================================================
--- trunk/tests/test_combobox.py (original)
+++ trunk/tests/test_combobox.py Sun Jun 8 21:05:32 2008
@@ -1,3 +1,4 @@
+import atk
import gtk
import utils
@@ -6,9 +7,12 @@
'''
def test_default_attributes():
combo = gtk.ComboBox()
+ assert combo.get_wrap_width() == 0
assert combo.get_active() == -1
assert not combo.get_active_iter()
assert not combo.get_model()
+ assert not combo.get_title()
+ assert isinstance(combo.get_popup_accessible(), atk.NoOpObject)
@utils.pass_on_warnings
def test_get_active_text_without_model():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]