testinggtk r286 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r286 - trunk/tests
- Date: Sat, 28 Jun 2008 11:15:59 +0000 (UTC)
Author: bjornl
Date: Sat Jun 28 11:15:59 2008
New Revision: 286
URL: http://svn.gnome.org/viewvc/testinggtk?rev=286&view=rev
Log:
Test for getting/setting inverted
Modified:
trunk/tests/test_range.py
Modified: trunk/tests/test_range.py
==============================================================================
--- trunk/tests/test_range.py (original)
+++ trunk/tests/test_range.py Sat Jun 28 11:15:59 2008
@@ -28,5 +28,11 @@
gtk.Range.do_scroll_event(range, ev)
assert sig_change_value.called
-
+def test_set_get_inverted():
+ range = gtk.HScrollbar()
+ assert not range.get_inverted()
+ range.set_inverted(True)
+ assert range.get_inverted()
+ range.set_inverted(False)
+ assert not range.get_inverted()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]