mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
Add compilation tests
Added a set of test inputs and expected outputs, for regression testing.
This commit is contained in:
parent
53ad4ec69d
commit
5f0eef5f2e
21 changed files with 241 additions and 9 deletions
28
tests/samples/menu.ui
Normal file
28
tests/samples/menu.ui
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<menu>
|
||||
<attribute name="label" translatable="yes">menu label</attribute>
|
||||
<attribute name="test-custom-attribute">3.1415</attribute>
|
||||
<submenu>
|
||||
<section>
|
||||
<attribute name="label">test section</attribute>
|
||||
</section>
|
||||
<item>
|
||||
<attribute name="label">test item</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label">test item shorthand 1</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label">test item shorthand 2</attribute>
|
||||
<attribute name="action">app.test-action</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label">test item shorthand 3</attribute>
|
||||
<attribute name="action">app.test-action</attribute>
|
||||
<attribute name="icon">test-symbolic</attribute>
|
||||
</item>
|
||||
</submenu>
|
||||
</menu>
|
||||
</interface>
|
Loading…
Add table
Add a link
Reference in a new issue