[Pydev-cvs] org.python.pydev/tests/org/python/pydev/editor/codecompletion PythonCompletionTestWithou
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-01-16 18:38:09
|
Update of /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3849/tests/org/python/pydev/editor/codecompletion Modified Files: PythonCompletionTestWithoutBuiltins.java Log Message: Index: PythonCompletionTestWithoutBuiltins.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/codecompletion/PythonCompletionTestWithoutBuiltins.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** PythonCompletionTestWithoutBuiltins.java 15 Jan 2006 00:25:10 -0000 1.16 --- PythonCompletionTestWithoutBuiltins.java 16 Jan 2006 18:37:57 -0000 1.17 *************** *** 31,35 **** PythonCompletionTestWithoutBuiltins test = new PythonCompletionTestWithoutBuiltins(); test.setUp(); ! test.testNestedImports(); test.tearDown(); System.out.println("Finished"); --- 31,35 ---- PythonCompletionTestWithoutBuiltins test = new PythonCompletionTestWithoutBuiltins(); test.setUp(); ! test.testInnerCtxt(); test.tearDown(); System.out.println("Finished"); *************** *** 153,156 **** --- 153,170 ---- + public void testInnerCtxt() throws CoreException, BadLocationException{ + String s; + s = "" + + "class Test:\n"+ + " def findIt(self):\n"+ + " pass\n"+ + " \n"+ + "def m1():\n"+ + " s = Test()\n"+ + " s."; + requestCompl(s, s.length(), -1, new String[] { "findIt()"}); + } + + public void testSelfReferenceWithTabs2() throws CoreException, BadLocationException{ String s; |