summaryrefslogtreecommitdiff
path: root/tests/url/test1.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-07-28 18:07:26 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-07-28 18:07:26 +0200
commit3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044 (patch)
tree456ce7af97f65c94bcf30319c218b45ddab2632f /tests/url/test1.cpp
parentcbec8f229bb4d995c9fb05babf176e82a6f6db7c (diff)
downloadcrawler-3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044.tar.gz
crawler-3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044.tar.bz2
started to add URL normalizers and testing environment for URLs
Diffstat (limited to 'tests/url/test1.cpp')
-rw-r--r--tests/url/test1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/url/test1.cpp b/tests/url/test1.cpp
index 264bef0..64ae223 100644
--- a/tests/url/test1.cpp
+++ b/tests/url/test1.cpp
@@ -17,7 +17,10 @@ int main( int argc, char *argv[] )
URL url( urlstring );
cout << "protocol: " << url.protocol( ) << endl
+ << "port: " << url.port( ) << endl
<< "domain: " << url.domain( ) << endl
+ << "path: " << url.path( ) << endl
+ << "fragment: " << url.fragment( ) << endl
<< endl;
return 0;