Kaydet (Commit) 6f543a43 authored tarafından Matúš Kukan's avatar Matúš Kukan

tubes: just hardcode the url

Change-Id: I587d83221c702571cdfe4310b27adff1cc3421c1
üst 19e0289e
...@@ -100,17 +100,8 @@ static gboolean timed_out( void * ) ...@@ -100,17 +100,8 @@ static gboolean timed_out( void * )
TestTeleTubes::TestTeleTubes() TestTeleTubes::TestTeleTubes()
{ {
g_timeout_add_seconds (10, timed_out, NULL); g_timeout_add_seconds (10, timed_out, NULL);
try maTestConfigIniURL = OUString( "file://" +
{ OUString::createFromAscii( getenv("SRCDIR") ) + "/tubes/qa/test-config.ini");
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);
}
rtl::Bootstrap aTestConfig( maTestConfigIniURL ); rtl::Bootstrap aTestConfig( maTestConfigIniURL );
TeleManager::addSuffixToNames( "TeleTest"); TeleManager::addSuffixToNames( "TeleTest");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment