summaryrefslogtreecommitdiff
path: root/tests/Stack_Trace_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Stack_Trace_Test.cpp')
-rw-r--r--tests/Stack_Trace_Test.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/Stack_Trace_Test.cpp b/tests/Stack_Trace_Test.cpp
index a02b062fd43..9823d432178 100644
--- a/tests/Stack_Trace_Test.cpp
+++ b/tests/Stack_Trace_Test.cpp
@@ -34,10 +34,10 @@ struct SomeException
{
static const ssize_t SKIP = 1; //@TODO: #ifdef this for MACOSX which needs 2
SomeException () : where_(SKIP), explanation_ ("") { }
- SomeException (const char* explanation)
+ SomeException (const char *explanation)
: where_(SKIP), explanation_(explanation) { }
ACE_Stack_Trace where_;
- const char* explanation_;
+ const char *explanation_;
};
void
@@ -52,17 +52,17 @@ run_main (int, ACE_TCHAR *[])
ACE_START_TEST (ACE_TEXT ("Stack_Trace_Test"));
ACE_Stack_Trace t1;
- ACE_DEBUG ((LM_DEBUG, "t1 trace is %s\n", t1.c_str()));
+ ACE_DEBUG ((LM_DEBUG, "t1 trace is %C\n", t1.c_str()));
ACE_Stack_Trace t2(t1);
- ACE_DEBUG ((LM_DEBUG, "t2 (copied) trace is %s\n",
+ ACE_DEBUG ((LM_DEBUG, "t2 (copied) trace is %C\n",
(ACE_OS::strcmp (t1.c_str(), t2.c_str()) == 0) ? "same" : "different"));
ACE_Stack_Trace t3;
- ACE_DEBUG ((LM_DEBUG, "t3 trace before assignment is %s\n",
+ ACE_DEBUG ((LM_DEBUG, "t3 trace before assignment is %C\n",
(ACE_OS::strcmp (t1.c_str(), t3.c_str()) == 0) ? "same" : "different"));
t3 = t1;
- ACE_DEBUG ((LM_DEBUG, "t3 trace after assignment is %s\n",
+ ACE_DEBUG ((LM_DEBUG, "t3 trace after assignment is %C\n",
(ACE_OS::strcmp (t1.c_str(), t3.c_str()) == 0) ? "same" : "different"));
try {
@@ -70,13 +70,13 @@ run_main (int, ACE_TCHAR *[])
}
catch (SomeException& e) {
ACE_DEBUG ((LM_DEBUG,
- "SomeException caught at\n%?\n; thrown at\n%s",
+ "SomeException caught at\n%?\n; thrown at\n%C",
e.where_.c_str()));
}
ACE_Stack_Trace one_frame_only(0, 1);
ACE_DEBUG ((LM_DEBUG,
- "stack trace of only one frame:\n%s",
+ "stack trace of only one frame:\n%C",
one_frame_only.c_str()));
ACE_DEBUG ((LM_DEBUG, "getting ready to end the test at %?\n"));