UnitTestFrameworkPkg.dec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ## @file
  2. # This Package provides all definitions (including functions, MACROs,
  3. # structures library classes, and PCDs) and libraries instances, which are used
  4. # to support unit testing and interface testing.
  5. #
  6. # Copyright (c) Microsoft Corporation.<BR>
  7. # SPDX-License-Identifier: BSD-2-Clause-Patent
  8. #
  9. ##
  10. [Defines]
  11. DEC_SPECIFICATION = 0x00010005
  12. PACKAGE_NAME = UnitTestFrameworkPkg
  13. PACKAGE_UNI_FILE = UnitTestFrameworkPkg.uni
  14. PACKAGE_GUID = 4A70C4A0-D72C-4D3F-9943-BE7C41C50BA3
  15. PACKAGE_VERSION = 1.00
  16. [Includes]
  17. Include
  18. Library/CmockaLib/cmocka/include
  19. Library/GoogleTestLib/googletest/googletest/include
  20. Library/GoogleTestLib/googletest/googlemock/include
  21. [Includes.Common.Private]
  22. PrivateInclude
  23. Library/CmockaLib/cmocka/include/cmockery
  24. Library/GoogleTestLib/googletest/googletest
  25. [LibraryClasses.Common.Private]
  26. ## @libraryclass Allows save and restore unit test internal state
  27. #
  28. UnitTestPersistenceLib|PrivateInclude/Library/UnitTestPersistenceLib.h
  29. ## @libraryclass Provides a unit test result report
  30. #
  31. UnitTestResultReportLib|PrivateInclude/Library/UnitTestResultReportLib.h
  32. ## @libraryclass Provides boot-option routines useful in shell-based tests.
  33. #
  34. UnitTestBootLib|PrivateInclude/Library/UnitTestBootLib.h
  35. ## @libraryclass GoogleTest infrastructure
  36. #
  37. GoogleTestLib|Include/Library/GoogleTestLib.h
  38. [Guids]
  39. gUnitTestFrameworkPkgTokenSpaceGuid = { 0x833d3aba, 0x39b4, 0x43a2, { 0xb9, 0x30, 0x7a, 0x34, 0x53, 0x39, 0x31, 0xb3 } }
  40. [PcdsFixedAtBuild]
  41. ## This flag is used to control build time optimization based on unit test
  42. # log level. The default value is 0xFFFFFFFF to enable all unit test log
  43. # messages.
  44. # BIT0 - Error unit test log messages.<BR>
  45. # BIT1 - Warning unit test log messages.<BR>
  46. # BIT2 - Informational unit test log messages.<BR>
  47. # BIT3 - Verbose unit test log messages.<BR>
  48. # @Prompt Unit Test Log Message Level
  49. gUnitTestFrameworkPkgTokenSpaceGuid.PcdUnitTestLogLevel|0xFFFFFFFF|UINT32|0x00000001