summaryrefslogtreecommitdiff
path: root/tests/Arg_Shifter_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Arg_Shifter_Test.cpp')
-rw-r--r--tests/Arg_Shifter_Test.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/Arg_Shifter_Test.cpp b/tests/Arg_Shifter_Test.cpp
deleted file mode 100644
index 649f8054f46..00000000000
--- a/tests/Arg_Shifter_Test.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// tests
-//
-// = DESCRIPTION
-// This program exercises the ACE_Arg_Shifter class.
-//
-// = AUTHOR
-// Steve Huston <shuston@riverace.com>
-//
-// ============================================================================
-
-#include "ace/Arg_Shifter.h"
-#include "test_config.h"
-
-ACE_RCSID(tests, Arg_Shifter_Test, "$Id$")
-
-int
-run_main (int, ACE_TCHAR *[])
-{
- ACE_START_TEST (ACE_TEXT ("Arg_Shifter_Test"));
-
- const int test_argc_size = 5;
- int argl (test_argc_size);
- const ACE_TCHAR *args[test_argc_size] = {
- ACE_TEXT ("-known"),
- ACE_TEXT ("-huh"),
- ACE_TEXT ("-arg"),
- ACE_TEXT ("-what"),
- ACE_TEXT ("arg")
- };
-
- ACE_Arg_Shifter shifter (argl, args);
-
- if (!shifter.is_anything_left ())
- ACE_ERROR ((LM_ERROR, "is_anything_left() returned 0 at start.\n"));
-
- ACE_END_TEST;
- return 0;
-}