[Libreoffice-bugs] [Bug 136112] Basic Time function returns inconsistent datatype

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 9 16:16:48 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136112

--- Comment #7 from Alain Romedenne <alain.romedenne at libreoffice.org> ---
Suggestion for a QA unit test routine:

Function doUnitTest as Integer
  ''' Return 'text' OR 'date' variable '''

  If ( TypeName(Time$)<>"String" Or Vartype(Time())<>V_DATE ) Then
    doUnitTest = 0 ' not successful
  Else
    doUnitTest = 1 ' Ok
  End If
End Function

Sub DEV_TST : MsgBox doUnitTesT : End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200909/ddba4e0d/attachment.htm>


More information about the Libreoffice-bugs mailing list