mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add test for recent bugfix
This commit is contained in:
parent
b33cc7ccd7
commit
d0659a43c2
3 changed files with 27 additions and 0 deletions
10
tests/samples/adw_breakpoint_template.blp
Normal file
10
tests/samples/adw_breakpoint_template.blp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
using Gtk 4.0;
|
||||||
|
using Adw 1;
|
||||||
|
|
||||||
|
template $MyTemplate {
|
||||||
|
Adw.Breakpoint {
|
||||||
|
setters {
|
||||||
|
template.some-prop: true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
16
tests/samples/adw_breakpoint_template.ui
Normal file
16
tests/samples/adw_breakpoint_template.ui
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
DO NOT EDIT!
|
||||||
|
This file was @generated by blueprint-compiler. Instead, edit the
|
||||||
|
corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||||
|
-->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk" version="4.0"/>
|
||||||
|
<template class="MyTemplate">
|
||||||
|
<child>
|
||||||
|
<object class="AdwBreakpoint">
|
||||||
|
<setter object="MyTemplate" property="some-prop">true</setter>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</template>
|
||||||
|
</interface>
|
|
@ -176,6 +176,7 @@ class TestSamples(unittest.TestCase):
|
||||||
REQUIRE_ADW_1_5 = ["adw_alertdialog_responses"]
|
REQUIRE_ADW_1_5 = ["adw_alertdialog_responses"]
|
||||||
|
|
||||||
SKIP_RUN = [
|
SKIP_RUN = [
|
||||||
|
"adw_breakpoint_template",
|
||||||
"expr_closure",
|
"expr_closure",
|
||||||
"expr_closure_args",
|
"expr_closure_args",
|
||||||
"parseable",
|
"parseable",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue