summaryrefslogtreecommitdiff
path: root/tests/New_Fail_Test.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-05 09:52:56 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-05 09:52:56 +0000
commit199e8e8c21216f4b6da6c468df041f9db62fc4f8 (patch)
tree80ad8b136bf72d82f20771a08d5a39f4ffbab77d /tests/New_Fail_Test.cpp
parent2f0512c7b00fb933e1d1634f1d435fae19970b4d (diff)
downloadATCD-199e8e8c21216f4b6da6c468df041f9db62fc4f8.tar.gz
Pure unicode fixes.
Diffstat (limited to 'tests/New_Fail_Test.cpp')
-rw-r--r--tests/New_Fail_Test.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/New_Fail_Test.cpp b/tests/New_Fail_Test.cpp
index bec580eda47..82b6d5db501 100644
--- a/tests/New_Fail_Test.cpp
+++ b/tests/New_Fail_Test.cpp
@@ -76,8 +76,8 @@ main (int, ASYS_TCHAR *[])
// conditions, exceptions can be disabled when the port is complete.
#if (defined (__SUNPRO_CC) || defined (__GNUG__)) && \
!defined (ACE_HAS_EXCEPTIONS)
- ACE_DEBUG ((LM_NOTICE, "Out-of-memory will throw an unhandled exception\n"));
- ACE_DEBUG ((LM_NOTICE, "Rebuild with exceptions=1 to prevent this, but it may impair performance.\n"));
+ ACE_DEBUG ((LM_NOTICE, ASYS_TEXT ("Out-of-memory will throw an unhandled exception\n")));
+ ACE_DEBUG ((LM_NOTICE, ASYS_TEXT ("Rebuild with exceptions=1 to prevent this, but it may impair performance.\n")));
// Use the static function addresses, to prevent warnings about the
// functions not being used.
@@ -102,14 +102,14 @@ main (int, ASYS_TCHAR *[])
if (i == MAX_ALLOCS_IN_TEST)
{
ACE_ERROR((LM_WARNING,
- "Test didn't exhaust all available memory\n"));
+ ASYS_TEXT ("Test didn't exhaust all available memory\n")));
--i; // Back up to valid pointer for deleting
}
else
{
ACE_ASSERT (blocks[i] == 0);
ACE_ASSERT (errno == ENOMEM);
- ACE_DEBUG((LM_DEBUG, "ACE_NEW failed properly at block %d\n", i));
+ ACE_DEBUG((LM_DEBUG, ASYS_TEXT ("ACE_NEW failed properly at block %d\n"), i));
}
// Free the memory to try ACE_NEW_RETURN
@@ -126,14 +126,14 @@ main (int, ASYS_TCHAR *[])
if (i == MAX_ALLOCS_IN_TEST)
{
ACE_ERROR((LM_WARNING,
- "Test didn't exhaust all available memory\n"));
+ ASYS_TEXT ("Test didn't exhaust all available memory\n")));
--i; // Back up to valid pointer
}
else
{
ACE_ASSERT (blocks[i] == 0);
ACE_ASSERT (errno == ENOMEM);
- ACE_DEBUG ((LM_DEBUG, "ACE_NEW_RETURN failed properly at block %d\n",
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("ACE_NEW_RETURN failed properly at block %d\n"),
i));
}
while (i >= 0)
@@ -145,10 +145,10 @@ main (int, ASYS_TCHAR *[])
catch (...)
{
ACE_ERROR ((LM_ERROR,
- "Caught exception during test; "
- "ACE_bad_alloc not defined correctly, or\n"));
+ ASYS_TEXT ("Caught exception during test; ")
+ ASYS_TEXT ("ACE_bad_alloc not defined correctly, or\n")));
ACE_ERROR ((LM_ERROR,
- "ACE_NEW_THROWS_EXCEPTIONS is not #defined (and should be).\n"));
+ ASYS_TEXT ("ACE_NEW_THROWS_EXCEPTIONS is not #defined (and should be).\n")));
status = 1; // Mark test failure
}
#endif /* ACE_HAS_EXCEPTIONS */