Commit Graph

21 Commits

Author SHA1 Message Date
Norbert Thiebaud
b68a0f6595 basic add a generic unit test fixture
basic_coverage is a generic unit test that scan
qa/basic_coverage/*

each file there is supposed to be a well formed Basic script
that define as least a Function doUnitTest as Integer
that return 1 if OK, 0 if not OK

Change-Id: I6c3cfac1e7ce4748f46c04344102a0eff69b6a49
2012-11-03 20:24:28 -05:00
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Noel Power
cac7e7cdc2 split out some common basic test stuff, add intial nested struct test
Change-Id: I8da6b3166e40e92c31ee001ce19938f286e057b9
2012-07-05 13:56:42 +01:00
Michael Stahl
e9bc6d7897 Revert "attempt to disable multi-defined symbol on windows for basic test"
Let's hope this works now.

This reverts commit 6113b27ec1.
This reverts commit 4e90345a4d.
2012-05-14 16:34:10 +02:00
Noel Power
4e90345a4d fix missing ')' in Module.basic.mk
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14 15:08:28 +01:00
Noel Power
6113b27ec1 attempt to disable multi-defined symbol on windows for basic test
CppunitTest_basic_enable.mk & test_basic_enable.dll seems to suffer for some strange multiple defined symbol crack which is killing the tinderboxes, disable for the moment

Change-Id: I1584c11a0445ac36c138ae075ca365ad4b2effe1
2012-05-14 15:06:29 +01:00
Noel Power
d87676da22 simple compile test for use of 'Enable' in a Dim statement
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
2012-05-14 12:01:08 +01:00
Tor Lillqvist
b69285590d Change my mind again: Do build a subset sb library even for DISABLE_SCRIPTING
The tables functionality in Writer documents need SbxValue.
2012-03-05 22:30:10 +02:00
Tor Lillqvist
c91f279e7e Revert "Build libsb with a few dummy classes also for --disable-scripting"
Nah, these dummy classes would turn out quite complex anyway. Better
to just use ifdefs elsewhere, the number required is not that large.

This reverts commit 6d33801b44.
2012-03-05 02:05:24 +02:00
Tor Lillqvist
6d33801b44 Build libsb with a few dummy classes also for --disable-scripting
Work in progress, the dummy class implementations surely still
incomplete and/or might contain methods not actually needed. More
dummy class implementations needed, hopefully not too many
though. Will add also a few ifdefs for DISABLE_SCRIPTING in some key
places in sc and elsewhere to cut down on the need.
2012-03-01 01:26:18 +02:00
Tor Lillqvist
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
Tor Lillqvist
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00
Tor Lillqvist
a925b72db3 Do deliver headers also for iOS even if we don't build the libs 2012-01-27 22:44:04 +02:00
Tor Lillqvist
81cf9f5099 Bypass building BASIC and scripting related modules for iOS
Any LO-based app distributed through the App Store can't have
scripting or extendability anyway.

Sure, this will break the build elsewhere because of missing headers.
No big deal, I will take care of that eventually. It isn't as if there
would anybody else building for iOS anyway, as far as I know. If there
is, please make yourself heard.
2012-01-27 22:43:58 +02:00
August Sodora
99ec322768 Remove archaic tests 2011-12-08 23:59:57 -05:00
August Sodora
f58ae13e8a Prevent the testtool from building 2011-12-05 17:16:45 -05:00
Michael Meeks
e31496c938 misc trivial tweaks, and documentation addition 2011-10-21 10:08:58 +01:00
August Sodora
034350a509 String->OUString, with accompanying tests 2011-10-21 10:08:57 +01:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Tor Lillqvist
4122c3b9d5 Add consistent Emacs and vim mode lines 2011-07-30 23:02:30 +03:00
Matúš Kukan
c8e76fbfed convert basic to gbuild 2011-07-30 10:39:20 +02:00