Commit graph

2707 commits

Author SHA1 Message Date
gambas
f4acc8407b TreeView: Fix selection and keyboard management when ShowCheck property is set.
[GB.GUI.BASE]
* BUG: TreeView: Fix selection and keyboard management when ShowCheck property is set.
2020-05-16 17:51:49 +02:00
gambas
849a34857f TreeView: ShowCheck is a new property that uses checkboxes to handle selection mode.
[GB.GUI.BASE]
* BUG: TreeView: Take padding into account when interpreting mouse events.
* BUG: TreeView: Fix right-to-left layout management.
* NEW: TreeView: ShowCheck is a new property that uses checkboxes to handle selection mode.
* NEW: Paint.Check() is a new method that draws a check mark.
2020-05-16 10:15:34 +02:00
gambas
a04fa2a24b 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-16 01:41:58 +02:00
gambas
aa46af3681 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 20:35:01 +02:00
gambas
a06a6485fd Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-05-14 20:34:51 +02:00
gambas
4bda6391ec WebButton: Don't react to click when disabled.
[GB.WEB.GUI]
* BUG: WebButton: Don't react to click when disabled.
2020-05-14 20:34:03 +02:00
Tobias Boege
05d9fdf865 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-14 12:53:17 +02:00
gambas
ef32c2e7a2 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 09:39:11 +02:00
gambas
7b30f81ab2 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-14 09:38:23 +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
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
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
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
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
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
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
3c510ed644 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-04 21:31:04 +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
gambas
5cfd01f3c1 WebListBox: Fix read of Index property.
[GB.WEB.GUI]
* BUG: WebListBox: Fix read of Index property.
2020-05-04 21:26:03 +02:00
Christof Thalhofer
f36281a694 Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-05-04 12:51:03 +02:00
Christof Thalhofer
de4fc3c4cf gb.test README documentation
[GB.TEST]
* NEW: Update documentation in README
2020-05-04 12:47:03 +02:00
gambas
5675853767 WebListBox: Fix behaviour in multiple selection mode.
[GB.WEB.GUI]
* BUG: WebListBox: Fix behaviour in multiple selection mode.
* BUG: Fix how the executable path is forged.
2020-05-04 02:14:04 +02:00
Christof Thalhofer
c733083a32 gbt3 install and task 2020-05-03 11:26:05 +02:00
Christof Thalhofer
ed8f5b73ad gbt3: some fixes and tasks done
Returns exit code.

Doesn't print a summary any more as this is provided by gb.test.

Doesn't print blank line at the beginning any more. Plan has to be in
the first line.

Works fine with tappy (python TAP consumer)

Kills temporary startup file
2020-05-03 10:35:29 +02:00
Christof Thalhofer
fc2ad34525 README small fix 2020-05-03 07:42:45 +02:00
Christof Thalhofer
645f972bdf README and tasks updated 2020-05-03 07:36:31 +02:00
Christof Thalhofer
08d798c186 hide Test.Finish and documentation 2020-05-02 18:35:48 +02:00
Christof Thalhofer
36b2e39ebe Test Assert.Like 2020-05-02 17:22:58 +02:00
Christof Thalhofer
2c111a14c3 Assert documentation – not fully done
Left descrition of Approximate and RelativeApproximate to a mathematician.
;-)
2020-05-02 17:20:42 +02:00
Christof Thalhofer
178ce9c26c Remove TestSetupTeardown in TestMe also 2020-05-02 15:28:30 +02:00
Christof Thalhofer
6b2f8ec1b2 delete redundant TestSetupTeardown.test 2020-05-02 15:27:35 +02:00
Christof Thalhofer
91c4ce2638 started documentation and task hide symbols 2020-05-02 11:53:30 +02:00
Christof Thalhofer
3cf670ef85 Test.PrintSummary: Result in the last line 2020-05-01 18:59:20 +02:00
Tobias Boege
4c2a4f47f5 Show TODOs and SKIPs in summary
[GB.TEST]
* BUG: Do not trim whitespace from diagnostic lines.
* NEW: Show TODOs (failed and bonus) and SKIPs in summary.

Previously, TapPrinter.Diagnostic would Trim$ its argument before
splitting it by line. This would remove any indentation that may
be useful for formatted diagnostics output, so it has to go.
Additionally I special-case Null and gb.Lf to print exactly "#\n",
which is a common use case as a visual separator.
2020-05-01 15:57:53 +02:00
Christof Thalhofer
7d480229e0 Rewrite TestSummary and TestMe
TestSummary.DoSomeAsserts, DoTodo and DoSkip succeed
2020-05-01 10:42:29 +02:00
Christof Thalhofer
098c5915a5 New Bug: Directives are never stored.
This must be fixed before Summary can be created.
2020-04-28 12:17:02 +02:00
Christof Thalhofer
0943f349eb taskell updated: Todo exists 2020-04-28 09:36:44 +02:00
Christof Thalhofer
c306e9a5fc Fix: Free Assert from non-assertions
Assert free from non-assertions. Also Assert and Test now are
modules.
2020-04-27 12:01:47 +02:00
Christof Thalhofer
7712c62e47 taskell better explanation 2020-04-26 13:07:31 +02:00
Christof Thalhofer
750a6057d1 Taskell next task todo and skip
Both are not implemented well but necessary for summary
2020-04-26 12:49:06 +02:00
Christof Thalhofer
127eb07385 Merge remote-tracking branch 'upstream/master' into testing-system 2020-04-26 12:07:56 +02:00
Christof Thalhofer
d7a478cc81 Fix: Test bails out if testmodule doesn't exist 2020-04-26 11:23:01 +02:00
Christof Thalhofer
d02c023e67 TestFailures and TestSummary updated 2020-04-26 11:03:53 +02:00