Peach :: Agent :: debugger :: WindowsAppVerifier :: Class WindowsAppVerifier
[hide private]

Class WindowsAppVerifier

source code


Agent that uses the Microsoft AppVerifier tool to detect faults on running processes. AppVerifier can be downloaded from Microsoft via the following url: http://www.microsoft.com/technet/prodtechnol/windows/appcompatibility/appverifier.mspx

Instance Methods [hide private]
 
__init__(self, args)
Constructor.
source code
 
_EnableImage(self, image)
Enables the default checks for an image (exe).
source code
 
_DisableImage(self, image) source code
 
_GetImageLogs(self, image)
Get lof files for an image
source code
 
_RemoveImageLogs(self, image) source code
 
OnTestStarting(self)
Called right before start of test.
source code
 
OnTestFinished(self)
Called right after a test.
source code
 
GetMonitorData(self)
Get any monitored data.
source code
 
DetectedFault(self)
Check if a fault was detected.
source code
 
OnFault(self)
Called when a fault was detected.
source code
 
OnShutdown(self)
Called when Agent is shutting down.
source code

Inherited from agent.Monitor: StopRun

Class Variables [hide private]
  checks = ["COM", "Exceptions", "Handles", "Heaps", "Locks", "M...
Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

Constructor. Arguments are supplied via the Peach XML file.

Parameters:
  • args - Dictionary of parameters
Overrides: agent.Monitor.__init__
(inherited documentation)

OnTestStarting(self)

source code 

Called right before start of test.

Overrides: agent.Monitor.OnTestStarting

OnTestFinished(self)

source code 

Called right after a test.

Overrides: agent.Monitor.OnTestFinished

GetMonitorData(self)

source code 

Get any monitored data.

Overrides: agent.Monitor.GetMonitorData

DetectedFault(self)

source code 

Check if a fault was detected.

Overrides: agent.Monitor.DetectedFault

OnFault(self)

source code 

Called when a fault was detected.

Overrides: agent.Monitor.OnFault

OnShutdown(self)

source code 

Called when Agent is shutting down.

Overrides: agent.Monitor.OnShutdown

Class Variable Details [hide private]

checks

Value:
["COM", "Exceptions", "Handles", "Heaps", "Locks", "Memory", "RPC", "T\
hreadpool", "TLS"]