Thread: [Pydev-cvs] org.python.pydev/tests/org/python/pydev/plugin/nature SaveFileWithoutNatureTestWorkbenc
Brought to you by:
fabioz
Update of /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/plugin/nature In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8061/tests/org/python/pydev/plugin/nature Modified Files: SaveFileWithoutNatureTestWorkbench.java PythonNatureStoreTest.java ProjectImportedHasAstManagerTestWorkbench.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: SaveFileWithoutNatureTestWorkbench.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/plugin/nature/SaveFileWithoutNatureTestWorkbench.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SaveFileWithoutNatureTestWorkbench.java 6 Aug 2008 16:23:19 -0000 1.2 --- SaveFileWithoutNatureTestWorkbench.java 13 Aug 2008 21:12:15 -0000 1.3 *************** *** 9,19 **** import org.python.pydev.core.REF; import org.python.pydev.editor.PyEdit; ! import org.python.pydev.editor.codecompletion.revisited.javaintegration.AbstractJavaIntegrationTestWorkbench; import org.python.pydev.editorinput.PyOpenEditor; ! public class SaveFileWithoutNatureTestWorkbench extends AbstractJavaIntegrationTestWorkbench{ protected void setUp() throws Exception { //no setup (because we won't have the nature in this test) } --- 9,20 ---- import org.python.pydev.core.REF; import org.python.pydev.editor.PyEdit; ! import org.python.pydev.editor.codecompletion.revisited.javaintegration.AbstractWorkbenchTestCase; import org.python.pydev.editorinput.PyOpenEditor; ! public class SaveFileWithoutNatureTestWorkbench extends AbstractWorkbenchTestCase{ protected void setUp() throws Exception { //no setup (because we won't have the nature in this test) + closeWelcomeView(); } Index: PythonNatureStoreTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/plugin/nature/PythonNatureStoreTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PythonNatureStoreTest.java 8 Aug 2007 00:31:09 -0000 1.5 --- PythonNatureStoreTest.java 13 Aug 2008 21:12:15 -0000 1.6 *************** *** 62,66 **** public void testLoad() throws Exception { ! IPythonNatureStore store = new PythonNatureStore(); ProjectStub2 projectStub2 = new ProjectStub2("test"); --- 62,66 ---- public void testLoad() throws Exception { ! PythonNatureStore store = new PythonNatureStore(); ProjectStub2 projectStub2 = new ProjectStub2("test"); *************** *** 69,74 **** //check the contents ! assertEquals(true, projectStub2.fileStub.created); ! String strContents = projectStub2.fileStub.getStrContents(); PySelectionTest.checkStrEquals(contents1, strContents.replaceFirst(" standalone=\"no\"", "")); //depending on the java version, standalone="no" may be generated --- 69,73 ---- //check the contents ! String strContents = store.getLastLoadedContents(); PySelectionTest.checkStrEquals(contents1, strContents.replaceFirst(" standalone=\"no\"", "")); //depending on the java version, standalone="no" may be generated *************** *** 78,82 **** assertEquals("/test/foo|/bar/kkk", store.getPathProperty(PythonPathNature.getProjectSourcePathQualifiedName())); ! strContents = projectStub2.fileStub.getStrContents(); PySelectionTest.checkStrEquals(contents2, strContents.replaceFirst(" standalone=\"no\"", "")); //depending on the java version, standalone="no" may be generated assertEquals("", store.getPathProperty(PythonPathNature.getProjectExternalSourcePathQualifiedName())); --- 77,81 ---- assertEquals("/test/foo|/bar/kkk", store.getPathProperty(PythonPathNature.getProjectSourcePathQualifiedName())); ! strContents = store.getLastLoadedContents(); PySelectionTest.checkStrEquals(contents2, strContents.replaceFirst(" standalone=\"no\"", "")); //depending on the java version, standalone="no" may be generated assertEquals("", store.getPathProperty(PythonPathNature.getProjectExternalSourcePathQualifiedName())); Index: ProjectImportedHasAstManagerTestWorkbench.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/plugin/nature/ProjectImportedHasAstManagerTestWorkbench.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ProjectImportedHasAstManagerTestWorkbench.java 31 Jul 2008 01:47:36 -0000 1.1 --- ProjectImportedHasAstManagerTestWorkbench.java 13 Aug 2008 21:12:15 -0000 1.2 *************** *** 18,27 **** import org.python.pydev.core.REF; import org.python.pydev.editor.codecompletion.revisited.PythonPathHelper; ! import org.python.pydev.editor.codecompletion.revisited.javaintegration.AbstractJavaIntegrationTestWorkbench; ! public class ProjectImportedHasAstManagerTestWorkbench extends AbstractJavaIntegrationTestWorkbench{ protected void setUp() throws Exception { //no setup (because we won't have the nature in this test) } --- 18,28 ---- import org.python.pydev.core.REF; import org.python.pydev.editor.codecompletion.revisited.PythonPathHelper; ! import org.python.pydev.editor.codecompletion.revisited.javaintegration.AbstractWorkbenchTestCase; ! public class ProjectImportedHasAstManagerTestWorkbench extends AbstractWorkbenchTestCase{ protected void setUp() throws Exception { //no setup (because we won't have the nature in this test) + closeWelcomeView(); } |