summaryrefslogtreecommitdiff
path: root/examples/Misc/test_sstring.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /examples/Misc/test_sstring.cpp
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'examples/Misc/test_sstring.cpp')
-rw-r--r--examples/Misc/test_sstring.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/examples/Misc/test_sstring.cpp b/examples/Misc/test_sstring.cpp
deleted file mode 100644
index ef85290c1f7..00000000000
--- a/examples/Misc/test_sstring.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-// $Id$
-
-#include "ace/SString.h"
-#include "ace/Log_Msg.h"
-
-ACE_RCSID(Misc, test_sstring, "$Id$")
-
-int
-ACE_TMAIN (int, ACE_TCHAR *[])
-{
- ACE_CString s1 ("hello");
- ACE_CString s2 ("world");
- ACE_CString s3 ("el");
- ACE_NS_WString s4 ("hello");
- ACE_NS_WString s5 ("world");
- ACE_NS_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));
- return 0;
-}