summaryrefslogtreecommitdiff
path: root/tests/SString_Test.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-11 06:01:44 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-11 06:01:44 +0000
commit29bc99605b3001024214877b685194229b053770 (patch)
treef893f1e4b64e027ecb12bd3ad323b84d9ba58a26 /tests/SString_Test.cpp
parent00318e0f86593079270e84624efbcac2b1285aff (diff)
downloadATCD-poa_start.tar.gz
This commit was manufactured by cvs2svn to create tag 'poa_start'.poa_start
Diffstat (limited to 'tests/SString_Test.cpp')
-rw-r--r--tests/SString_Test.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/SString_Test.cpp b/tests/SString_Test.cpp
deleted file mode 100644
index 0227da1502b..00000000000
--- a/tests/SString_Test.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-// ============================================================================
-// $Id$
-
-//
-// = LIBRARY
-// tests
-//
-// = FILENAME
-// SString_Test.cpp
-//
-// = DESCRIPTION
-// This is a simple test that illustrates the use of ACE_CString
-// and ACE_WString. No command line arguments are needed to run
-// the test.
-//
-// = AUTHOR
-// Prashant Jain
-//
-// ============================================================================
-
-#include "test_config.h"
-#include "ace/SString.h"
-
-int
-main (int, char *[])
-{
- ACE_START_TEST ("SString_Test");
-
- ACE_CString s1 ("hello");
- ACE_CString s2 ("world");
- ACE_CString s3 ("el");
- ACE_WString s4 ("hello");
- ACE_WString s5 ("world");
- ACE_WString s6 ("el");
-
- ACE_ASSERT (s1 != s2);
- ACE_ASSERT (s1.strstr (s2) == -1);
- ACE_ASSERT (s1.strstr (s2) == -1);
- ACE_ASSERT (s1.strstr (s3));
- ACE_ASSERT (s4.strstr (s5) == -1);
- ACE_ASSERT (s5.strstr (s6));
-
- ACE_END_TEST;
- return 0;
-}