Change order of parameter to LTRB for better readability
[LibreOffice.git] / basic / qa / basic_coverage / test_equalunoobjects_method.vb
blob9e7666ae5b746f4f311ae29a30d6404195bf898a
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
9 ' EqualUnoObjects
10 ' Copy of objects -> same instance
11 oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )
12 oIntro2 = oIntrospection
13 If ( EqualUnoObjects( oIntrospection, oIntro2 ) = False ) Then
14 doUnitTest = "FAIL"
15 Else
16 ' Copy of structs as value -> new instance
17 Dim Struct1 as new com.sun.star.beans.Property
18 Struct2 = Struct1
19 If ( EqualUnoObjects( Struct1, Struct2 ) ) Then
20 doUnitTest = "FAIL"
21 Else
22 doUnitTest = "OK"
23 End If
24 End If
25 End Function