summaryrefslogtreecommitdiffstats
path: root/comphelper/qa/string
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/qa/string')
-rw-r--r--comphelper/qa/string/test_string.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/comphelper/qa/string/test_string.cxx b/comphelper/qa/string/test_string.cxx
index 70998759e04f..0d18ac03a73b 100644
--- a/comphelper/qa/string/test_string.cxx
+++ b/comphelper/qa/string/test_string.cxx
@@ -34,7 +34,6 @@ class TestString: public CppUnit::TestFixture
{
public:
void testNatural();
- void testRemove();
void testStripStart();
void testStripEnd();
void testStrip();
@@ -47,7 +46,6 @@ public:
CPPUNIT_TEST_SUITE(TestString);
CPPUNIT_TEST(testNatural);
- CPPUNIT_TEST(testRemove);
CPPUNIT_TEST(testStripStart);
CPPUNIT_TEST(testStripEnd);
CPPUNIT_TEST(testStrip);
@@ -278,20 +276,6 @@ void TestString::testNatural()
);
}
-void TestString::testRemove()
-{
- OString aIn("abc");
- OString aOut;
-
- aOut = ::comphelper::string::remove(aIn, 'b');
- CPPUNIT_ASSERT(aOut == "ac");
-
- aIn = "aaa";
-
- aOut = ::comphelper::string::remove(aIn, 'a');
- CPPUNIT_ASSERT(aOut.isEmpty());
-}
-
void TestString::testStripStart()
{
OString aIn("abc");