summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-08 09:47:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-08 09:47:31 +0100
commitb92890a5d8162cc59793589c4c98de59b2cb53a7 (patch)
treee14012ffd2da4fbdd049d67b954693b208fe3954 /sal
parentaa584559a8ada4e31331ab8a23f2c09eb11c609b (diff)
so *that's* where the hello/world we're coming from
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/file/osl_File.cxx27
1 files changed, 5 insertions, 22 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 2cb0bb3e83fe..a1683e196093 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -6151,6 +6151,8 @@ namespace osl_Directory
FileBase::RC rc = Directory::createPath(tp_url);
+ rm_test_path(tp_url);
+
CPPUNIT_ASSERT_MESSAGE
(
"osl_createDirectoryPath failed",
@@ -6169,6 +6171,9 @@ namespace osl_Directory
FileBase::RC rc = Directory::createPath(tp_url, observer);
int nDirs = observer->number_of_dirs_created();
delete observer;
+
+ rm_test_path(tp_url);
+
CPPUNIT_ASSERT_MESSAGE
(
"osl_createDirectoryPath failed",
@@ -6220,24 +6225,6 @@ namespace osl_Directory
rc != FileBase::E_None
);
}
-
- //##########################################
- void with_UNC_path()
- {
-
- OUString tp_unc (RTL_CONSTASCII_USTRINGPARAM("\\\\Tra-1\\TRA_D\\hello\\world\\"));
- OUString tp_url;
- FileBase::getFileURLFromSystemPath(tp_unc, tp_url);
-
- FileBase::RC rc = Directory::createPath(tp_url);
-
- CPPUNIT_ASSERT_MESSAGE
- (
- "osl_createDirectoryPath fails with UNC path",
- rc == FileBase::E_None
- );
- }
-
#endif /* WNT */
CPPUNIT_TEST_SUITE(createPath);
@@ -6246,10 +6233,6 @@ namespace osl_Directory
CPPUNIT_TEST(with_callback);
#ifdef WNT
CPPUNIT_TEST(at_invalid_logical_drive);
-
- // adapt the UNC path in method createDirectoryPath_with_UNC_path
- // in order to run this test successfully
- //CPPUNIT_TEST(with_UNC_path);
#endif
CPPUNIT_TEST_SUITE_END();