testinggtk r110 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r110 - trunk/tests
- Date: Sun, 8 Jun 2008 21:07:31 +0000 (UTC)
Author: bjornl
Date: Sun Jun 8 21:07:31 2008
New Revision: 110
URL: http://svn.gnome.org/viewvc/testinggtk?rev=110&view=rev
Log:
Test checking for style properties
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:07:31 2008
@@ -14,6 +14,15 @@
assert not combo.get_title()
assert isinstance(combo.get_popup_accessible(), atk.NoOpObject)
+def test_ensure_style_properties():
+ '''
+ Ensure that all style properties defined in the ``gtk.ComboBox``
+ class exist.
+ '''
+ combo = gtk.ComboBox()
+ for prop in 'appears-as-list', 'arrow-size', 'shadow-type':
+ combo.style_get_property(prop)
+
@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]