CppTest  Version 2.0.0
cpptest-htmloutput.h
Go to the documentation of this file.
1 // ---
2 //
3 // $Id: cpptest-htmloutput.h,v 1.3 2005/06/08 08:08:06 nilu Exp $
4 //
5 // CppTest - A C++ Unit Testing Framework
6 // Copyright (c) 2003 Niklas Lundell
7 //
8 // ---
9 //
10 // This library is free software; you can redistribute it and/or
11 // modify it under the terms of the GNU Lesser General Public
12 // License as published by the Free Software Foundation; either
13 // version 2 of the License, or (at your option) any later version.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the
22 // Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 // Boston, MA 02111-1307, USA.
24 //
25 // ---
26 
29 #ifndef CPPTEST_HTMLOUTPUT_H
30 #define CPPTEST_HTMLOUTPUT_H
31 
32 #include <iostream>
33 #include <string>
34 
36 
37 namespace Test
38 {
44  class HtmlOutput : public CollectorOutput
45  {
46  public:
47  void generate(std::ostream& os, bool incl_ok_tests = true,
48  const std::string& name = "");
49 
50  private:
51  struct SuiteRow;
52  struct TestRow;
53  struct TestSuiteRow;
54  struct TestResult;
55  struct TestResultAll;
56  struct SuiteTestResult;
57 
58  friend struct TestSuiteRow;
59  };
60 
61 } // namespace Test
62 
63 #endif // #ifndef CPPTEST_HTMLOUTPUT_H
64 
void generate(std::ostream &os, bool incl_ok_tests=true, const std::string &name="")
Definition: htmloutput.cpp:389
Definition: collectoroutput.cpp:37
HTML output.
Definition: cpptest-htmloutput.h:44
Collector output.
Definition: cpptest-collectoroutput.h:47