[Pydev-cvs] org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage XmlRpcTest.java, 1.4,
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-09-27 20:00:14
|
Update of /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20604/tests/org/python/pydev/debug/codecoverage Modified Files: XmlRpcTest.java CoverageCacheTest.java Log Message: Synching to latest changes: Pydev <ul> <li><strong>Editor</strong>: Cursor settings no longer overridden</li> <li><strong>Code-completion</strong>: If __all__ is defined with runtime elements (and not only in a single assign statement), it's ignored for code-completion purposes</li> <li><strong>Debugger</strong>: Pythonpath the same in debug and regular modes (sys.path[0] is the same directory as the file run)</li> <li><strong>Debugger</strong>: Persist choices done in the debugger when files from the debugger are not found</li> <li><strong>Interpreter config</strong>: "email" automatically added to the "forced builtins"</li> <li><strong>Parser</strong>: Correctly recognizing absolute import with 3 or more levels</li> <li><strong>Syntax check</strong>: Option to do only on active editor</li> </ul> Also: tabs changed for spaces Index: CoverageCacheTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage/CoverageCacheTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CoverageCacheTest.java 13 Aug 2008 21:12:24 -0000 1.5 --- CoverageCacheTest.java 27 Sep 2008 19:59:07 -0000 1.6 *************** *** 76,89 **** String statistics = cache.getStatistics(folder1); assertEquals("" + ! "Name Stmts Exec Cover Missing\n" + ! "-----------------------------------------------------------------------------\n" + ! " b 20 10 50% 6-10\n" + ! " c 22 10 45,5% 6-10\n" + ! " d 24 10 41,7% 6-10\n" + ! " e 26 10 38,5% 6-10\n" + ! ".. ggggggggggggggggggggggggggggggggggggg 28 10 35,7% 6-10\n" + ! "-----------------------------------------------------------------------------\n" + ! " TOTAL 120 50 41,7% \n" + ! "", statistics); } --- 76,89 ---- String statistics = cache.getStatistics(folder1); assertEquals("" + ! "Name Stmts Exec Cover Missing\n" + ! "-----------------------------------------------------------------------------\n" + ! " b 20 10 50% 6-10\n" + ! " c 22 10 45,5% 6-10\n" + ! " d 24 10 41,7% 6-10\n" + ! " e 26 10 38,5% 6-10\n" + ! ".. ggggggggggggggggggggggggggggggggggggg 28 10 35,7% 6-10\n" + ! "-----------------------------------------------------------------------------\n" + ! " TOTAL 120 50 41,7% \n" + ! "", statistics); } Index: XmlRpcTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage/XmlRpcTest.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** XmlRpcTest.java 13 Aug 2008 21:12:24 -0000 1.4 --- XmlRpcTest.java 27 Sep 2008 19:59:07 -0000 1.5 *************** *** 74,84 **** public static void main(String[] args) throws MalformedURLException, XmlRpcException { try{ ! XmlRpcTest xmlRpcTest = new XmlRpcTest(); ! xmlRpcTest.setUp(); ! xmlRpcTest.testXmlRpcServerPython(); ! xmlRpcTest.tearDown(); ! junit.textui.TestRunner.run(XmlRpcTest.class); }catch(Throwable e){ ! e.printStackTrace(); } } --- 74,84 ---- public static void main(String[] args) throws MalformedURLException, XmlRpcException { try{ ! XmlRpcTest xmlRpcTest = new XmlRpcTest(); ! xmlRpcTest.setUp(); ! xmlRpcTest.testXmlRpcServerPython(); ! xmlRpcTest.tearDown(); ! junit.textui.TestRunner.run(XmlRpcTest.class); }catch(Throwable e){ ! e.printStackTrace(); } } *************** *** 155,162 **** try{ ! int exitValue = process.exitValue(); ! fail("Already exited with val: "+exitValue); }catch(IllegalThreadStateException e){ ! //that's ok } --- 155,162 ---- try{ ! int exitValue = process.exitValue(); ! fail("Already exited with val: "+exitValue); }catch(IllegalThreadStateException e){ ! //that's ok } |