Package kiwi :: Package ui :: Package test :: Module player
[frames | no frames]

Module kiwi.ui.test.player

Test script playback system and infrastructure.
Classes
App  
DictWrapper  
Player Event playback object.
ThreadSafeFunction A function which is safe thread in the mainloop context All widgets and object functions will be wrapped by this.
ThreadSafeObject A wrapper around a gobject which replaces all callable objects which wraps all callable objects uses ThreadSafeFunction.

Exceptions
TimeOutError Exception that will be raised when a widget cannot be found, which will happen after a few seconds depending on the type of widget

Function Summary
  play_file(filename, args)
Plays a recorded script file

Variable Summary
int DELETE_WINDOW_WAIT = 4                                                                     
Logger log = <kiwi.log.Logger instance at 0x4137542c>
int WIDGET_TIMEOUT = 2                                                                     
int WINDOW_TIMEOUT = 10                                                                    
float WINDOW_WAIT = 0.5                                                                   

Function Details

play_file(filename, args=None)

Plays a recorded script file
Parameters:
filename - name to play
args - additional arguments to put in sys.argv

Variable Details

DELETE_WINDOW_WAIT

Type:
int
Value:
4                                                                     

log

Type:
Logger
Value:
<kiwi.log.Logger instance at 0x4137542c>                               

WIDGET_TIMEOUT

Type:
int
Value:
2                                                                     

WINDOW_TIMEOUT

Type:
int
Value:
10                                                                    

WINDOW_WAIT

Type:
float
Value:
0.5                                                                   

Generated by Epydoc 2.1 on Mon Oct 9 12:40:59 2006 http://epydoc.sf.net