diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-06 06:08:10 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-06 06:08:10 +0000 |
commit | e8dc469ed8f061240a2858e674d6a55b127a8082 (patch) | |
tree | 6ef1ed28a6b14fb51aac49681a73689ec936dce5 /performance-tests | |
parent | 678415f513d82a6f97bdc489b6650a46002ccd12 (diff) | |
download | ATCD-e8dc469ed8f061240a2858e674d6a55b127a8082.tar.gz |
ChangeLogTag:Thu Dec 06 00:06:52 2001 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Misc/test_naming.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/performance-tests/Misc/test_naming.cpp b/performance-tests/Misc/test_naming.cpp index 6d9ee59d6d1..def6a73f985 100644 --- a/performance-tests/Misc/test_naming.cpp +++ b/performance-tests/Misc/test_naming.cpp @@ -40,10 +40,10 @@ bind (ACE_Naming_Context *ns_context, int result) if (i % 50 == 0) ACE_DEBUG ((LM_DEBUG, ".")); ACE_OS::sprintf (name, "%s%d", "name", i); - ACE_WString w_name (name); + ACE_NS_WString w_name (name); ACE_OS::sprintf (value, "%s%d", "value", i); - ACE_WString w_value (value); + ACE_NS_WString w_value (value); ACE_OS::sprintf (type, "%s%d", "type", i); if (ns_context->bind (w_name, w_value, type) != result) { @@ -60,9 +60,9 @@ rebind (ACE_Naming_Context *ns_context, int result) for (int i = 1; i <= ACE_NS_MAX_ENTRIES; i++) { ACE_OS::sprintf (name, "%s%d", "name", i); - ACE_WString w_name (name); + ACE_NS_WString w_name (name); ACE_OS::sprintf (value, "%s%d", "value", -i); - ACE_WString w_value (value); + ACE_NS_WString w_value (value); ACE_OS::sprintf (type, "%s%d", "type", -i); if (ns_context->rebind (w_name, w_value, type) != result) { ACE_ERROR ((LM_ERROR, "rebind failed!")); @@ -77,7 +77,7 @@ unbind (ACE_Naming_Context *ns_context, int result) for (int i = 1; i <= ACE_NS_MAX_ENTRIES; i++) { ACE_OS::sprintf (name, "%s%d", "name", i); - ACE_WString w_name (name); + ACE_NS_WString w_name (name); if (ns_context->unbind (w_name) != result) { ACE_ERROR ((LM_ERROR, "unbind failed!")); } @@ -94,9 +94,9 @@ find (ACE_Naming_Context *ns_context, int sign, int result) for (int i = 1; i <= ACE_NS_MAX_ENTRIES; i++) { ACE_OS::sprintf (name, "%s%d", "name", i); - ACE_WString w_name (name); + ACE_NS_WString w_name (name); - ACE_WString w_value; + ACE_NS_WString w_value; char *type_out; if (sign == 1) @@ -110,7 +110,7 @@ find (ACE_Naming_Context *ns_context, int sign, int result) ACE_OS::sprintf (temp_type, "%s%d", "type", -i); } - ACE_WString val (temp_val); + ACE_NS_WString val (temp_val); int resolve_result = ns_context->resolve (w_name, w_value, type_out); if (resolve_result != result) { |