#
38a133eb |
|
16-Sep-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
StringReplaceTest: Add (failing) invocations of Replace*() with NULL "to". BeOS R5 treats NULL passed as the "replace with" argument as if it were an empty string. Our BString currently does nothing. Change-Id: I54b661e4ea8335ce531e6b6e3de2095a41112cd7 Reviewed-on: https://review.haiku-os.org/571 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
f960e7e9 |
|
28-Mar-2018 |
krish_iyer <krishnaniyer97@gmail.com> |
Support kit: Fixed issues in BString unit tests 1: Changed CPPUNIT_ASSERT -> CPPUNIT_ASSERT_EQUAL 2: Fixed coding style: Added two lines after including libraries, maintained 80 characters(MAX) in each line and space at comment start 3: Fixed the failure for "BString::Search" test "i != 0 by chaning the testing method(StartsWith->IStartsWith) and changed the string to be searched(sT->st) Change-Id: I1237d1f2d0e3af7757963cc940bae929f487f088
|
#
56a2d997 |
|
23-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* add tests for BString that expose a problem in the looping Replace() implementations on single chars * automatic whitespace cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42681 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5480b459 |
|
13-Nov-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc. Code is refactored, and it fully complies with our guidelines. Tests have been updated too (hint: try the replace tests with R5 and our implementation...) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4db3797f |
|
11-Feb-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some more tests. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2685 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cfe8d4a7 |
|
09-Jan-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
one more test for ReplaceSet(char, char) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2394 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee37218e |
|
09-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
More tests. All methods are tested and are working, but LockBuffer and UnlockBuffer() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1888 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
236b9aaa |
|
05-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed compilation of tests git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1855 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ae64b7e3 |
|
05-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some more tests for Replace Functions (which our BString doesn't pass (will fix it later)) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1850 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb071be3 |
|
04-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
First tests for Replace*() methods (more should come later) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1838 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56a2d99762b1d976bcd66287bd7755ab5f0e2b12 |
|
23-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* add tests for BString that expose a problem in the looping Replace() implementations on single chars * automatic whitespace cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42681 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5480b4590e267957b90b79736b3990ddd39459a3 |
|
13-Nov-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc. Code is refactored, and it fully complies with our guidelines. Tests have been updated too (hint: try the replace tests with R5 and our implementation...) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4db3797f17f2e6d3de0ba988759168a213af2943 |
|
11-Feb-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some more tests. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2685 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cfe8d4a743fcf8b489d3ffae273313cd59e7679f |
|
09-Jan-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
one more test for ReplaceSet(char, char) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2394 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee37218ef1315e672d49e7124c6ecdc5773f0b73 |
|
09-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
More tests. All methods are tested and are working, but LockBuffer and UnlockBuffer() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1888 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
236b9aaa29e7f57f2c5fcc45cb2c887702b662e2 |
|
05-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed compilation of tests git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1855 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ae64b7e35452fe13e9ac7c7833c21a5f6f444694 |
|
05-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some more tests for Replace Functions (which our BString doesn't pass (will fix it later)) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1850 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb071be3190b875efcb1da7dd5771ddcaf49b73b |
|
04-Nov-2002 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
First tests for Replace*() methods (more should come later) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1838 a95241bf-73f2-0310-859d-f6bbb57e9c96
|