[Pydev-cvs] org.python.pydev/tests/org/python/pydev/editor/codecompletion PythonCompletionProcessorT
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-06-16 15:04:37
|
Update of /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31519/tests/org/python/pydev/editor/codecompletion Modified Files: PythonCompletionProcessorTest.java Log Message: added test for loop error Index: PythonCompletionProcessorTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/codecompletion/PythonCompletionProcessorTest.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** PythonCompletionProcessorTest.java 25 May 2005 13:48:23 -0000 1.13 --- PythonCompletionProcessorTest.java 16 Jun 2005 15:04:14 -0000 1.14 *************** *** 34,38 **** // test.testSelfReference(); // test.testCompleteImportCompletion(); ! test.testCompleteImportBuiltin(); test.tearDown(); } catch (Exception e) { --- 34,39 ---- // test.testSelfReference(); // test.testCompleteImportCompletion(); ! // test.testCompleteImportBuiltin(); ! test.testFor(); test.tearDown(); } catch (Exception e) { *************** *** 316,319 **** --- 317,334 ---- } + /** + * @throws BadLocationException + * @throws CoreException + * + */ + public void testFor() throws CoreException, BadLocationException { + String s; + s = "" + + "for event in a: \n" + + " print event \n" + + " \n" + + "event."; + requestCompl(s, s.length(), -1, new String[] {}); + } } |