00001
00002
00003
00004
00005
00006
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
00044
00045
00046
00047
00048
00049
00050
00051