summaryrefslogtreecommitdiff
path: root/sal/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:37 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:37 +0100
commit5a7f6793ac227c348198ae5958db5951214ec8d2 (patch)
tree25610ad164b4f66d705aecf6ea6c3ee72809c7e3 /sal/test
parent1fa55878d9a8e0ce48501ad82fb537dc9c29855a (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'sal/test')
-rw-r--r--sal/test/unloading/samplelib1.cxx2
-rw-r--r--sal/test/unloading/samplelib2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/test/unloading/samplelib1.cxx b/sal/test/unloading/samplelib1.cxx
index 5199e25a6078..a0557906f3dc 100644
--- a/sal/test/unloading/samplelib1.cxx
+++ b/sal/test/unloading/samplelib1.cxx
@@ -172,7 +172,7 @@ extern "C" {
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;
diff --git a/sal/test/unloading/samplelib2.cxx b/sal/test/unloading/samplelib2.cxx
index 621dace1db20..348e2619646c 100644
--- a/sal/test/unloading/samplelib2.cxx
+++ b/sal/test/unloading/samplelib2.cxx
@@ -157,7 +157,7 @@ extern "C" {
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;