Merge pull request #2317 from jwillemsen/jwi-deleteop
[ACE_TAO.git] / ACE / apps / JAWS / clients / Caching / test_URL.cpp
blobdd04c2fa5d246a75664653f1cc68a89a4b12942a
1 #include "Locator_Request_Reply.h"
3 int ACE_TMAIN (int , ACE_TCHAR *[])
5 ACE_URL_Locator_Request original, derived;
7 ACE_URL_Property_Seq ouch1(3);
8 ouch1[0].name ("name 1");
9 ouch1[0].value ("value 1");
10 ouch1[1].name ("name 2");
11 ouch1[1].value ("value 2");
12 ouch1[2].name ("name 3");
13 ouch1[2].value ("value 3");
15 original.url_query (1, ouch1, 3);
17 original.dump ();
18 derived.dump ();
20 original.encode ();
22 derived.decode ((void*) original.buffer ());
24 derived.dump ();
26 return 0;