tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / basic / qa / basic_coverage / test_non_ascii_names.bas
blobc85c9cae12cbcd8414e0d0ef10beba329517fa49
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
11 Function doUnitTest as String
12 [Prüfung]
13 doUnitTest = TestUtil.GetResult()
14 End Function
16 Function [Функция]([😁])
17 [Функция] = [😁] & " and some text"
18 End Function
20 Function TestNonAsciiNative as Integer
21 Dim [Абв] as Integer
22 [Абв] = 5
23 TestNonAsciiNative = [абв]
24 End Function
26 Sub [Prüfung]
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()")
34 Exit Sub
35 errorHandler:
36 TestUtil.ReportErrorHandler("Prüfung", Err, Error$, Erl)
37 End Sub