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/.
11 Function doUnitTest() As String
14 doUnitTest
= TestUtil
.GetResult()
17 Sub verify_tdf134692()
18 On Error GoTo errorHandler
23 redim preserve b(4 to 6)
24 for i
= lbound(b
) to ubound(b
)
27 for i
= lbound(a
) to ubound(a
)
28 s
= s
& " a(" & i
& ")=" & a(i
)
30 for i
= lbound(b
) to ubound(b
)
31 s
= s
& " b(" & i
& ")=" & b(i
)
33 TestUtil
.AssertEqual(s
, " a(2)= a(3)= a(4)= a(5)= b(4)=4 b(5)=5 b(6)=6", "tdf#134692")
37 TestUtil
.ReportErrorHandler("verify_tdf134692", Err
, Error$, Erl
)