Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
976 B

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bm_base.hxx
  7. //
  8. // Contents: base test class definition
  9. //
  10. // Classes: CTestBase
  11. //
  12. // Functions:
  13. //
  14. // History: 19-July-93 t-martig Created
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef _BM_BASE_HXX_
  18. #define _BM_BASE_HXX_
  19. #include <bmoutput.hxx>
  20. class CTestBase
  21. {
  22. public:
  23. virtual TCHAR *Name () = 0;
  24. virtual SCODE Setup (CTestInput *input);
  25. virtual SCODE Run () = 0;
  26. virtual SCODE Report (CTestOutput &OutputFile) = 0;
  27. virtual SCODE Cleanup ();
  28. virtual SCODE InitOLE ();
  29. virtual void UninitOLE ();
  30. virtual SCODE InitCOM ();
  31. virtual void UninitCOM ();
  32. protected:
  33. CTestInput *m_pInput;
  34. DWORD m_dwInitFlag; // OleInitializeEx init flag
  35. };
  36. #endif // _BM_BASE_HXX_