summaryrefslogtreecommitdiff
path: root/stoc/test/testintrosp.cxx
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-06-22 15:21:02 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-06-22 15:21:02 +0000
commita242da96dcd112e05ce9fa7f309d6618c61994f9 (patch)
tree69ca906d0d83d85d895c3c1979b7983763206f87 /stoc/test/testintrosp.cxx
parentf599f37ea5f3fb270ea818b87ec5429e86d01ade (diff)
#67468# Added unloading and context support
Diffstat (limited to 'stoc/test/testintrosp.cxx')
-rw-r--r--stoc/test/testintrosp.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index 2a54d05b3240..79edc32c54f8 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testintrosp.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dbo $ $Date: 2001-05-15 13:13:28 $
+ * last change: $Author: jbu $ $Date: 2001-06-22 16:21:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1608,8 +1608,10 @@ int __cdecl main( int argc, char * argv[] )
#endif
#endif
// ORealDynamicLoader::computeLibraryName( OUString::createFromAscii("corefl"), libName);
+ fprintf(stderr, "1\n" );
xImplReg->registerImplementation(OUString::createFromAscii("com.sun.star.loader.SharedLibrary"),
libName, Reference< XSimpleRegistry >() );
+ fprintf(stderr, "2\n" );
Reference< XIdlReflection > xRefl( xMgr->createInstance( OUString::createFromAscii("com.sun.star.reflection.CoreReflection") ), UNO_QUERY );
OSL_ENSURE( xRefl.is(), "### no corereflection!" );
@@ -1624,12 +1626,16 @@ int __cdecl main( int argc, char * argv[] )
#endif
#endif
// ORealDynamicLoader::computeLibraryName( OUString::createFromAscii("insp"), libName);
+ fprintf(stderr, "3\n" );
xImplReg->registerImplementation(OUString::createFromAscii("com.sun.star.loader.SharedLibrary"),
libName, Reference< XSimpleRegistry >() );
+ fprintf(stderr, "4\n" );
Reference< XIntrospection > xIntrosp( xMgr->createInstance( OUString::createFromAscii("com.sun.star.beans.Introspection") ), UNO_QUERY );
OSL_ENSURE( xRefl.is(), "### no corereflection!" );
+ fprintf(stderr, "before test_introsp\n" );
bSucc = test_introsp( xMgr, xRefl, xIntrosp );
+ fprintf(stderr, "after test_introsp\n" );
//bSucc = test_corefl( xRefl );
}
catch (Exception & rExc)