testinggtk r415 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r415 - trunk/tests
- Date: Mon, 8 Sep 2008 10:58:01 +0000 (UTC)
Author: bjornl
Date: Mon Sep 8 10:58:01 2008
New Revision: 415
URL: http://svn.gnome.org/viewvc/testinggtk?rev=415&view=rev
Log:
Test for 377699, gtk.Progress is abstract
Modified:
trunk/tests/test_progress.py
Modified: trunk/tests/test_progress.py
==============================================================================
--- trunk/tests/test_progress.py (original)
+++ trunk/tests/test_progress.py Mon Sep 8 10:58:01 2008
@@ -2,6 +2,7 @@
Test for the deprecated ``gtk.Progress`` class.
'''
import gtk
+import utils
def test_format_string_overflow():
'''
@@ -14,3 +15,18 @@
# pg = gtk.Progress()
# pg.set_format_string('e' * 10000)
# pg.get_current_text()
+
+ utils pass_on_warnings
+def test_realizing_progress():
+ '''
+ Ensure that attempting to realize a ``gtk.Progress`` produces a
+ warning.
+
+ Disabled due to segfault
+
+ :bug: #377699
+ '''
+ pg = gtk.Progress()
+ win = gtk.Window()
+ win.add(pg)
+ pg.realize()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]