Update git submodules
[LibreOffice.git] / basic / qa / basic_coverage / test_Property.GetLet.bas
blobf8fa6dd14b328d33661ffc060fdfd4f40c8e2e35
2 ' This file is part of the LibreOffice project.
4 ' This Source Code Form is subject to the terms of the Mozilla Public
5 ' License, v. 2.0. If a copy of the MPL was not distributed with this
6 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 Option Explicit
10 Option Compatible
12 Function doUnitTest as String
13 ' PROPERTY GET/LET
14 aString = "Office"
15 If ( aString <> "LibreOffice") Then
16 doUnitTest = "FAIL" ' Ko
17 Else
18 doUnitTest = "OK" ' Ok
19 End If
20 End Function
22 Dim _pn As String
23 Property Get aString As String
24 aString = _pn
25 End Property
26 Property Let aString(value As String)
27 _pn = "Libre"& value
28 End Property