testinggtk r223 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r223 - trunk/tests
- Date: Sun, 22 Jun 2008 03:01:39 +0000 (UTC)
Author: bjornl
Date: Sun Jun 22 03:01:39 2008
New Revision: 223
URL: http://svn.gnome.org/viewvc/testinggtk?rev=223&view=rev
Log:
Tests for the gtk.EntryCompletion class
Added:
trunk/tests/test_entrycompletion.py
Added: trunk/tests/test_entrycompletion.py
==============================================================================
--- (empty file)
+++ trunk/tests/test_entrycompletion.py Sun Jun 22 03:01:39 2008
@@ -0,0 +1,15 @@
+'''
+Tests for the gtk.EntryCompletion class.
+'''
+import gtk
+
+def test_default_attributes():
+ ec = gtk.EntryCompletion()
+ assert ec.get_popup_set_width()
+ assert ec.get_popup_completion()
+ assert ec.get_popup_single_match()
+ assert not ec.get_entry()
+ assert not ec.get_model()
+ assert not ec.get_inline_completion()
+ assert not ec.get_inline_selection()
+ assert ec.get_text_column() == -1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]