QTools  6.8.1
qutest Class Reference

Public Member Functions

def __init__ (self)
 
def __del__ (self)
 
def test (self, name, opt=0)
 
def expect (self, match)
 
def glb_filter (self, *args)
 
def loc_filter (self, obj_kind, obj_id)
 
def current_obj (self, obj_kind, obj_id)
 
def query_curr (self, obj_kind)
 
def expect_pause (self)
 
def continue_test (self)
 
def command (self, cmdId, param1=0, param2=0, param3=0)
 
def init (self, signal=0, params=None)
 
def dispatch (self, signal, params=None)
 
def post (self, signal, params=None)
 
def publish (self, signal, params=None)
 
def probe (self, func, data)
 
def tick (self, tick_rate=0)
 
def peek (self, offset, size, num)
 
def poke (self, offset, size, data)
 
def fill (self, offset, size, num, item=0)
 
def skip (self, nTests=9999)
 

Detailed Description

Definition at line 59 of file qutest.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Definition at line 100 of file qutest.py.

◆ __del__()

def __del__ (   self)

Definition at line 164 of file qutest.py.

Member Function Documentation

◆ test()

def test (   self,
  name,
  opt = 0 
)

Definition at line 172 of file qutest.py.

◆ expect()

def expect (   self,
  match 
)

Definition at line 206 of file qutest.py.

◆ glb_filter()

def glb_filter (   self,
args 
)

Definition at line 241 of file qutest.py.

◆ loc_filter()

def loc_filter (   self,
  obj_kind,
  obj_id 
)

Definition at line 309 of file qutest.py.

◆ current_obj()

def current_obj (   self,
  obj_kind,
  obj_id 
)

Definition at line 335 of file qutest.py.

◆ query_curr()

def query_curr (   self,
  obj_kind 
)

Definition at line 361 of file qutest.py.

◆ expect_pause()

def expect_pause (   self)

Definition at line 375 of file qutest.py.

◆ continue_test()

def continue_test (   self)

Definition at line 388 of file qutest.py.

◆ command()

def command (   self,
  cmdId,
  param1 = 0,
  param2 = 0,
  param3 = 0 
)

Definition at line 402 of file qutest.py.

◆ init()

def init (   self,
  signal = 0,
  params = None 
)

Definition at line 425 of file qutest.py.

◆ dispatch()

def dispatch (   self,
  signal,
  params = None 
)

Definition at line 439 of file qutest.py.

◆ post()

def post (   self,
  signal,
  params = None 
)

Definition at line 453 of file qutest.py.

◆ publish()

def publish (   self,
  signal,
  params = None 
)

Definition at line 467 of file qutest.py.

◆ probe()

def probe (   self,
  func,
  data 
)

Definition at line 481 of file qutest.py.

◆ tick()

def tick (   self,
  tick_rate = 0 
)

Definition at line 506 of file qutest.py.

◆ peek()

def peek (   self,
  offset,
  size,
  num 
)

Definition at line 520 of file qutest.py.

◆ poke()

def poke (   self,
  offset,
  size,
  data 
)

Definition at line 537 of file qutest.py.

◆ fill()

def fill (   self,
  offset,
  size,
  num,
  item = 0 
)

Definition at line 558 of file qutest.py.

◆ skip()

def skip (   self,
  nTests = 9999 
)

Definition at line 584 of file qutest.py.


The documentation for this class was generated from the following file: