1 ' This file is part of the LibreOffice project.
3 ' This Source Code Form is subject to the terms of the Mozilla Public
4 ' License, v. 2.0. If a copy of the MPL was not distributed with this
5 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 Function doUnitTest
as String
10 ' Copy of objects -> same instance
11 oIntrospection
= CreateUnoService( "com.sun.star.beans.Introspection" )
12 oIntro2
= oIntrospection
13 If ( EqualUnoObjects( oIntrospection
, oIntro2
) = False ) Then
16 ' Copy of structs as value -> new instance
17 Dim Struct1
as new com
.sun
.star
.beans
.Property
19 If ( EqualUnoObjects( Struct1
, Struct2
) ) Then