[Libreoffice-commits] .: sal/qa
Joseph Powers
jpowers at kemper.freedesktop.org
Wed Feb 23 18:37:28 PST 2011
sal/qa/osl/security/osl_Security.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 685018b7ab0d87672efd00ffb96f8ab2c1041b01
Author: Joseph Powers <jpowers27 at cox.net>
Date: Wed Feb 23 18:37:13 2011 -0800
Fix MacOS X build issue.
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx
index 31c318e..674aa69 100644
--- a/sal/qa/osl/security/osl_Security.cxx
+++ b/sal/qa/osl/security/osl_Security.cxx
@@ -228,12 +228,16 @@ namespace osl_Security
void getConfigDir_001( )
{
+#if not defined( MACOSX )
+ // Note: on Mac OS, configuration information is kept at ~/Application%20Support and
+ // not in~/; thus, this test should always fail since strConfigDirectory is ~/
::osl::Security aSec;
::rtl::OUString strConfig;
bRes = aSec.getConfigDir( strConfig );
CPPUNIT_ASSERT_MESSAGE( "#test comment#: getHomeDir and compare it with the info we get at the beginning.",
( sal_True == strConfigDirectory.equals( strConfig ) ) && ( sal_True == bRes ) );
+#endif
}
CPPUNIT_TEST_SUITE( getConfigDir );
More information about the Libreoffice-commits
mailing list