diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-23 04:43:59 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-23 04:43:59 +0000 |
commit | a7c03cabf931b077d70c6f80ec02c7728a429f49 (patch) | |
tree | 61d38d262d43ac77fc2ad94c9e7e850cd5607622 /websvcs/tests | |
parent | 2aa7b10780ad7c670f588dce4ec341351a0646aa (diff) | |
download | ATCD-a7c03cabf931b077d70c6f80ec02c7728a429f49.tar.gz |
ChangeLogTag:Sat Apr 22 20:53:11 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'websvcs/tests')
-rw-r--r-- | websvcs/tests/Test_URL_Addr.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/websvcs/tests/Test_URL_Addr.cpp b/websvcs/tests/Test_URL_Addr.cpp index 644f0ebd467..7490cc4cd59 100644 --- a/websvcs/tests/Test_URL_Addr.cpp +++ b/websvcs/tests/Test_URL_Addr.cpp @@ -19,34 +19,34 @@ int main (int, char*[]) } #define HTTP_TEST_ARRAY \ - ASYS_TEXT("http://www.cs.wustl.edu/"), \ - ASYS_TEXT("http://www.cs.wustl.edu/index.html"), \ - ASYS_TEXT("http://www.cs.wustl.edu/form?var=foo"), \ - ASYS_TEXT("http://www.notexist.com:8080/index.html"), \ - ASYS_TEXT("http://www.notexist.com:80/index.html"), \ - ASYS_TEXT("ftp://foo"), \ - ASYS_TEXT("http://www/?kkk//") + ACE_TEXT("http://www.cs.wustl.edu/"), \ + ACE_TEXT("http://www.cs.wustl.edu/index.html"), \ + ACE_TEXT("http://www.cs.wustl.edu/form?var=foo"), \ + ACE_TEXT("http://www.notexist.com:8080/index.html"), \ + ACE_TEXT("http://www.notexist.com:80/index.html"), \ + ACE_TEXT("ftp://foo"), \ + ACE_TEXT("http://www/?kkk//") #define FTP_TEST_ARRAY \ - ASYS_TEXT("ftp://www.cs.wustl.edu/"), \ - ASYS_TEXT("ftp://user@www.cs.wustl.edu/"), \ - ASYS_TEXT("ftp://user:pass@www.cs.wustl.edu/"), \ - ASYS_TEXT("ftp://user:pass@www.cs.wustl.edu/path"), \ - ASYS_TEXT("ftp://www.cs.wustl.edu"), \ - ASYS_TEXT("http://www.cs.wustl.edu/index.html") + ACE_TEXT("ftp://www.cs.wustl.edu/"), \ + ACE_TEXT("ftp://user@www.cs.wustl.edu/"), \ + ACE_TEXT("ftp://user:pass@www.cs.wustl.edu/"), \ + ACE_TEXT("ftp://user:pass@www.cs.wustl.edu/path"), \ + ACE_TEXT("ftp://www.cs.wustl.edu"), \ + ACE_TEXT("http://www.cs.wustl.edu/index.html") #define MAILTO_TEST_ARRAY \ - ASYS_TEXT("mailto:ace-users@cs.wustl.edu"), \ - ASYS_TEXT("mailto:majordomo@cs.wustl.edu?Subject: subscribe ace-users"), \ - ASYS_TEXT("mailto:nobody"), \ - ASYS_TEXT("http://www.cs.wustl.edu") + ACE_TEXT("mailto:ace-users@cs.wustl.edu"), \ + ACE_TEXT("mailto:majordomo@cs.wustl.edu?Subject: subscribe ace-users"), \ + ACE_TEXT("mailto:nobody"), \ + ACE_TEXT("http://www.cs.wustl.edu") #define URL_TEST_ARRAY \ - ASYS_TEXT("file:/etc/passwd") + ACE_TEXT("file:/etc/passwd") void test_http_addr (void) { - static LPCTSTR addresses[] = { + static const ACE_TCHAR *addresses[] = { HTTP_TEST_ARRAY }; static int naddresses = sizeof(addresses)/sizeof(addresses[0]); @@ -62,7 +62,7 @@ void test_http_addr (void) continue; } - ASYS_TCHAR buffer[BUFSIZ]; + ACE_TCHAR buffer[BUFSIZ]; if (addr.addr_to_string (buffer, BUFSIZ, i%2) == 0) { ACE_DEBUG ((LM_DEBUG, @@ -86,7 +86,7 @@ void test_http_addr (void) void test_ftp_addr (void) { - static LPCTSTR addresses[] = { + static const ACE_TCHAR *addresses[] = { FTP_TEST_ARRAY }; static int naddresses = sizeof(addresses)/sizeof(addresses[0]); @@ -102,7 +102,7 @@ void test_ftp_addr (void) continue; } - ASYS_TCHAR buffer[BUFSIZ]; + ACE_TCHAR buffer[BUFSIZ]; if (addr.addr_to_string (buffer, BUFSIZ, i%2) == 0) { ACE_DEBUG ((LM_DEBUG, @@ -127,7 +127,7 @@ void test_ftp_addr (void) void test_mailto_addr (void) { - static LPCTSTR addresses[] = { + static const ACE_TCHAR *addresses[] = { MAILTO_TEST_ARRAY }; static int naddresses = sizeof(addresses)/sizeof(addresses[0]); @@ -143,7 +143,7 @@ void test_mailto_addr (void) continue; } - ASYS_TCHAR buffer[BUFSIZ]; + ACE_TCHAR buffer[BUFSIZ]; if (addr.addr_to_string (buffer, BUFSIZ, i%2) == 0) { ACE_DEBUG ((LM_DEBUG, @@ -168,7 +168,7 @@ void test_mailto_addr (void) void test_url_addr (void) { - static LPCTSTR addresses[] = { + static const ACE_TCHAR *addresses[] = { HTTP_TEST_ARRAY, FTP_TEST_ARRAY, MAILTO_TEST_ARRAY, @@ -188,7 +188,7 @@ void test_url_addr (void) continue; } - ASYS_TCHAR buffer[BUFSIZ]; + ACE_TCHAR buffer[BUFSIZ]; if (addr->addr_to_string (buffer, BUFSIZ, i%2) == 0) { ACE_DEBUG ((LM_DEBUG, |