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/.
11 Function doUnitTest
as String
13 doUnitTest
= TestUtil
.GetResult()
16 Function [Функция
]([😁
])
17 [Функция
] = [😁
] & " and some text"
20 Function TestNonAsciiNative
as Integer
23 TestNonAsciiNative
= [абв
]
27 On Error GoTo errorHandler
29 TestUtil
.AssertEqual([Функция
]("Smiley"), "Smiley and some text", "[Функция](""Smiley"")")
31 ' tdf#148358 - compare Non-ASCII variable names case-insensitive
32 TestUtil
.AssertEqual(TestNonAsciiNative(), 5, "TestNonAsciiNative()")
36 TestUtil
.ReportErrorHandler("Prüfung", Err
, Error$, Erl
)