filter: sigh... fix the xslt test to run on WNT too
Change-Id: Iadd5034418e077bf051b23cda70f070c52840645
This commit is contained in:
@@ -77,6 +77,7 @@ void XsltFilterTest::testXsltCopyNew()
|
|||||||
OUString tempURL;
|
OUString tempURL;
|
||||||
osl::File::RC rc = osl::File::createTempFile(0, &tempFile, &tempURL);
|
osl::File::RC rc = osl::File::createTempFile(0, &tempFile, &tempURL);
|
||||||
CPPUNIT_ASSERT(osl::FileBase::E_None == rc);
|
CPPUNIT_ASSERT(osl::FileBase::E_None == rc);
|
||||||
|
osl_closeFile(tempFile); // close it so xSFA can open it on WNT
|
||||||
|
|
||||||
OUString source(
|
OUString source(
|
||||||
getURLFromSrc("/filter/source/xsltfilter/xsltfilter.component"));
|
getURLFromSrc("/filter/source/xsltfilter/xsltfilter.component"));
|
||||||
@@ -131,6 +132,7 @@ void XsltFilterTest::testXsltCopyOld()
|
|||||||
OUString tempURL;
|
OUString tempURL;
|
||||||
osl::File::RC rc = osl::File::createTempFile(0, &tempFile, &tempURL);
|
osl::File::RC rc = osl::File::createTempFile(0, &tempFile, &tempURL);
|
||||||
CPPUNIT_ASSERT(osl::FileBase::E_None == rc);
|
CPPUNIT_ASSERT(osl::FileBase::E_None == rc);
|
||||||
|
osl_closeFile(tempFile); // close it so xSFA can open it on WNT
|
||||||
|
|
||||||
OUString source(
|
OUString source(
|
||||||
getURLFromSrc("/filter/source/xsltfilter/xsltfilter.component"));
|
getURLFromSrc("/filter/source/xsltfilter/xsltfilter.component"));
|
||||||
|
Reference in New Issue
Block a user