411 def
command(cmdId, param1 = 0, param2 = 0, param3 = 0):
430 def init(signal = 0, params = None):
464 def post(signal, params = None):
561 def
fill(offset, size, num, item = 0):
def expect(match)
defines an expectation for the current test
def tick(tick_rate=0)
trigger system clock tick in the Target
def include(fname)
include python code in a test script
def expect_pause()
defines expectation for a Test Pause
def ao_filter(obj_id)
Updates the Local Filter for a given AO in the Target.
def publish(signal, params=None)
publish a given event to subscribers in the Target
def glb_filter(*args)
Send the QS Global Filter to the Target.
def poke(offset, size, data)
pokes data into the Target.
def fill(offset, size, num, item=0)
fills data into the Target.
def test(title, opt=0)
start a new test
def continue_test()
sends the CONTINUE packet to the Target to continue a test
def pack(format, v1, v2)
packs data into binary string to be sent to QSPY.
def query_curr(obj_kind)
query the current object in the Target
def expect_run()
defines expectation for calling QF_run()/QF::run()
def command(cmdId, param1=0, param2=0, param3=0)
executes a given command in the Target
def on_setup()
callback function invoked at the beginning of each test
def skip(nTests=9999)
skip the tests following this command.
def test_file()
get the test file name with path
def test_dir()
get the test directory (relative to the current directory)
def probe(func, data)
sends a Test-Probe to the Target
def init(signal=0, params=None)
take the top-most initial transition in the current SM object in the Target
def on_teardown()
callback function invoked at the end of each test
def on_reset()
callback function invoked after each Target reset
def post(signal, params=None)
post a given event to the current AO object in the Target
def loc_filter(*args)
Send the Local Filter to the Target.
def current_obj(obj_kind, obj_id)
Set the Current-Object in the Target.
def peek(offset, size, num)
peeks data in the Target
def dispatch(signal, params=None)
dispatch a given event in the current SM object in the Target