summaryrefslogtreecommitdiff
path: root/ACE/tests/Arg_Shifter_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Arg_Shifter_Test.cpp')
-rw-r--r--ACE/tests/Arg_Shifter_Test.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ACE/tests/Arg_Shifter_Test.cpp b/ACE/tests/Arg_Shifter_Test.cpp
index 854e47122f9..08bb29c2900 100644
--- a/ACE/tests/Arg_Shifter_Test.cpp
+++ b/ACE/tests/Arg_Shifter_Test.cpp
@@ -68,6 +68,20 @@ run_main (int, ACE_TCHAR *[])
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("argshifter 2 test failed\n")), -1);
}
+#ifdef ACE_USES_WCHAR
+ const char *args3[] = {
+ "-ORBDebugLevel 0",
+ "-o",
+ "server.ior",
+ };
+ int argc3 = sizeof args3 / sizeof args3[0];
+ ACE_Arg_Shifter_T<char> arg_shifter_char (argc3, args3);
+ if (15 != arg_shifter_char.cur_arg_strncasecmp ("-ORBDebugLevel"))
+ {
+ ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("argshifter<char> failed\n")), -1);
+ }
+#endif
+
ACE_END_TEST;
return 0;
}