summaryrefslogtreecommitdiff
path: root/stoc/test/testconv.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:30:10 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:30:10 +1000
commitf81e6f5c78686be9d58174800983012ec025b849 (patch)
tree6ce56eaec7c45fabc64b5f32a6a652f48bda65f5 /stoc/test/testconv.cxx
parent3cf126d701484c8141f9c64e87127f3e858c2aef (diff)
tdf#43157: convert stoc tests from OSL_ASSERT to assert
Change-Id: Ibe34f5c62897d753150d7e302767126980a17552
Diffstat (limited to 'stoc/test/testconv.cxx')
-rw-r--r--stoc/test/testconv.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx
index 1e9aae16ed42..bbca4088d856 100644
--- a/stoc/test/testconv.cxx
+++ b/stoc/test/testconv.cxx
@@ -642,13 +642,13 @@ static void test_Conversion( const Reference< XMultiServiceFactory > & xMgr )
aRet = xConverter->convertTo( aRet, cppu::UnoType<XServiceInfo>::get());
aRet <<= SAL_CONST_INT64(0x7fffffffffffffff);
aRet = xConverter->convertTo( aRet, cppu::UnoType<sal_uInt64>::get());
- OSL_ASSERT( *(const sal_uInt64 *)aRet.getValue() == SAL_CONST_UINT64(0x7fffffffffffffff) );
+ assert( *(const sal_uInt64 *)aRet.getValue() == SAL_CONST_UINT64(0x7fffffffffffffff) );
aRet <<= SAL_CONST_UINT64(0xffffffffffffffff);
aRet = xConverter->convertTo( aRet, cppu::UnoType<sal_uInt64>::get());
- OSL_ASSERT( *(const sal_uInt64 *)aRet.getValue() == SAL_CONST_UINT64(0xffffffffffffffff) );
+ assert( *(const sal_uInt64 *)aRet.getValue() == SAL_CONST_UINT64(0xffffffffffffffff) );
aRet <<= SAL_CONST_INT64(-1);
aRet = xConverter->convertTo( aRet, cppu::UnoType<sal_Int8>::get());
- OSL_ASSERT( *(const sal_Int8 *)aRet.getValue() == (-1) );
+ assert( *(const sal_Int8 *)aRet.getValue() == (-1) );
printf( "test_Conversion(): end.\n" );
}