[Pydev-cvs] org.python.pydev.core/tests/org/python/pydev/core/structure FastStringBufferTest.java,
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-06-15 16:45:14
|
Update of /cvsroot/pydev/org.python.pydev.core/tests/org/python/pydev/core/structure In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1941/tests/org/python/pydev/core/structure Modified Files: FastStringBufferTest.java Log Message: Minors: ParsingUtils accepts null instead of buffer (so, objects that don't need the actual values can just use it to skip comments, parenthesis, etc). Index: FastStringBufferTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/tests/org/python/pydev/core/structure/FastStringBufferTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FastStringBufferTest.java 15 Jun 2008 13:15:04 -0000 1.2 --- FastStringBufferTest.java 15 Jun 2008 16:45:20 -0000 1.3 *************** *** 34,37 **** --- 34,41 ---- fastString.insert(1, "."); assertEquals("a.22aabbcccdddddddddddddddddddddddddddddd$", fastString.toString()); + fastString.replace(0,1, "xxx"); + assertEquals("xxx.22aabbcccdddddddddddddddddddddddddddddd$", fastString.toString()); + fastString.delete(0,1); + assertEquals("xx.22aabbcccdddddddddddddddddddddddddddddd$", fastString.toString()); } |