Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py72 self.checkParam(widget, 'menu', menu, eq=widget_eq)
73 self.checkParam(widget, 'menu', '')
133 self.checkParam(widget, 'labelwidget', label, expected='.foo')
269 self.checkParam(widget, 'image', image, conv=str)
283 self.checkParam(widget, 'menu', menu, eq=widget_eq)
289 self.checkParam(widget, 'padx', -2, expected=0)
294 self.checkParam(widget, 'pady', -2, expected=0)
334 self.checkParam(widget, 'insertborderwidth', 60, expected=100//2)
339 self.checkParam(widget, 'insertwidth', 0.1, expected=2)
340 self.checkParam(widget, 'insertwidth', -2, expected=2)
[all …]
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py54 def checkParam(self, widget, name, value, expected=_sentinel, member in AbstractWidgetTest
100 self.checkParam(widget, name, value, **kwargs)
117 self.checkParam(widget, name, value, conv=conv, **kwargs)
125 self.checkParam(widget, name, value, expected=0)
127 self.checkParam(widget, name, value, expected=1)
144 self.checkParam(widget, name, 'none')
190 self.checkParam(widget, name, value, expected=expected,
209 self.checkParam(widget, name, image, conv=str)
215 self.checkParam(widget, name, var, conv=str)
295 self.checkParam(widget, 'bitmap', 'questhead')
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py33 self.checkParam(widget, 'padding', 0, expected=('0',))
34 self.checkParam(widget, 'padding', 5, expected=('5',))
35 self.checkParam(widget, 'padding', (5, 6), expected=('5', '6'))
36 self.checkParam(widget, 'padding', (5, 6, 7),
38 self.checkParam(widget, 'padding', (5, 6, 7, 8),
40 self.checkParam(widget, 'padding', ('5p', '6p', '7p', '8p'))
41 self.checkParam(widget, 'padding', (), expected='')
155 self.checkParam(widget, 'labelwidget', label, expected='.foo')
164 self.checkParam(widget, name, image, expected=('image1',))
165 self.checkParam(widget, name, 'image1', expected=('image1',))
[all …]