History log of /haiku/src/tests/kits/support/bstring/StringSearchTest.cpp
Revision Date Author Comments
# 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


# dc0b0016 05-Jan-2017 John Scipione <jscipione@gmail.com>

StringSearchTest: Add unit tests for new methods


# 17a41347 05-Jan-2017 John Scipione <jscipione@gmail.com>

StringSearchTest: automatic whitespace cleanup


# 94a055c1 05-Mar-2006 Oliver Tappe <zooey@hirschkaefer.de>

* fixed broken FindLast() taking a char and an offset
* added two more tests that exhibit the (now fixed) problem in FindLast()



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23e88e5e 08-Aug-2003 shatty <shatty@nowhere.fake>

expose buggy R5 behavior in a test so that we will not have the same bug (btw, we do not)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4246 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


# 202ed890 14-Nov-2002 ejakowatz <ejakowatz@nowhere.fake>

Some bug fixing on BString and it's unit tests. Should now pass all
current tests! Now included in the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1946 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


# 4ac7fa15 30-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added some more tests (for IFind* functions)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1787 a95241bf-73f2-0310-859d-f6bbb57e9c96


# af1732a6 29-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed to compile


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1763 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c135d09 29-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FindLast() functions test.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1755 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cebc72f7 29-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FindFirst() tests added to the build. More coming


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1754 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94a055c10d7d2ebe5a45b68914a963da39dfb39b 05-Mar-2006 Oliver Tappe <zooey@hirschkaefer.de>

* fixed broken FindLast() taking a char and an offset
* added two more tests that exhibit the (now fixed) problem in FindLast()



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23e88e5ee24dd8ae63b4fdec3c87508f9e3a10f3 08-Aug-2003 shatty <shatty@nowhere.fake>

expose buggy R5 behavior in a test so that we will not have the same bug (btw, we do not)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4246 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


# 202ed890a9bd848fb660ea9c4adead33e76aa53e 14-Nov-2002 ejakowatz <ejakowatz@nowhere.fake>

Some bug fixing on BString and it's unit tests. Should now pass all
current tests! Now included in the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1946 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


# 4ac7fa15ed078f01fd908470fe0701fad2ca02af 30-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added some more tests (for IFind* functions)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1787 a95241bf-73f2-0310-859d-f6bbb57e9c96


# af1732a6d48051ae0c4cf709d4242549afcef03e 29-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed to compile


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1763 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c135d0948e3e2e6d032d262a66495547dee5820 29-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FindLast() functions test.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1755 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cebc72f7c90e5c23883251ae8a42ec0712bc2ab7 29-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FindFirst() tests added to the build. More coming


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1754 a95241bf-73f2-0310-859d-f6bbb57e9c96