diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-07-28 18:07:26 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-07-28 18:07:26 +0200 |
commit | 3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044 (patch) | |
tree | 456ce7af97f65c94bcf30319c218b45ddab2632f /tests/url/test1.cpp | |
parent | cbec8f229bb4d995c9fb05babf176e82a6f6db7c (diff) | |
download | crawler-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.cpp | 3 |
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; |