ZBar Bar Code Reader Library  version 0.10
barcodetest Namespace Reference

Classes

class  BuiltinTestCase
 
class  TestCase
 
class  TestLoader
 

Functions

def compare_indices (expect, actual)
 
def compare_maps (expect, actual, compare_func)
 
def compare_sources (expect, actual)
 
def compare_symbols (expect, actual)
 
def distdir_search (subdir, base, suffixes=('',))
 
def find_zbarimg ()
 
def fixtag (node)
 
def hexdump (data)
 
def register_namespace (prefix, uri)
 
def run_zbarimg (images)
 
def toxml (node)
 

Variables

string BC
 
bool debug
 
 module
 
 None
 
 register_namespace
 
 testLoader
 
string TS
 
 zbarimg
 
list zbarimg_args
 

Function Documentation

def barcodetest.compare_indices (   expect,
  actual 
)

References compare_maps().

Here is the call graph for this function:

def barcodetest.compare_maps (   expect,
  actual,
  compare_func 
)

References len, and toxml().

Referenced by compare_indices(), and compare_sources().

Here is the call graph for this function:

Here is the caller graph for this function:

def barcodetest.compare_sources (   expect,
  actual 
)

References compare_maps(), fixtag(), and len.

Referenced by barcodetest.TestCase.runTest().

Here is the call graph for this function:

Here is the caller graph for this function:

def barcodetest.compare_symbols (   expect,
  actual 
)
def barcodetest.distdir_search (   subdir,
  base,
  suffixes = ('',) 
)

Referenced by barcodetest.BuiltinTestCase.__init__(), and find_zbarimg().

Here is the caller graph for this function:

def barcodetest.find_zbarimg ( )
search for zbarimg program to run.

References distdir_search().

Referenced by barcodetest.TestCase.setUp().

Here is the call graph for this function:

Here is the caller graph for this function:

def barcodetest.fixtag (   node)

Referenced by compare_sources().

Here is the caller graph for this function:

def barcodetest.hexdump (   data)

References len.

def barcodetest.register_namespace (   prefix,
  uri 
)

References register_namespace.

def barcodetest.run_zbarimg (   images)
invoke zbarimg for the specified files.

return results as an ET.Element

Referenced by barcodetest.TestCase.runTest().

Here is the caller graph for this function:

def barcodetest.toxml (   node)

Referenced by compare_maps().

Here is the caller graph for this function:

Variable Documentation

string barcodetest.BC
bool barcodetest.debug
barcodetest.module
barcodetest.None

Referenced by _zbar_window_end().

barcodetest.register_namespace

Referenced by register_namespace().

barcodetest.testLoader
string barcodetest.TS
barcodetest.zbarimg
list barcodetest.zbarimg_args