summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:11 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:11 +0100
commitd8d6bee713afcccec30477cd231119a41ec584db (patch)
treeb4c6fb03b536b589af9aabd7085613708f645fb9 /testtools
parentdb676752e47f0d0fb562f3d46129e9066717459d (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/performance/pseudo.cxx2
-rw-r--r--testtools/source/performance/ubobject.cxx2
-rw-r--r--testtools/source/performance/ubtest.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/testtools/source/performance/pseudo.cxx b/testtools/source/performance/pseudo.cxx
index 4309b0606b15..0eeadd9624de 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 731295d43ced..d244711ea297 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 e3b35c056082..d0ead0dad4a6 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;