testinggtk r241 - trunk/tests/gladetests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r241 - trunk/tests/gladetests
- Date: Wed, 25 Jun 2008 20:42:34 +0000 (UTC)
Author: bjornl
Date: Wed Jun 25 20:42:34 2008
New Revision: 241
URL: http://svn.gnome.org/viewvc/testinggtk?rev=241&view=rev
Log:
New package for tests for gtk.glade
Added:
trunk/tests/gladetests/
trunk/tests/gladetests/__init__.py
Added: trunk/tests/gladetests/__init__.py
==============================================================================
--- (empty file)
+++ trunk/tests/gladetests/__init__.py Wed Jun 25 20:42:34 2008
@@ -0,0 +1,18 @@
+'''
+Tests for the ``gtk.glade`` package.
+'''
+from gtk import glade
+
+def test_new_widget_not_embedded_in_glade_interface():
+ '''
+ Tests what happens when you attempt to load a widget string that
+ is not embedded in a <glade-interface> tag.
+
+ Disabled due to segfault.
+
+ :bug: #540217
+ '''
+ xml = '''
+ <widget class="GtkComboBox" id="foo"></widget>
+ '''
+ glade.xml_new_from_buffer(xml, len(xml))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]