This will be used to make Gtk.TreeExpander rows containing a
Gtk.Label to display the XfstestsRuns on a given day.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
I only do this for failing tests that have text set in their stdout or
stderr properties. I also update the CSS for failed tests to give an
indication when users hover their mouse over them.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
This is different from our other xunit factories. Instead of displaying
values for each xunit, it looks into what we determine to be environment
properties and displays those instead.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
And convert most of our Factory implementations to inherit from it. This
lets me set up the xunit property in one single place, and soon I'll be
using this factory for a XunitView base class.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
And convert our other Factory instances to inherit from it. This lets me
set up a Gtk.Inscription() in a singe way that is used everywere, and
abstract out some other binding code to make implementing new factories
easier.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
This is a Gtk.ListItemFactory that creates a Label widget and binds
xunit summaries to it. I use the summary field name to apply an
appropriate CSS class to each label.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
I add a global SizeGroup to the LabelFactory so the first column of each
table I make can have the same width. I also add style classes that are
applied with specific item values, which will mostly be used by the
SummaryView labels.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
This is a Gtk.ListItemFactory that creates a Label widget and binds
testcase results to it. I use the result status as the name of a CSS
class that will be created in the next patch so the ColumnView cells
have a nicer presentation.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>