[Libreoffice-commits] .: testtools/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Sat Mar 19 06:11:51 PDT 2011
testtools/source/performance/pseudo.cxx | 2 +-
testtools/source/performance/ubobject.cxx | 2 +-
testtools/source/performance/ubtest.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ec36a79cba715cf500e77e3023f2c6b40b9edf12
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Sat Mar 19 14:12:11 2011 +0100
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
diff --git a/testtools/source/performance/pseudo.cxx b/testtools/source/performance/pseudo.cxx
index 32576b6..7d9ff35 100644
--- a/testtools/source/performance/pseudo.cxx
+++ b/testtools/source/performance/pseudo.cxx
@@ -244,7 +244,7 @@ pseudo_Mapping::~pseudo_Mapping()
//##################################################################################################
extern "C" void SAL_CALL uno_initEnvironment( uno_Environment * pUnoEnv )
{
- OSL_ENSURE( sal_False, "### no impl: unexpected call!" );
+ OSL_FAIL( "### no impl: unexpected call!" );
}
//##################################################################################################
extern "C" void SAL_CALL uno_ext_getMapping(
diff --git a/testtools/source/performance/ubobject.cxx b/testtools/source/performance/ubobject.cxx
index de99b1f..e490dfc 100644
--- a/testtools/source/performance/ubobject.cxx
+++ b/testtools/source/performance/ubobject.cxx
@@ -279,7 +279,7 @@ sal_Bool SAL_CALL component_writeInfo(
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;
diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index 6ea927d..13712c2 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -1310,7 +1310,7 @@ sal_Bool SAL_CALL component_writeInfo(
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;
More information about the Libreoffice-commits
mailing list