Commit graph

8038 commits

Author SHA1 Message Date
Christof Thalhofer
608e5f80ad FTestSuite to organize test
[DEVELOPMENT ENVIRONMENT]
* NEW: Form FTestSuite to organize test suites
[GB.TEST]
* OPT: Prints all tests as string with Test.Main(_TRIG_GETTESTS)
2020-05-17 13:19:24 +02:00
gambas
d0ee8dd92c FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
[GB.FORM]
* BUG: FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
* NEW: Add 'unselect' stock icon.
2020-05-17 13:19:24 +02:00
Tobias Boege
ea1c0d2fe0 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-17 13:19:24 +02:00
gambas
886a403ea7 Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-05-17 13:19:24 +02:00
gambas
0264dd173e WebButton: Don't react to click when disabled.
[GB.WEB.GUI]
* BUG: WebButton: Don't react to click when disabled.
2020-05-17 13:19:24 +02:00
gambas
761b3d64c1 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-17 13:19:24 +02:00
Christof Thalhofer
81f17d712c gb.test executes all tests with "*" 2020-05-14 14:20:08 +02:00
Christof Thalhofer
fa933ee86f small changes FTestSuite
Gambas3 did not compile, tests did not occur if not compiled
2020-05-14 14:12:10 +02:00
Christof Thalhofer
b445a7e859 gb.test integration to the IDE. TestSuites
[DEVELOPMENT ENVIRONMENT]
* NEW: FTestSuite to configure testsuites and store in project in .tests
[GB.TEST]
* NEW: testsuites
2020-05-14 13:15:54 +02:00
Christof Thalhofer
769b611362 gb.test some changes for integration to IDE et al
[GB.TEST]
* NEW: TestRunner.List returns all tests as TestCommand[]
* NEW: Test.Main can be triggered to report all tests as string
* NEW: TestCommand FromString and ToString to convert TestCopmmands into objects and vice versa
2020-05-14 13:08:03 +02:00
Christof Thalhofer
427ed14d2e gb.test: Rename TestHarness to TestRunner, TestRunner.List 2020-05-13 14:20:57 +02:00
Christof Thalhofer
cbefcd7660 gb.test: new function Test.AllTestsJson
[GB.TEST]
* NEW: New function Test.AllTestsJson
2020-05-13 11:14:19 +02:00
gambas
78a969ea0c X11Systray.Show() now takes the icon background color as second optional argument.
[GB.DESKTOP.X11]
* NEW: X11Systray.Show() now takes the icon background color as second optional argument. The default color is black.
2020-05-12 09:43:47 +02:00
gambas
fc79447baa Update a few icons.
[GB.FORM.STOCK]
* NEW: Update a few icons.
2020-05-12 09:42:39 +02:00
gambas
c681983e01 Use the Unity protocol on all desktops.
[GB.DBUS.TRAYICON]
* BUG: Use the Unity protocol on all desktops.
2020-05-12 09:41:46 +02:00
gambas
bfb3597358 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-12 01:14:29 +02:00
gambas
8395b972b8 Make READ and INPUT return void strings instead of NULL, otherwise JIT compiler fails.
[INTERPRETER]
* BUG: Make READ and INPUT return void strings instead of NULL, otherwise JIT compiler fails.
2020-05-12 01:13:43 +02:00
Christof Thalhofer
af5edf2d25 Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-05-12 00:52:42 +02:00
Christof Thalhofer
afd35b4517 Refactoring and further tasks to do
Rename container and testcase to the more gambassy names testmodule and
testmethod. started plan selftests.
2020-05-12 00:49:33 +02:00
Benoît Minisini
e2a411a369 Merge branch 'i18n' into 'master'
Remove two untranslated gettext strings

See merge request gambas/gambas!142
2020-05-11 22:15:51 +00:00
Benoît Minisini
861de3a55a Fix build of 'ubuntu eoan' and 'ubuntu latest'.
See merge request gambas/gambas!144
2020-05-11 22:14:32 +00:00
Christof Thalhofer
daf5b7d9f1 Remove gbt3
gbt3 is obsolete as gbx3 -T now does the same
2020-05-11 23:39:24 +02:00
Christof Thalhofer
e3c8df5568 gb.test: new function Test.GetAllTests
[GB.TEST]
* New: Test.GetAllTests returns a collection of all testmodules and their testmethods
2020-05-11 23:28:42 +02:00
Christof Thalhofer
2d2c545576 gb.test: Assert documentation
[GB.TEST]
* New: Assert is an instruction which is extended by gb.test. It's original functionality is now documented in the Assert.module.
2020-05-11 22:31:08 +02:00
Christof Thalhofer
77436fd06d gb.test Setup and Teardown methods hidden 2020-05-11 22:26:08 +02:00
gambas
492dccc28f Make the component visible again.
[GB.TEST]
* NEW: Make the component visible again.
* BUG: Fix two typos in comments.
2020-05-11 21:02:39 +02:00
gambas
06cd374e52 Display a warning message when running tests, if there is no test modules.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 13 fonts.
* NEW: Update french translation.
* NEW: Reorder debug panel buttons.
* NEW: Display a warning message when running tests, if there is no test modules.
2020-05-11 21:00:55 +02:00
gambas
4ffe077529 System tray now works with QT5. Drawing on a cached DrawingArea does not display a warning message anymore.
[GB.DESKTOP.X11]
* BUG: System tray now works with QT5. A display glitch remains.

[GB.QT4]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.

[GB.QT5]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.
* BUG: X11 event filter correctly handle ClientMessage events now.
2020-05-11 18:37:21 +02:00
Andy
27a6f2a5f2
CI Build Failure
[GITLAB]
* BUG: CI build fails on Eoan due to Timezone
* BUG: CI build fails on Eoan due to Keyboard
* BUG: CI build fails on Eoan due to Keyring
* BUG: CI build fails on Latest due to Timezone
* BUG: CI build fails on Latest due to Keyboard
* BUG: CI build fails on Latest due to Keyring
* BUG: CI Build fails on Latest due to Qt4
2020-05-11 03:49:49 -07:00
gambas
833178b0f9 Automatically load 'gb.test' for automatic completion.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatically load 'gb.test' for automatic completion.
2020-05-10 15:58:37 +02:00
gambas
e5adb0eff7 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-10 14:52:10 +02:00
gambas
9a9d347c8a Automatically load 'gb.test' information.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatically load 'gb.test' information.
2020-05-10 14:51:53 +02:00
Christof Thalhofer
31b519d733 gb.test updated unittesthelloworld
[GB.TEST]
* NEW: example unittesthelloworld does not load component gb.test
2020-05-10 09:06:43 +02:00
gambas
f319132dfc Ignore hidden components specified in the project file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore hidden components specified in the project file.
2020-05-09 20:55:56 +02:00
gambas
ac5068e9c2 Automatically add 'gb.test' component information when a project includes a test module.
[COMPILER]
* BUG: Automatically add 'gb.test' component information when a project includes a test module.
2020-05-09 20:55:04 +02:00
gambas
44bacadeda Suport for unit tests in the IDE.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Add a 'test' button, that run the project in test mode, using the debugger.
* NEW: Add a specific output tab for the unit tests result.
* BUG: Selection of menu icons now allows stock icons again.
2020-05-07 15:23:14 +02:00
gambas
db95af0cb2 Make 'gb.test' component hidden, as it is now loaded automatically.
[GB.TEST]
* NEW: Raise the component to the 'Stable but not finished' state.
* NEW: Make the component hidden, as it is now loaded automatically.
2020-05-07 15:15:57 +02:00
gambas
986ca05fc4 Automatically load 'gb.test' component when the '-T' option is used.
[INTERPRETER]
* NEW: Automatically load 'gb.test' component when the '-T' option is used.
2020-05-07 15:15:13 +02:00
Tobias Boege
fa27ff8204 gb.test: Tidy up TestHarness
[GB.TEST]
* OPT: Remove cruft from TestHarness. Use the new `gbx3 -T` mode. Make it a module.
2020-05-07 13:15:57 +02:00
Tobias Boege
e3a9ac58e8 gb.test: Exit with appropriate status code
[GB.TEST]
* BUG: Test.Main() now `Quit`s with 0 or 1 indicating whether tests passed or failed.
2020-05-07 13:15:54 +02:00
Tobias Boege
a965afa0e5 gb.test: Hide more classes and symbols
[GB.TEST]
* OPT: Hide more classes and symbols.

TapPrinter, TapParser and TapContext are not exported anymore. The Tap
constants are moved into other classes. Some public methods/properties
that expose printer, parser or context are hidden.
2020-05-07 12:57:55 +02:00
gambas
1cd23bb578 Interpreter options now accept a void argument.
[INTERPRETER]
* BUG: Interpreter options now accept a void argument.
2020-05-07 10:18:33 +02:00
gambas
931ecc6c61 Use '-r' interpreter option to redirect standard error output.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use '-r' interpreter option to redirect standard error output.
2020-05-07 08:19:59 +02:00
gambas
368165ff2f Add '-T' option to run test modules.
[INTERPRETER]
* NEW: Add '-T' option to run test modules.
* NEW: Update help message and display options in alphabetic order.
* BUG: Use '-r' option now to redirect standard error output. No conflict anymore with '-t'.
2020-05-07 08:18:48 +02:00
Benoît Minisini
dc78477281 Update .gitlab-ci.yml 2020-05-04 19:53:36 +00:00
Benoît Minisini
61b5905489 Update 'debian-testing' with 'libgime-3.0-dev'. 2020-05-04 19:44:51 +00:00
Benoît Minisini
ab67621cc5 Add 'ubuntu-eoan', update 'ubuntu-latest'. 2020-05-04 19:42:23 +00:00
gambas
3c510ed644 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-04 21:31:04 +02:00
gambas
e67263696f Search dialog: Support for browsing compressed files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Support for browsing compressed files.
* NEW: Use global constants for IDE blue and orange colors.
2020-05-04 21:29:22 +02:00
gambas
7612fb0268 Stock: Better support of some icon themes. Add 'share' stock icon.
[GB.FORM]
* BUG: Stock: Better support of some icon themes.
* NEW: New stock icon 'share'.

[GB.FORM.STOCK]
* NEW: New stock icon 'share'.
2020-05-04 21:27:23 +02:00