Home
last modified time | relevance | path

Searched refs:showerror (Results 1 – 25 of 47) sorted by relevance

12

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_config_name.py25 showerror = Mbox.showerror variable
41 self.assertEqual(showerror.title, 'Name Error')
42 self.assertIn('No', showerror.message)
47 self.assertEqual(showerror.title, 'Name Error')
48 self.assertIn('use', showerror.message)
53 self.assertEqual(showerror.title, 'Name Error')
54 self.assertIn('too long', showerror.message)
58 showerror.title = 'No Error' # should not be called
60 self.assertEqual(showerror.title, 'No Error')
Dtest_searchengine.py180 self.assertEqual(Mbox.showerror.message,
184 showerror = Mbox.showerror
190 Equal(showerror.title, 'Regular expression error')
192 Equal(showerror.message, expected_message)
195 Equal(showerror.title, 'Regular expression error')
197 Equal(showerror.message, expected_message)
Dtest_helpabout.py44 self.mbox.showerror.message = ''
47 self.assertEqual(self.mbox.showerror.message, '')
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_replace.py14 showerror = Mbox.showerror variable
51 showerror.title = ''
52 showerror.message = ''
208 self.assertIn('error', showerror.title)
209 self.assertIn('Empty', showerror.message)
213 self.assertIn('error', showerror.title)
214 self.assertIn('Pattern', showerror.message)
216 showerror.title = ''
217 showerror.message = ''
221 self.assertIn('error', showerror.title)
[all …]
Dtest_config_key.py29 showerror = Mbox_func() variable in ValidationTest.Validator
48 self.dialog.showerror.message = ''
56 self.assertEqual(self.dialog.showerror.message, 'No key specified.')
63 self.assertEqual(self.dialog.showerror.message, '')
67 self.assertIn('Missing the final', self.dialog.showerror.message)
72 self.assertIn('No modifier', self.dialog.showerror.message)
77 self.assertEqual(self.dialog.showerror.message, '')
83 self.assertIn('shift modifier', self.dialog.showerror.message)
94 self.assertIn('already in use', self.dialog.showerror.message)
99 self.assertEqual(self.dialog.showerror.message, '')
[all …]
Dtest_textview.py97 cls.orig_error = tv.showerror
98 tv.showerror = Mbox_func()
102 tv.showerror = cls.orig_error
123 self.assertEqual(tv.showerror.title, 'File Load Error')
130 self.assertEqual(tv.showerror.title, 'Unicode Decode Error')
Dtest_searchengine.py181 self.assertEqual(Mbox.showerror.message,
185 showerror = Mbox.showerror
191 Equal(showerror.title, 'Regular expression error')
193 Equal(showerror.message, expected_message)
196 Equal(showerror.title, 'Regular expression error')
198 Equal(showerror.message, expected_message)
Dtest_outwin.py117 showerror = w.showerror = Mbox_func()
123 eq(showerror.title, 'No special line')
138 del w.flist.gotofileline, w.showerror
Dtest_help_about.py157 cls.orig_error = textview.showerror
161 textview.showerror = cls.error
166 textview.showerror = cls.orig_error
Dtest_query.py40 def showerror(self, message): member in QueryTest.Dummy_Query
88 def showerror(self, message): member in SectionNameTest.Dummy_SectionName
123 def showerror(self, message): member in ModuleNameTest.Dummy_ModuleName
186 def showerror(self, message, widget=None): member in HelpsourcePathokTest.Dummy_HelpSource
/external/python/cpython3/Lib/idlelib/
Dquery.py114 def showerror(self, message, widget=None): member in Query
123 self.showerror('blank line.')
164 self.showerror('no name specified.')
167 self.showerror('name is longer than 30 characters.')
170 self.showerror('name is already in use.')
189 self.showerror('no name specified.')
195 self.showerror(str(msg))
198 self.showerror("module not found")
201 self.showerror("not a source-based module")
206 self.showerror("loader does not support get_filename",
[all …]
Dconfig_key.py96 def showerror(self, *args, **kwargs): member in GetKeysDialog
98 messagebox.showerror(*args, **kwargs)
261 self.showerror(title=self.keyerror_title, parent=self,
286 self.showerror(title, parent=self,
290 self.showerror(title=title, parent=self,
297 self.showerror(title=title, parent=self, message=msg)
300 self.showerror(title=title, parent=self, message=msg)
310 self.showerror(
Doutwin.py129 def showerror(self, *args, **kwargs): member in OutputWindow
130 messagebox.showerror(*args, **kwargs)
150 self.showerror(
Dtextview.py7 from tkinter.messagebox import showerror
157 showerror(title='File Load Error',
161 showerror(title='Unicode Decode Error',
Diomenu.py226 tkMessageBox.showerror("I/O Error", str(msg), parent=self.text)
230 tkMessageBox.showerror("Decoding Error",
271 tkMessageBox.showerror(
389 tkMessageBox.showerror("I/O Error", str(msg),
424 tkMessageBox.showerror(
479 tkMessageBox.showerror("Print status", output, parent=self.text)
Dfilelist.py23 tkMessageBox.showerror(
91 tkMessageBox.showerror(
/external/python/cpython2/Lib/idlelib/
DconfigSectionNameDialog.py67 tkMessageBox.showerror(title='Name Error',
70 tkMessageBox.showerror(title='Name Error',
75 tkMessageBox.showerror(title='Name Error',
DconfigHelpSourceEdit.py108 tkMessageBox.showerror(title='Menu Item Error',
114 tkMessageBox.showerror(title='Menu Item Error',
128 tkMessageBox.showerror(title='File Path Error',
139 tkMessageBox.showerror(title='File Path Error',
DkeybindingDialog.py244 tkMessageBox.showerror(title=title, parent=self,
247 tkMessageBox.showerror(title=title, parent=self,
251 tkMessageBox.showerror(title=title, parent=self,
258 tkMessageBox.showerror(title=title, parent=self, message=msg)
261 tkMessageBox.showerror(title=title, parent=self, message=msg)
DIOBinding.py253 tkMessageBox.showerror("I/O Error", str(msg), parent=self.text)
296 tkMessageBox.showerror(
388 tkMessageBox.showerror("I/O Error", str(msg),
416 tkMessageBox.showerror(
428 tkMessageBox.showerror(
513 tkMessageBox.showerror("Print status", output, parent=self.text)
DFileList.py22 tkMessageBox.showerror(
85 tkMessageBox.showerror(
DtextView.py82 tkMessageBox.showerror(title='File Load Error',
86 showerror(title='Unicode Decode Error',
/external/python/cpython3/Lib/tkinter/
Dmessagebox.py89 def showerror(title=None, message=None, **options): function
129 print("error", showerror("Spam", "Egg Alert"))
/external/python/cpython2/Lib/lib-tk/
DtkMessageBox.py89 def showerror(title=None, message=None, **options): function
129 print "error", showerror("Spam", "Egg Alert")
/external/curl/src/
Dtool_main.c149 config->showerror = -1; /* Will show errors */ in main_init()
329 if(global.showerror) in main()

12