UnitTestFrameworkPkg.dec 1.8 KB

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