I change the icon to a "down" arrow, and update the animation direction
to go up-and-down rather than left-and-right. I also change the button
text to say "done", which is a little clearer than "back".
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
The MessagesView combines two MessageViews into a split-pane card. This
lets us display stdout and stderr side-by-side to the user so they can
see what is going on. I also add a 'back' button that the user can click
to signal that they are done reviewing the output.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
The message view will be used to display either stdout or stderr
messages to the user. It has built-in 'diff' detection, and adds nice
colors to the diff output if we are asked to display one.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
The EnvironmentView is a ColumnView configured to display environment
properties to the user. It doesn't use the firstcol property at all, so
some extra handling of the model property was needed.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
The XunitView implements most of the work needed by our various views to
show xfstests results.
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>
The SummaryView displays a summary of the passed, failed, and skipped
tests for each xunit along with the time it took the xunit to run.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
And control the filter using the newly-created FilterButtons class. This
lets us hide completely skipped tests by default, since those are mostly
noise. I also add some custom icons used by the buttons to indicate
passed, failed, or skipped tests.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
I use the ResultFactory to do this. I also create a custom css
stylesheet to use for each cell in the Gtk.ColumnView displaying the
results. This lets us add custom colors so we can easily see at a glance
what is failing, passing, or skipped.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
The XfstestsView contains the TestCaseView, and will eventually contain
other views used to display test results and information.
For the moment, the TestCaseView displays the name of the testcases in a
single Xfstests run in a single column. I plan on adding more columns in
the near future.
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>