QTools  6.6.0
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 87 of file qutest.py.

◆ __del__()

def __del__ (   self)

Definition at line 151 of file qutest.py.

Member Function Documentation

◆ test()

def test (   self,
  name,
  opt = 0 
)

Definition at line 159 of file qutest.py.

◆ expect()

def expect (   self,
  match 
)

Definition at line 193 of file qutest.py.

◆ glb_filter()

def glb_filter (   self,
args 
)

Definition at line 228 of file qutest.py.

◆ loc_filter()

def loc_filter (   self,
  obj_kind,
  obj_id 
)

Definition at line 296 of file qutest.py.

◆ current_obj()

def current_obj (   self,
  obj_kind,
  obj_id 
)

Definition at line 322 of file qutest.py.

◆ query_curr()

def query_curr (   self,
  obj_kind 
)

Definition at line 348 of file qutest.py.

◆ expect_pause()

def expect_pause (   self)

Definition at line 362 of file qutest.py.

◆ continue_test()

def continue_test (   self)

Definition at line 375 of file qutest.py.

◆ command()

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

Definition at line 389 of file qutest.py.

◆ init()

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

Definition at line 412 of file qutest.py.

◆ dispatch()

def dispatch (   self,
  signal,
  params = None 
)

Definition at line 426 of file qutest.py.

◆ post()

def post (   self,
  signal,
  params = None 
)

Definition at line 440 of file qutest.py.

◆ publish()

def publish (   self,
  signal,
  params = None 
)

Definition at line 454 of file qutest.py.

◆ probe()

def probe (   self,
  func,
  data 
)

Definition at line 468 of file qutest.py.

◆ tick()

def tick (   self,
  tick_rate = 0 
)

Definition at line 493 of file qutest.py.

◆ peek()

def peek (   self,
  offset,
  size,
  num 
)

Definition at line 507 of file qutest.py.

◆ poke()

def poke (   self,
  offset,
  size,
  data 
)

Definition at line 524 of file qutest.py.

◆ fill()

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

Definition at line 545 of file qutest.py.

◆ skip()

def skip (   self,
  nTests = 9999 
)

Definition at line 571 of file qutest.py.


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