UnitTestFrameworkPkg.dec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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]
  26. ## @libraryclass Allows save and restore unit test internal state
  27. #
  28. UnitTestPersistenceLib|Include/Library/UnitTestPersistenceLib.h
  29. ## @libraryclass GoogleTest infrastructure
  30. #
  31. GoogleTestLib|Include/Library/GoogleTestLib.h
  32. [LibraryClasses.Common.Private]
  33. ## @libraryclass Provides a unit test result report
  34. #
  35. UnitTestResultReportLib|PrivateInclude/Library/UnitTestResultReportLib.h
  36. ## @libraryclass Provides boot-option routines useful in shell-based tests.
  37. #
  38. UnitTestBootLib|PrivateInclude/Library/UnitTestBootLib.h
  39. [Guids]
  40. gUnitTestFrameworkPkgTokenSpaceGuid = { 0x833d3aba, 0x39b4, 0x43a2, { 0xb9, 0x30, 0x7a, 0x34, 0x53, 0x39, 0x31, 0xb3 } }
  41. [PcdsFixedAtBuild]
  42. ## This flag is used to control build time optimization based on unit test
  43. # log level. The default value is 0xFFFFFFFF to enable all unit test log
  44. # messages.
  45. # BIT0 - Error unit test log messages.<BR>
  46. # BIT1 - Warning unit test log messages.<BR>
  47. # BIT2 - Informational unit test log messages.<BR>
  48. # BIT3 - Verbose unit test log messages.<BR>
  49. # @Prompt Unit Test Log Message Level
  50. gUnitTestFrameworkPkgTokenSpaceGuid.PcdUnitTestLogLevel|0xFFFFFFFF|UINT32|0x00000001