[Pydev-cvs] org.python.pydev/tests/org/python/pydev/editor/actions PySelectionTest.java, 1.31, 1.32
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2007-05-31 17:59:01
|
Update of /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16670/tests/org/python/pydev/editor/actions Modified Files: PySelectionTest.java Log Message: Index: PySelectionTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/actions/PySelectionTest.java,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** PySelectionTest.java 26 May 2007 12:53:05 -0000 1.31 --- PySelectionTest.java 31 May 2007 17:58:58 -0000 1.32 *************** *** 33,37 **** PySelectionTest test = new PySelectionTest(); test.setUp(); ! test.testImportLine9(); test.tearDown(); --- 33,37 ---- PySelectionTest test = new PySelectionTest(); test.setUp(); ! test.testImportLine10(); test.tearDown(); *************** *** 223,226 **** --- 223,240 ---- } + public void testImportLine10() { + String strDoc = "" + + "from coilib40 import unittest\n"+ + "from plugins10.plugins.editorsstack import (\n"+ + " EditorsStackDock )\n"+ + "#we want it to appear in this line\n"+ + "def m1():\n"+ + " testca\n"+ + "\n"; + Document document = new Document(strDoc); + PySelection selection = new PySelection(document); + assertEquals(3, selection.getLineAvailableForImport()); + } + public void testSelectAll() { |