History log of /haiku/src/tests/kits/support/bstring/StringReplaceTest.cpp (Results 1 – 11 of 11)
Revision Date Author Comments
# 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

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>

show more ...


# f960e7e9 29-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 e

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

show more ...


# 19ae20e6 05-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Merge branch 'master' into pm-flat

Conflicts:
build/jam/HaikuImage
build/jam/OptionalBuildFeatures
build/jam/OptionalPackages
build/jam/UserBuildConfig.sample
data/bin/installoptionalpackage
s

Merge branch 'master' into pm-flat

Conflicts:
build/jam/HaikuImage
build/jam/OptionalBuildFeatures
build/jam/OptionalPackages
build/jam/UserBuildConfig.sample
data/bin/installoptionalpackage
src/apps/deskbar/DeskbarMenu.cpp
src/servers/debug/DebugServer.cpp
src/system/kernel/fs/vfs.cpp

show more ...


# 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 a95

* 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

show more ...


# 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 ha

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

show more ...


# 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