From 94571067bdb3a1f2f117f8c4ce3cea3f3c497b6d Mon Sep 17 00:00:00 2001 From: brunsch Date: Tue, 13 Apr 1999 07:48:19 +0000 Subject: Tests out the new implementation of the IR Repository. --- TAO/orbsvcs/tests/ImplRepo/Repository_Test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/TAO/orbsvcs/tests/ImplRepo/Repository_Test.cpp b/TAO/orbsvcs/tests/ImplRepo/Repository_Test.cpp index 31f3b2fa3ed..261495e777a 100644 --- a/TAO/orbsvcs/tests/ImplRepo/Repository_Test.cpp +++ b/TAO/orbsvcs/tests/ImplRepo/Repository_Test.cpp @@ -3,13 +3,13 @@ #include "../../ImplRepo_Service/Repository.h" -const char *NAME_VALUE = "server"; -const char *COMM_LINE_VALUE = "server -i"; -const char *ENV_VALUE = "null environment"; -const char *HOST_VALUE = "maxixe.cs.wustl.edu"; +ASYS_TCHAR *NAME_VALUE = ASYS_TEXT ("server"); +ASYS_TCHAR *COMM_LINE_VALUE = ASYS_TEXT ("server -i"); +ASYS_TCHAR *ENV_VALUE = ASYS_TEXT ("null environment"); +ASYS_TCHAR *HOST_VALUE = ASYS_TEXT ("maxixe.cs.wustl.edu"); const int PORT_VALUE = 20000; -const char *PING_IOR_VALUE = "iiop://maxixe/ping"; -const char *WDIR_VALUE = "."; +ASYS_TCHAR *PING_IOR_VALUE = ASYS_TEXT ("iiop://maxixe/ping"); +ASYS_TCHAR *WDIR_VALUE = ASYS_TEXT ("."); // Just tests the functionality of the Repository @@ -17,7 +17,7 @@ int main (int argc, char *argv[]) { int test_success = 1; Repository rep; - Repository::Record new_rec, rec; + Repository_Record new_rec, rec; new_rec.comm_line = ACE::strnew (COMM_LINE_VALUE); new_rec.env = ACE::strnew (ENV_VALUE); @@ -99,7 +99,7 @@ int main (int argc, char *argv[]) // Try some of the single accessors - char *cl, *env, *ping_ior; + ASYS_TCHAR *cl, *env, *ping_ior; ACE_DEBUG ((LM_DEBUG, "=Performing Single Accessor Test\n")); -- cgit v1.2.1