TianoCore EDK2 master
|
#include "TestBaseCryptLib.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | ProcessLibraryConstructorList (VOID) |
EFI_STATUS EFIAPI | UefiTestMain (VOID) |
EFI_STATUS EFIAPI | PeiEntryPoint (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
EFI_STATUS EFIAPI | DxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
int | main (int argc, char *argv[]) |
This is a sample to demostrate the usage of the Unit Test Library that supports the PEI, DXE, SMM, UEFI SHell, and host execution environments.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UnitTestMain.c.
EFI_STATUS EFIAPI DxeEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Standard UEFI entry point for target based unit test execution from DXE, SMM, UEFI Shell.
Definition at line 68 of file UnitTestMain.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Standard POSIX C entry point for host based unit test execution.
Definition at line 80 of file UnitTestMain.c.
EFI_STATUS EFIAPI PeiEntryPoint | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, |
IN CONST EFI_PEI_SERVICES ** | PeiServices | ||
) |
Standard PEIM entry point for target based unit test execution from PEI.
Definition at line 54 of file UnitTestMain.c.
EFI_STATUS EFIAPI UefiTestMain | ( | VOID | ) |
Initialize the unit test framework, suite, and unit tests for the sample unit tests and run the unit tests.
EFI_SUCCESS | All test cases were dispatched. |
EFI_OUT_OF_RESOURCES | There are not enough resources available to initialize the unit tests. |
Definition at line 27 of file UnitTestMain.c.