summaryrefslogtreecommitdiff
path: root/src/unit_tests_report.ui
blob: 62c74d78b473f051c11d9b37bdc99e1bf9817479 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.40.0 -->
<interface>
  <template class="DisfluidUnitTestsReportDialog" parent="AdwApplicationWindow">
    <property name="content">
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="AdwHeaderBar">
            <property name="centering-policy">strict</property>
            <property name="title-widget">
              <object class="AdwWindowTitle" id="title">
                <property name="title" translatable="yes">Disfluid</property>
                <property name="subtitle" translatable="yes">Checking the Disfluid implementation</property>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="AdwClamp">
            <property name="orientation">horizontal</property>
            <property name="maximum-size">480</property>
            <property name="tightening-threshold">320</property>
            <property name="child">
              <object class="GtkStack" id="stack">
                <property name="valign">center</property>
                <property name="vhomogeneous">true</property>
                <property name="vexpand">true</property>
                <property name="vexpand-set">true</property>
                <property name="transition-type">slide-left</property>
                <property name="interpolate-size">true</property>
                <child>
                  <object class="AdwStatusPage" id="page_wait">
                    <property name="title" translatable="yes">Running disfluid unit tests…</property>
                    <property name="description" translatable="yes">Please wait while disfluid is running the unit tests.</property>
                  </object>
                </child>
                <child>
                  <object class="AdwStatusPage" id="page_failure">
                    <property name="title" translatable="yes">The unit tests failed.</property>
                    <property name="description" translatable="yes">Disfluid unit tests failed. Sorry for the inconvenience.</property>
                    <property name="icon-name">dialog-error</property>
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkTextView" id="debug_info">
                            <property name="editable">false</property>
                            <property name="cursor-visible">false</property>
                            <property name="monospace">true</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton">
                            <property name="label" translatable="yes">Retry</property>
                            <property name="action-name">win.rerun-unit-tests</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLinkButton" id="report_button">
                            <property name="label" translatable="yes">Report</property>
                            <property name="visited">false</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="AdwStatusPage" id="page_success">
                    <property name="title" translatable="yes">The unit tests passed.</property>
                    <property name="description" translatable="yes">Disfluid unit tests passed. The application is functioning as expected.</property>
                    <property name="icon-name">dialog-information</property>
                    <child>
                      <object class="GtkButton">
                        <property name="label" translatable="yes">Retry</property>
                        <property name="action-name">win.rerun-unit-tests</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>