Add compilation tests

Added a set of test inputs and expected outputs, for regression testing.
This commit is contained in:
James Westman 2021-10-31 23:29:07 -05:00
parent 53ad4ec69d
commit 5f0eef5f2e
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
21 changed files with 241 additions and 9 deletions

20
tests/samples/menu.blp Normal file
View file

@ -0,0 +1,20 @@
using Gtk 4.0;
menu {
label: _("menu label");
test-custom-attribute: 3.1415;
submenu {
section {
label: "test section";
}
item {
label: "test item";
}
item "test item shorthand 1";
item "test item shorthand 2" "app.test-action";
item "test item shorthand 3" "app.test-action" "test-symbolic";
}
}