update dev300-m58
[ooovba.git] / applied_patches / 0459-unittesting-stoc.diff
blobd7d1a660658a7b9662f1c871d348522ff8fc761a
1 --- stoc/prj/tests.lst 1970-01-01 01:00:00.000000000 +0100
2 +++ stoc/prj/tests.lst 2007-09-07 11:09:03.000000000 +0200
3 @@ -0,0 +1,10 @@
4 +#does not link: tc stoc\test nmake - all tc_test NULL
5 +#depends on tc_test_tdmanager: tc stoc\test\excomp nmake - all tc_test_excomp tc_test_tdmanager NULL
6 +tc stoc\test\javavm nmake - all tc_test_javavm NULL
7 +tc stoc\test\javavm\jvm_interaction nmake - all tc_test_javavm_jvm_interaction NULL
8 +tc stoc\test\javavm\testapplet nmake - all tc_test_javavm_testapplet NULL
9 +tc stoc\test\javavm\testcomponent nmake - all tc_test_javavm_testcomponent NULL
10 +#does not link: tc stoc\test\registry_tdprovider nmake - all tc_test_registry_tdprovider NULL
11 +tc stoc\test\security nmake - all tc_test_security NULL
12 +#does not link: tc stoc\test\tdmanager nmake - all tc_test_tdmanager NULL
13 +#does not link: tc stoc\test\uriproc nmake - all tc_test_uriproc NULL
14 --- stoc/test/excomp/excomp1.cxx 2006-09-16 19:42:40.000000000 +0200
15 +++ stoc/test/excomp/excomp1.cxx 2007-09-07 11:01:39.000000000 +0200
16 @@ -192,10 +192,10 @@ sal_Bool SAL_CALL component_writeInfo(
17 reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
18 OUString( RTL_CONSTASCII_USTRINGPARAM("/" IMPLNAME1 "/UNO/SERVICES") ) ) );
20 - const Sequence< OUString > & rSNL =
21 + Sequence< OUString > aSNL =
22 ::excomp_impl::ExampleComponent1Impl::getSupportedServiceNames_Static();
23 - const OUString * pArray = rSNL.getConstArray();
24 - for ( sal_Int32 nPos = rSNL.getLength(); nPos--; )
25 + const OUString * pArray = aSNL.getConstArray();
26 + for ( sal_Int32 nPos = aSNL.getLength(); nPos--; )
27 xNewKey->createKey( pArray[nPos] );
29 return sal_True;
30 --- stoc/test/excomp/excomp2.cxx 2006-09-16 19:42:52.000000000 +0200
31 +++ stoc/test/excomp/excomp2.cxx 2007-09-07 11:03:15.000000000 +0200
32 @@ -267,10 +267,10 @@ sal_Bool SAL_CALL component_writeInfo(
33 reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
34 OUString( RTL_CONSTASCII_USTRINGPARAM("/" IMPLNAME2 "/UNO/SERVICES") ) ) );
36 - const Sequence< OUString > & rSNL =
37 + Sequence< OUString > aSNL =
38 ::excomp2_impl::ExampleComponent2Impl::getSupportedServiceNames_Static();
39 - const OUString * pArray = rSNL.getConstArray();
40 - for ( sal_Int32 nPos = rSNL.getLength(); nPos--; )
41 + const OUString * pArray = aSNL.getConstArray();
42 + for ( sal_Int32 nPos = aSNL.getLength(); nPos--; )
43 xNewKey->createKey( pArray[nPos] );
45 return sal_True;