[Pydev-cvs] org.python.pydev/tests/org/python/pydev/editor/codecompletion PythonCompletionProcessorT
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-03-22 16:46:15
|
Update of /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22172/tests/org/python/pydev/editor/codecompletion Modified Files: PythonCompletionProcessorTest.java Log Message: sometimes was not getting globals... Index: PythonCompletionProcessorTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/codecompletion/PythonCompletionProcessorTest.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PythonCompletionProcessorTest.java 18 Mar 2005 15:32:24 -0000 1.7 --- PythonCompletionProcessorTest.java 22 Mar 2005 16:45:48 -0000 1.8 *************** *** 160,163 **** --- 160,177 ---- requestCompl(s, s.indexOf('#'), 0, new String[]{}); + + //check for builtins..1 + s = "" + + "\n" + + ""; + requestCompl(s, s.length(), -1, new String[]{"RuntimeError"}); + + //check for builtins..2 + s = "" + + "from testlib import *\n" + + "\n" + + ""; + requestCompl(s, s.length(), -1, new String[]{"RuntimeError"}); + } finally { |