00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: pltest_8h-source.html,v 1.1 2004/06/06 12:56:41 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_8h-source.html,v $ 00043 | Revision 1.1 2004/06/06 12:56:41 uzadow 00043 | Doxygenified documentation. 00043 | 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 */