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.

55 lines
1.5 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bm_rot.hxx
  7. //
  8. // Contents: test class definition
  9. //
  10. // Classes: CROTTest
  11. //
  12. // Functions:
  13. //
  14. // History: 19-July-93 t-martig Created
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef _BM_ROT_HXX_
  18. #define _BM_ROT_HXX_
  19. #include <bm_base.hxx>
  20. class CROTTest : public CTestBase
  21. {
  22. public:
  23. virtual TCHAR *Name ();
  24. virtual SCODE Setup (CTestInput *input);
  25. virtual SCODE Run ();
  26. virtual SCODE Report (CTestOutput &OutputFile);
  27. virtual SCODE Cleanup ();
  28. private:
  29. CLSID m_ClsID[CNT_CLSCTX];
  30. IUnknown *m_punkObj[CNT_CLSCTX];
  31. IMoniker *m_pmkObj[CNT_CLSCTX];
  32. ULONG m_ulIterations; // # times to repeat the test
  33. ULONG m_ulEntries; // entries to put in the table
  34. ULONG m_ulGetROTTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  35. ULONG m_ulReleaseTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  36. ULONG m_ulRegisterTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  37. ULONG m_ulRevokeTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  38. ULONG m_ulNoteChangeTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  39. ULONG m_ulGetChangeTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  40. ULONG m_ulIsRunningTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  41. ULONG m_ulEnumRunningTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  42. ULONG m_ulGetObjectTime[CNT_CLSCTX][TEST_MAX_ITERATIONS];
  43. };
  44. #endif // _BM_ROT_HXX_