Source code of Windows XP (NT5)
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.

78 lines
2.1 KiB

  1. #ifndef _DMOTESTCASES_H
  2. #define _DMOTESTCASES_H
  3. /*=============================================================================
  4. |
  5. | File: DmoTestCases.h
  6. |
  7. | Copyright (c) 2000 Microsoft Corporation. All rights reserved
  8. |
  9. | Abstract:
  10. | Redifining CDmoTestCase in the process of creating a
  11. | test application
  12. |
  13. | Contents:
  14. |
  15. |
  16. | History:
  17. | 5/16/2000 wendyliu initial version
  18. |
  19. |
  20. \============================================================================*/
  21. #include <windows.h>
  22. #include "DmoTestNode.h"
  23. /*=============================================================================
  24. | CLASS DEFINITIONS
  25. \============================================================================*/
  26. /*-----------------------------------------------------------------------------
  27. | Class: CDmoTestCase1
  28. | Purpose: Defines CDmoTestCase1 node for use in the test case tree
  29. | Notes: adds a new type of node of use in the
  30. | test case tree. It gets the DMO and test file name information
  31. | from the container object.
  32. \----------------------------------------------------------------------------*/
  33. class CDmoTestCase1 : public CDmoTestCase
  34. {
  35. private:
  36. DMOTESTFNPROC1 pfnTest;
  37. public:
  38. CDmoTestCase1( LPSTR pszNewCaseID,
  39. LPSTR pszNewName,
  40. DMOTESTFNPROC1 pfnNewTest,
  41. CDmoTest* dmoTest);
  42. virtual ~CDmoTestCase1();
  43. DWORD RunTest(void);
  44. };
  45. /*=============================================================================
  46. | CLASS DEFINITIONS
  47. \============================================================================*/
  48. /*-----------------------------------------------------------------------------
  49. | Class: CDmoTestCase1
  50. | Purpose: Defines CDmoTestCase1 node for use in the test case tree
  51. | Notes: adds a new type of node of use in the
  52. | test case tree. It gets the DMO information
  53. | from the container object.
  54. \----------------------------------------------------------------------------*/
  55. class CDmoTestCase2 : public CDmoTestCase
  56. {
  57. private:
  58. DMOTESTFNPROC2 pfnTest;
  59. public:
  60. CDmoTestCase2( LPSTR pszNewCaseID,
  61. LPSTR pszNewName,
  62. DMOTESTFNPROC2 pfnNewTest,
  63. CDmoTest* dmoTest);
  64. virtual ~CDmoTestCase2();
  65. DWORD RunTest(void);
  66. };
  67. #endif