summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-05-03 08:20:06 +0000
committerRüdiger Timm <rt@openoffice.org>2004-05-03 08:20:06 +0000
commit381330915d2ded97b04e6954a7e2116da4fd0aef (patch)
treea1af063cd0a837a092bb25ea4d6f092a76e2de97 /sal/qa
parent3b10503b87acf9ae30e79395178067de8def2130 (diff)
INTEGRATION: CWS qadev17 (1.1.2); FILE ADDED
2004/04/22 06:02:11 lla 1.1.2.1: #116021# tests for internal helper functions
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/testHelperFunctions/testHelperFunctions2.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/sal/qa/testHelperFunctions/testHelperFunctions2.cxx b/sal/qa/testHelperFunctions/testHelperFunctions2.cxx
new file mode 100644
index 000000000000..8667bef776a5
--- /dev/null
+++ b/sal/qa/testHelperFunctions/testHelperFunctions2.cxx
@@ -0,0 +1,31 @@
+#include <cppunit/simpleheader.hxx>
+#include "stringhelper.hxx"
+
+namespace testOfHelperFunctions
+{
+ class test_valueequal : public CppUnit::TestFixture
+ {
+ public:
+ void valueequal_001();
+
+ CPPUNIT_TEST_SUITE( test_valueequal );
+ CPPUNIT_TEST( valueequal_001 );
+ CPPUNIT_TEST_SUITE_END( );
+ };
+
+ void test_valueequal::valueequal_001( )
+ {
+ rtl::OString sValue;
+ rtl::OUString suValue(rtl::OUString::createFromAscii("This is only a test of some helper functions"));
+ sValue <<= suValue;
+ t_print("'%s'\n", sValue.getStr());
+ }
+
+} // namespace testOfHelperFunctions
+
+// -----------------------------------------------------------------------------
+CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( testOfHelperFunctions::test_valueequal, "helperFunctions" );
+
+// -----------------------------------------------------------------------------
+// This is only allowed to be in one file!
+// NOADDITIONAL;