slint/internal/compiler/tests/syntax/elements
Olivier Goffart 12393e21bd
syntax_tests: allow to update tests, and don't use a regexp (#8589)
* syntax_tests: allow to "bless" tests, and don't use a regexp

A regexp was used at the beginning because I thought we would want to
allow error to contains things that were not predictable or that would
often change. But this is not the case¹. It is better to actually test
for the full error message

¹ well actually it was the case for path, but there is another substitution to 
 `📂` for the manifest directory

* syntax_tests: Bless the tests

* syntax_tests: Manual adjust after bless

Because there used to be comments on the same line of the message which
bless don't support

* Fix error message with path on windows

 - The debug implementation of path make double slash, that's not what
   we want to show the user
 - normalize paths to use `/` so the test passes
2025-06-02 16:47:33 +02:00
..
component_container.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
contextmenu.slint Menu API changes 2025-02-21 16:03:47 +01:00
contextmenu2.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
listview.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
menubar-lookup.slint Rework lookup of sub-elements with regard to special accepted elements 2025-01-23 14:28:11 +01:00
menubar.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
menubar2.slint Introduce MenuSeparator 2025-04-02 11:50:45 +02:00
menubar3.slint MenuBar: error when MenuBar is repeated or conditional 2025-01-08 11:00:59 +01:00
popup.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
popup2.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
popup3.slint PopupWindow: added close-policy property (#6614) 2024-10-24 09:27:39 +00:00
tabwidget.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
tabwidget2.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
tabwidget3.slint syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
text.slint Do not print the internal struct name in LSP tooltip or error message 2024-11-04 17:09:57 +01:00
timer.slint Timer Element 2024-08-16 16:36:38 +02:00
timer2.slint Timer: make the interval property mandatory 2024-09-18 09:24:39 +02:00