[Pydev-cvs] org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage CoverageCacheTest.jav
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-08-13 21:12:17
|
Update of /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8481/tests/org/python/pydev/debug/codecoverage Modified Files: CoverageCacheTest.java XmlRpcTest.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: CoverageCacheTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage/CoverageCacheTest.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CoverageCacheTest.java 21 Mar 2008 21:57:32 -0000 1.4 --- CoverageCacheTest.java 13 Aug 2008 21:12:24 -0000 1.5 *************** *** 78,83 **** "Name Stmts Exec Cover Missing\n" + "-----------------------------------------------------------------------------\n" + - " c 22 10 45,5% 6-10\n" + " b 20 10 50% 6-10\n" + " d 24 10 41,7% 6-10\n" + " e 26 10 38,5% 6-10\n" + --- 78,83 ---- "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" + Index: XmlRpcTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage/XmlRpcTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** XmlRpcTest.java 21 May 2008 01:38:15 -0000 1.3 --- XmlRpcTest.java 13 Aug 2008 21:12:24 -0000 1.4 *************** *** 73,77 **** public static void main(String[] args) throws MalformedURLException, XmlRpcException { ! junit.textui.TestRunner.run(XmlRpcTest.class); } --- 73,85 ---- 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(); ! } } *************** *** 146,149 **** --- 154,163 ---- } + try{ + int exitValue = process.exitValue(); + fail("Already exited with val: "+exitValue); + }catch(IllegalThreadStateException e){ + //that's ok + } try { *************** *** 225,229 **** if(expected.equals("Console already exited with value: 0 while waiting for an answer.|exceptions.SystemExit:0")){ if(found.equals("Console already exited with value: 0 while waiting for an answer.") || ! found.equals("exceptions.SystemExit:0")){ return; } --- 239,244 ---- if(expected.equals("Console already exited with value: 0 while waiting for an answer.|exceptions.SystemExit:0")){ if(found.equals("Console already exited with value: 0 while waiting for an answer.") || ! found.equals("exceptions.SystemExit:0") || ! found.equals("Failed to create input stream: Connection refused")){ return; } |