summaryrefslogtreecommitdiff
path: root/ucb/qa/cppunit/webdav/webdav_local_neon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/qa/cppunit/webdav/webdav_local_neon.cxx')
-rw-r--r--ucb/qa/cppunit/webdav/webdav_local_neon.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/qa/cppunit/webdav/webdav_local_neon.cxx b/ucb/qa/cppunit/webdav/webdav_local_neon.cxx
index cbe0e0787f70..caed0ef0b163 100644
--- a/ucb/qa/cppunit/webdav/webdav_local_neon.cxx
+++ b/ucb/qa/cppunit/webdav/webdav_local_neon.cxx
@@ -35,8 +35,7 @@ namespace
void webdav_local_test::NeonUriTest()
{
//try URL decomposition
- OUString aURL( "http://user%40anothername@server.biz:8040/aService/asegment/nextsegment/check.this?test=true&link=http://anotherserver.com/%3Fcheck=theapplication%26os=linuxintel%26lang=en-US%26version=5.2.0" );
- NeonUri aURI( aURL );
+ NeonUri aURI( "http://user%40anothername@server.biz:8040/aService/asegment/nextsegment/check.this?test=true&link=http://anotherserver.com/%3Fcheck=theapplication%26os=linuxintel%26lang=en-US%26version=5.2.0" );
CPPUNIT_ASSERT_EQUAL( OUString( "http" ), aURI.GetScheme() );
CPPUNIT_ASSERT_EQUAL( OUString( "server.biz" ), aURI.GetHost() );
CPPUNIT_ASSERT_EQUAL( OUString( "user%40anothername" ), aURI.GetUserInfo() );