Sample code name
PaTest.py
Description
EfiPy adds new class EfiPy.Analyzer module
It is used for analyzed UEFI PROTOCOL calling flow in shell.
Source code is upload to sourceforge r0.0.2(1756).tgz
The output is in XML format.
If dOutClass parameter is string. its output to a file
Sample code
from EfiPy.Analyzer.Panalyzer import *
dOut = dOutClass()
dOut.section("Prepare")
t = pAnalyzer(dOut)
t.Build_Capability (EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL)
t.Detect_Protocol (gEfiSimpleTextOutProtocolGuid, EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL)
for target, handle in t.Target:
t.Filter.append (t.Build_Filter (target, handle))
t.install("Reset")
t.install("ABCD")
t.install("OutputString")
t.install("TestString")
t.install("QueryMode")
t.install("SetMode")
t.install("SetAttribute")
t.install("ClearScreen")
t.install("SetCursorPosition")
t.start("asd")
t.start("QueryMode")
t.debug_dump ()
dOut.section("Testing_1")
screen shot