~ubuntu-branches/ubuntu/gutsy/poco/gutsy

« back to all changes in this revision

Viewing changes to Foundation/testsuite/src/LogStreamTest.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Burghardt
  • Date: 2007-04-27 18:33:48 UTC
  • Revision ID: james.westby@ubuntu.com-20070427183348-xgnpct0qd6a2ip34
Tags: upstream-1.2.9
ImportĀ upstreamĀ versionĀ 1.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// LogStreamTest.h
 
3
//
 
4
// $Id: //poco/1.2/Foundation/testsuite/src/LogStreamTest.h#1 $
 
5
//
 
6
// Definition of the LogStreamTest class.
 
7
//
 
8
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
 
9
// All rights reserved.
 
10
//
 
11
// Redistribution and use in source and binary forms, with or without
 
12
// modification, are permitted provided that the following conditions
 
13
// are met:
 
14
//
 
15
// 1. Redistributions of source code must retain the above copyright
 
16
//    notice, this list of conditions and the following disclaimer.
 
17
//
 
18
// 2. Redistributions in binary form must reproduce the above copyright
 
19
//    notice, this list of conditions and the following disclaimer in the
 
20
//    documentation and/or other materials provided with the distribution.
 
21
//
 
22
// 3. Redistributions in any form must be accompanied by information on
 
23
//    how to obtain complete source code for this software and any
 
24
//    accompanying software that uses this software.  The source code
 
25
//    must either be included in the distribution or be available for no
 
26
//    more than the cost of distribution plus a nominal fee, and must be
 
27
//    freely redistributable under reasonable conditions.  For an
 
28
//    executable file, complete source code means the source code for all
 
29
//    modules it contains.  It does not include source code for modules or
 
30
//    files that typically accompany the major components of the operating
 
31
//    system on which the executable file runs.
 
32
//
 
33
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 
34
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 
35
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 
36
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 
37
// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 
38
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 
39
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 
40
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 
41
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
42
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 
43
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
44
// POSSIBILITY OF SUCH DAMAGE.
 
45
//
 
46
 
 
47
 
 
48
#ifndef LogStreamTest_INCLUDED
 
49
#define LogStreamTest_INCLUDED
 
50
 
 
51
 
 
52
#include "Poco/Foundation.h"
 
53
#include "CppUnit/TestCase.h"
 
54
 
 
55
 
 
56
class LogStreamTest: public CppUnit::TestCase
 
57
{
 
58
public:
 
59
        LogStreamTest(const std::string& name);
 
60
        ~LogStreamTest();
 
61
 
 
62
        void testLogStream();
 
63
 
 
64
        void setUp();
 
65
        void tearDown();
 
66
 
 
67
        static CppUnit::Test* suite();
 
68
 
 
69
private:
 
70
};
 
71
 
 
72
 
 
73
#endif // LogStreamTest_INCLUDED