[b4b313]: / matlab_xunit_3.1 / matlab_xunit / xunit / CommandWindowTestRunDisplay.m

Download this file

31 lines (26 with data), 1.2 kB

 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
classdef CommandWindowTestRunDisplay < TestRunDisplay
%CommandWindowTestRunDisplay Print test suite execution results to Command Window.
% CommandWindowTestRunDisplay is a subclass of TestRunMonitor. If a
% CommandWindowTestRunDisplay object is passed to the run method of a
% TestComponent, such as a TestSuite or a TestCase, it will print information
% to the Command Window as the test run proceeds.
%
% CommandWindowTestRunDisplay methods:
% testComponentStarted - Update Command Window display
% testComponentFinished - Update Command Window display
% testCaseFailure - Log test failure information
% testCaseError - Log test error information
%
% CommandWindowTestRunDisplay properties:
% TestCaseCount - Number of test cases executed
% Faults - Struct array of test fault info
%
% See also TestRunLogger, TestRunMonitor, TestSuite
% Steven L. Eddins
% Copyright 2008-2010 The MathWorks, Inc.
methods
function self = CommandWindowTestRunDisplay
self = self@TestRunDisplay(1);
end
end
end