testinggtk r454 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r454 - trunk/tests
- Date: Wed, 26 Nov 2008 19:12:09 +0000 (UTC)
Author: bjornl
Date: Wed Nov 26 19:12:08 2008
New Revision: 454
URL: http://svn.gnome.org/viewvc/testinggtk?rev=454&view=rev
Log:
Default invisible char changed to u'\u25cf' in #83935.
Modified:
trunk/tests/test_entry.py
Modified: trunk/tests/test_entry.py
==============================================================================
--- trunk/tests/test_entry.py (original)
+++ trunk/tests/test_entry.py Wed Nov 26 19:12:08 2008
@@ -4,6 +4,9 @@
import gtk
def test_default_attributes():
+ '''
+ :bug: #83935
+ '''
entry = gtk.Entry()
assert entry.get_visibility()
assert entry.get_has_frame()
@@ -12,7 +15,7 @@
assert not entry.get_completion()
assert not entry.get_inner_border()
assert not entry.get_cursor_hadjustment()
- assert entry.get_invisible_char() == '*'
+ assert entry.get_invisible_char() == u'\u25cf'
assert entry.get_max_length() == 0
assert entry.get_width_chars() == -1
assert entry.get_text() == ''
@@ -48,8 +51,13 @@
assert entry.get_max_length() == 0
def test_set_get_invisible_char():
+ '''
+ Test getting and setting the invisible char property.
+
+ :bug: #83935
+ '''
entry = gtk.Entry()
- assert entry.get_invisible_char() == '*'
+ assert entry.get_invisible_char() == u'\u25cf'
entry.set_invisible_char('f')
assert entry.get_invisible_char() == 'f'
entry.set_invisible_char('X')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]