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.

75 lines
2.0 KiB

  1. Class Store DRT
  2. ===============
  3. March 97.
  4. DebiM
  5. ===============
  6. Csdrt.exe serves as the DRT and limited stress test component for Class Store.
  7. It is indended for:
  8. ===================
  9. 1. Testing before Checkin. (that is obviously the basic intent)
  10. 2. Lowest form of a Stress Test.
  11. 3. Some of it would work ad handy tools. (E.g. emptying a class store)
  12. 4. May be used as IClassAdmin sample code.
  13. As a DRT it tests: (now)
  14. ========================
  15. 1. IClassAdmin update functionality. (New class/package and delete)
  16. 2. IClassAdmin Browse functionality. (IEnumClass and IEnumPackage)
  17. 3. IClassAccess:GetClassSpecInfo()
  18. - by CLSID
  19. - by File Ext
  20. - by ProgId
  21. - by MimeType
  22. - where there is TreatAsClsid
  23. What is missing:
  24. ================
  25. 1. ComCat interface implementation by Class Store
  26. 2. Multiple class store tests
  27. 3. ACLs
  28. How to run
  29. ==========
  30. Usage:
  31. ------
  32. csdrt [-p<containerpath>] [-v] [-a] [-b] [-g]
  33. OR csdrt [-p<containerpath>] [-v] -e
  34. OR csdrt [-p<containerpath>] [-v] -c
  35. OR csdrt [-p<containerpath>] [-v] -s [-b] [-l<loop count>]
  36. where:
  37. <containerpath> is a DNS pathname for a Class container.
  38. if absent defaults to env var DRT_CLASSSTORE.
  39. -v : Verbose.
  40. -a : Test IClassAdmin functionality.
  41. -b : Test Browse functionality IEnumClass/IEnumPackage.
  42. -g : Test GetClassSpecInfo().
  43. -e : Empty the Class Store (cant be combiend with other tests)
  44. -c : A complete test of functionality.
  45. -s : Stress Test. Tests GetClassInfo and Optionally Browse.
  46. -l : Loop count for Stress Test. Default = 100.
  47. Examples:
  48. ---------
  49. 1. Complete DRT run for Class Store
  50. csdrt -c
  51. 2. Stress test
  52. csdrt -s -l100
  53. 3. Emptying the Class Store Container (Deleting all Classes and Packages)
  54. csdrt -e
  55. Note: This does not remove Catoegories or Interfaces