summaryrefslogtreecommitdiff
path: root/tubes
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-10-10 20:26:55 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-10-10 20:55:23 +0200
commit6f543a4309115008cf5b5b40eea0fe4dab9eb5c5 (patch)
treebfeea5da3360642c07e77814edd341f1d3bea2e1 /tubes
parent19e0289eb7a8fc05e40217a2dbf9eed1be071b59 (diff)
tubes: just hardcode the url
Change-Id: I587d83221c702571cdfe4310b27adff1cc3421c1
Diffstat (limited to 'tubes')
-rw-r--r--tubes/qa/test_manager.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/tubes/qa/test_manager.cxx b/tubes/qa/test_manager.cxx
index 6296eb39eca1..04ad98cfde1d 100644
--- a/tubes/qa/test_manager.cxx
+++ b/tubes/qa/test_manager.cxx
@@ -100,17 +100,8 @@ static gboolean timed_out( void * )
TestTeleTubes::TestTeleTubes()
{
g_timeout_add_seconds (10, timed_out, NULL);
- try
- {
- utl::LocalFileHelper::ConvertPhysicalNameToURL(
- OUString::createFromAscii( getenv("SRCDIR") ) + "/tubes/qa/test-config.ini",
- maTestConfigIniURL );
- }
- catch (const com::sun::star::uno::Exception& e)
- {
- CPPUNIT_ASSERT_MESSAGE( OUStringToOString( "Exception while getting config.ini url: "
- + e.Message, RTL_TEXTENCODING_UTF8).getStr(), false);
- }
+ maTestConfigIniURL = OUString( "file://" +
+ OUString::createFromAscii( getenv("SRCDIR") ) + "/tubes/qa/test-config.ini");
rtl::Bootstrap aTestConfig( maTestConfigIniURL );
TeleManager::addSuffixToNames( "TeleTest");