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/.
12 Function doUnitTest
as String
14 doUnitTest
= TestUtil
.GetResult()
17 Function [Функция
]([😁
])
18 [Функция
] = [😁
] & " and some text"
21 Function TestNonAscii
as Integer
27 Function TestNonAsciiNative
as Integer
30 TestNonAsciiNative
= [абв
]
34 On Error GoTo errorHandler
36 TestUtil
.AssertEqual([Функция
]("Smiley"), "Smiley and some text", "[Функция](""Smiley"")")
38 ' tdf#148358 - compare Non-ASCII variable names case-insensitive
39 TestUtil
.AssertEqual(TestNonAscii(), 10, "TestNonAscii()")
40 TestUtil
.AssertEqual(TestNonAsciiNative(), 5, "TestNonAsciiNative()")
44 TestUtil
.ReportErrorHandler("Prüfung Compatible", Err
, Error$, Erl
)