Home
last modified time | relevance | path

Searched refs:checkInvalidParam (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py76 def checkInvalidParam(self, widget, name, value, errmsg=None, member in AbstractWidgetTest
104 self.checkInvalidParam(widget, name, '',
106 self.checkInvalidParam(widget, name, '10p',
108 self.checkInvalidParam(widget, name, 3.2,
118 self.checkInvalidParam(widget, name, '',
120 self.checkInvalidParam(widget, name, 'spam',
128 self.checkInvalidParam(widget, name, '',
130 self.checkInvalidParam(widget, name, 'spam',
138 self.checkInvalidParam(widget, name, 'spam',
145 self.checkInvalidParam(widget, name, 'spam',
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py26 self.checkInvalidParam(widget, 'class', 'Foo',
34 self.checkInvalidParam(widget, 'colormap', 'new',
42 self.checkInvalidParam(widget, 'container', 1,
50 self.checkInvalidParam(widget, 'visual', 'default',
82 self.checkInvalidParam(widget, 'screen', display,
128 self.checkInvalidParam(widget, 'labelanchor', 'center')
423 self.checkInvalidParam(widget, 'format', '%2e-1f')
424 self.checkInvalidParam(widget, 'format', '2.2')
425 self.checkInvalidParam(widget, 'format', '%2.-2f')
430 self.checkInvalidParam(widget, 'format', '%d')
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py27 self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg)
50 self.checkInvalidParam(widget, 'style', 'Foo',
150 self.checkInvalidParam(widget, 'labelanchor', 'center')
171 self.checkInvalidParam(widget, name, 'spam',
558 self.checkInvalidParam(widget, 'orient', 'horizontal',
1141 self.checkInvalidParam(widget, 'displaycolumns', ('a', 'b', 'd'),
1143 self.checkInvalidParam(widget, 'displaycolumns', (1, 2, 3),
1145 self.checkInvalidParam(widget, 'displaycolumns', (1, -2),