testinggtk r232 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r232 - trunk/tests
- Date: Mon, 23 Jun 2008 19:16:35 +0000 (UTC)
Author: bjornl
Date: Mon Jun 23 19:16:34 2008
New Revision: 232
URL: http://svn.gnome.org/viewvc/testinggtk?rev=232&view=rev
Log:
Test for infinite loop
Modified:
trunk/tests/test_hbox.py
Modified: trunk/tests/test_hbox.py
==============================================================================
--- trunk/tests/test_hbox.py (original)
+++ trunk/tests/test_hbox.py Mon Jun 23 19:16:34 2008
@@ -14,3 +14,18 @@
label = gtk.Label('hi')
hbox.add(label)
hbox.add(label)
+
+ utils pass_on_warnings
+def test_hbox_looping():
+ '''
+ A ``GtkWarning`` should be printed when you attempt to add an item
+ to a container that is already an ancestor of that container.
+
+ Disabled due to infinite loop.
+
+ :bug: #539807
+ '''
+ # hbox1 = gtk.HBox()
+ # hbox2 = gtk.HBox()
+ # hbox1.add(hbox2)
+ # hbox2.add(hbox1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]