summaryrefslogtreecommitdiff
path: root/tests/Naming_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:56:19 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:56:19 +0000
commit8825d290d8873c6ee96e27dcba1f1c8bf59d2236 (patch)
treef8913a7ba038ec752e3d98e49b18950a374a85a9 /tests/Naming_Test.cpp
parente1b089abb1df9b1c7a5f6eabf1100b6c21ec1fe8 (diff)
downloadATCD-8825d290d8873c6ee96e27dcba1f1c8bf59d2236.tar.gz
ywhoopie!!
More new stuff, more things will break!! I have no idea about this file. Heck, I am not even Doug!
Diffstat (limited to 'tests/Naming_Test.cpp')
-rw-r--r--tests/Naming_Test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Naming_Test.cpp b/tests/Naming_Test.cpp
index 414c9c1f338..df4cce8410a 100644
--- a/tests/Naming_Test.cpp
+++ b/tests/Naming_Test.cpp
@@ -117,8 +117,11 @@ main (int argc, char *argv[])
{
ACE_START_TEST ("Naming_Test.cpp");
- ACE_Naming_Context *ns_context = new ACE_Naming_Context ();
+ ACE_Naming_Context *ns_context;
+ ACE_NEW_RETURN (ns_context, ACE_Naming_Context, -1);
+
ACE_Name_Options *name_options = ns_context->name_options ();
+
name_options->parse_args (argc, argv);
name_options->database (ACE::basename (name_options->process_name (),
ACE_DIRECTORY_SEPARATOR_CHAR));