Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

pltest.h

00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: pltest.h,v 1.1 2002/08/04 20:12:34 uzadow Exp $
00005 |
00006 |      Copyright (c) 1996-2002 Ulrich von Zadow
00007 |
00008 \--------------------------------------------------------------------
00009 */
00010 
00011 #ifndef INCL_PLTEST
00012 #define INCL_PLTEST
00013 
00014 class PLTest
00015 {
00016 public:
00017   PLTest(void);
00018   virtual ~PLTest(void);
00019 
00020   bool IsOk ();
00021   virtual void RunTests () = 0;
00022 
00023   void Test (bool b);
00024   void SetFailed ();
00025 
00026   int GetNumSucceeded () const;
00027   int GetNumFailed () const;
00028 
00029   void AggregateStatistics (const PLTest& ChildTest);
00030 
00031 private:
00032   bool m_bOk;
00033   int m_NumSucceeded;
00034   int m_NumFailed;
00035 
00036 };
00037 
00038 #endif
00039 
00040 /*
00041 /--------------------------------------------------------------------
00042 |
00043 |      $Log: pltest.h,v $
00044 |      Revision 1.1  2002/08/04 20:12:34  uzadow
00045 |      Added PLBmpInfo class, ability to extract metainformation from images without loading the whole image and proper greyscale support.
00046 |      Major improvements in tests.
00047 |
00048 |
00049 |
00050 \--------------------------------------------------------------------
00051 */

Generated on Sun Jun 6 13:42:22 2004 for paintlib by doxygen 1.3.2