summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 14:25:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 14:25:54 +0100
commitb6988293c1c27dae8524ee0095d5e4c22ca62553 (patch)
tree7c43e16d5e769a7cb305313f5edde68f2d9a8397 /basic
parent245349ddaa51630e1dfec4037c0b8dd2f51e9651 (diff)
Revert "Remove test_getsystemticks_method.vb for now"
This reverts commit 93a8ebac2d6eb124bf57223069765af08fcd5c85, now that fce604c8ae11b462113305aba080d77f8193cfea "[API CHANGE] return unsigned 64-bit value from GetSystemTicks in basic code" is in.
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/basic_coverage/test_getsystemticks_method.vb15
1 files changed, 15 insertions, 0 deletions
diff --git a/basic/qa/basic_coverage/test_getsystemticks_method.vb b/basic/qa/basic_coverage/test_getsystemticks_method.vb
new file mode 100644
index 000000000000..878b38bf2f77
--- /dev/null
+++ b/basic/qa/basic_coverage/test_getsystemticks_method.vb
@@ -0,0 +1,15 @@
+' This file is part of the LibreOffice project.
+'
+' This Source Code Form is subject to the terms of the Mozilla Public
+' License, v. 2.0. If a copy of the MPL was not distributed with this
+' file, You can obtain one at http://mozilla.org/MPL/2.0/.
+'
+
+Function doUnitTest as Integer
+ ' GETSYSTEMTICKS
+ If ( GetSystemTicks < 0 ) Then
+ doUnitTest = 0
+ Else
+ doUnitTest = 1
+ End If
+End Function