[Pydev-cvs] org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion PythonComple
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-08-13 21:12:13
|
Update of /cvsroot/pydev/org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8061/tests_completions/org/python/pydev/editor/codecompletion Modified Files: PythonCompletionWithoutBuiltinsTest.java Log Message: Synching from mercurial: - Pydev debugger watch working in eclipse 3.4 - Pydev debugger breakpoint properties accept new lines and tabs - Incremental find backspace works correctly - Interactive console Fixed problem when more attempts to connect were needed - Launch icons: Transparent background (thanks to Radim Kubacki) - Creating workbench test for debugger Index: PythonCompletionWithoutBuiltinsTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion/PythonCompletionWithoutBuiltinsTest.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** PythonCompletionWithoutBuiltinsTest.java 10 May 2008 00:45:30 -0000 1.20 --- PythonCompletionWithoutBuiltinsTest.java 13 Aug 2008 21:12:17 -0000 1.21 *************** *** 41,45 **** PythonCompletionWithoutBuiltinsTest test = new PythonCompletionWithoutBuiltinsTest(); test.setUp(); ! test.testRelativeImportWithSubclass(); test.tearDown(); System.out.println("Finished"); --- 41,45 ---- PythonCompletionWithoutBuiltinsTest test = new PythonCompletionWithoutBuiltinsTest(); test.setUp(); ! test.testClsCompletion(); test.tearDown(); System.out.println("Finished"); *************** *** 1084,1089 **** " pass\n" + " F"; //request at the Bar context ! ! requestCompl(s, new String[] {"Foo"}); } --- 1084,1092 ---- " pass\n" + " F"; //request at the Bar context ! try{ ! requestCompl(s, new String[] {"Foo"}); ! }catch(Throwable e){ ! fail("Expected to fail!"); ! } } *************** *** 1102,1105 **** --- 1105,1120 ---- + public void testClsCompletion() throws Exception { + String s = + "class myclass(object):\n" + + " def mymethod(self, hello):\n" + + " print hello\n" + + "cls = myclass()\n" + + "cls.m"; + + requestCompl(s, new String[] {"mymethod(hello)"}); + } + + } |