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 |
|
---|
11 | [Defines]
|
---|
12 | DEC_SPECIFICATION = 0x00010005
|
---|
13 | PACKAGE_NAME = UnitTestFrameworkPkg
|
---|
14 | PACKAGE_UNI_FILE = UnitTestFrameworkPkg.uni
|
---|
15 | PACKAGE_GUID = 4A70C4A0-D72C-4D3F-9943-BE7C41C50BA3
|
---|
16 | PACKAGE_VERSION = 1.00
|
---|
17 |
|
---|
18 | [Includes]
|
---|
19 | Include
|
---|
20 | Library/CmockaLib/cmocka/include
|
---|
21 | Library/GoogleTestLib/googletest/googletest/include
|
---|
22 | Library/GoogleTestLib/googletest/googlemock/include
|
---|
23 | Library/SubhookLib/subhook
|
---|
24 |
|
---|
25 | [Includes.Common.Private]
|
---|
26 | PrivateInclude
|
---|
27 | Library/CmockaLib/cmocka/include/cmockery
|
---|
28 | Library/GoogleTestLib/googletest/googletest
|
---|
29 | Library/GoogleTestLib/googletest/googlemock
|
---|
30 |
|
---|
31 | [LibraryClasses]
|
---|
32 | ## @libraryclass Allows save and restore unit test internal state
|
---|
33 | #
|
---|
34 | UnitTestPersistenceLib|Include/Library/UnitTestPersistenceLib.h
|
---|
35 |
|
---|
36 | ## @libraryclass GoogleTest infrastructure
|
---|
37 | #
|
---|
38 | GoogleTestLib|Include/Library/GoogleTestLib.h
|
---|
39 | SubhookLib|Include/Library/SubhookLib.h
|
---|
40 | FunctionMockLib|Include/Library/FunctionMockLib.h
|
---|
41 |
|
---|
42 | [LibraryClasses.Common.Private]
|
---|
43 | ## @libraryclass Provides a unit test result report
|
---|
44 | #
|
---|
45 | UnitTestResultReportLib|PrivateInclude/Library/UnitTestResultReportLib.h
|
---|
46 |
|
---|
47 | ## @libraryclass Provides boot-option routines useful in shell-based tests.
|
---|
48 | #
|
---|
49 | UnitTestBootLib|PrivateInclude/Library/UnitTestBootLib.h
|
---|
50 |
|
---|
51 | [Guids]
|
---|
52 | gUnitTestFrameworkPkgTokenSpaceGuid = { 0x833d3aba, 0x39b4, 0x43a2, { 0xb9, 0x30, 0x7a, 0x34, 0x53, 0x39, 0x31, 0xb3 } }
|
---|
53 |
|
---|
54 | [PcdsFixedAtBuild]
|
---|
55 | ## This flag is used to control build time optimization based on unit test
|
---|
56 | # log level. The default value is 0xFFFFFFFF to enable all unit test log
|
---|
57 | # messages.
|
---|
58 | # BIT0 - Error unit test log messages.<BR>
|
---|
59 | # BIT1 - Warning unit test log messages.<BR>
|
---|
60 | # BIT2 - Informational unit test log messages.<BR>
|
---|
61 | # BIT3 - Verbose unit test log messages.<BR>
|
---|
62 | # @Prompt Unit Test Log Message Level
|
---|
63 | gUnitTestFrameworkPkgTokenSpaceGuid.PcdUnitTestLogLevel|0xFFFFFFFF|UINT32|0x00000001
|
---|