]> git.proxmox.com Git - mirror_edk2.git/commit - UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
UnitTestFrameworkPkg: Add public and private interfaces
authorMichael D Kinney <michael.d.kinney@intel.com>
Wed, 22 Jan 2020 18:06:15 +0000 (10:06 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 7 Feb 2020 19:18:53 +0000 (19:18 +0000)
commit0f7fb5c5e5ad4b1654d67c65c77999bd9e5a5af5
tree698cbba57cad42399eb6b62ede7a490abac734d1
parentb238ce28f898fe3f60ce7d8462c5ebe20283e03f
UnitTestFrameworkPkg: Add public and private interfaces

https://bugzilla.tianocore.org/show_bug.cgi?id=2505

Add public interfaces for use by unit test implementations.

* Include path to cmocka library interfaces.
* PcdUnitTestLogLevel to set the unit test logging message
  level to filter log messages.

Add private interfaces that are used by UnitTestLib
implementations.

* [Private] UnitTestBootLib - Set boot next to continue unit
  tests across a reboot.
* [Private] UnitTestPersistenceLib - Save unit test framework
  state to a persistent storage device.
* [Private] UnitTestResultLib - Output unit test results to a
  console device.
* [Private] UnitTestFrameworkTypes.h - Internal structures
  used by UnitTestLib implementations to keep track if unit
  test frameworks, unit test suites, and unit tests along with
  the serialized storage format to save a unit test framework
  state to persistent storage.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
UnitTestFrameworkPkg/PrivateInclude/Library/UnitTestBootLib.h [new file with mode: 0644]
UnitTestFrameworkPkg/PrivateInclude/Library/UnitTestPersistenceLib.h [new file with mode: 0644]
UnitTestFrameworkPkg/PrivateInclude/Library/UnitTestResultReportLib.h [new file with mode: 0644]
UnitTestFrameworkPkg/PrivateInclude/UnitTestFrameworkTypes.h [new file with mode: 0644]
UnitTestFrameworkPkg/ReadMe.md [new file with mode: 0644]
UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec [new file with mode: 0644]
UnitTestFrameworkPkg/UnitTestFrameworkPkg.uni [new file with mode: 0644]