The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cma.tests.cma_test Namespace Reference

Data Structures

class  AUDITS
 
class  TestIO
 
class  TestTestInfrastructure
 
class  TestCMABasic
 
class  TestMonitorBasic
 

Functions

def find_c_objects
 
def assert_no_dangling_Cclasses
 
def droneipaddress
 
def dronedesignation
 
def hostdiscoveryinfo
 
def geninitconfig
 
def auditalldrones
 
def auditallrings
 

Variables

list _suites = ['all', 'cma']
 
int WorstDanglingCount = 0
 
 CheckForDanglingClasses = True
 
 AssertOnDanglingClasses = True
 
 DEBUG = False
 
 DoAudit = True
 
 doHBDEAD = True
 
 BuildListOnly = False
 
 SavePackets = True
 
int MaxDrone = 5
 
 t1 = MaxDrone
 
int t2 = MaxDrone/100
 
 t3 = t2
 
int byte1 = 10
 
int byte2 = 20
 

Function Documentation

def cma.tests.cma_test.assert_no_dangling_Cclasses (   doassert = None)
def cma.tests.cma_test.auditalldrones ( )

Definition at line 278 of file cma_test.py.

Referenced by cma.tests.cma_test.TestIO.recvframesets(), and cma.tests.cma_test.TestCMABasic.test_several_startups().

Here is the caller graph for this function:

def cma.tests.cma_test.auditallrings ( )

Definition at line 303 of file cma_test.py.

Referenced by cma.tests.cma_test.TestIO.recvframesets(), and cma.tests.cma_test.TestCMABasic.test_several_startups().

Here is the caller graph for this function:

def cma.tests.cma_test.find_c_objects ( )

Definition at line 95 of file cma_test.py.

References proj_class_live_object_count().

Referenced by cma.tests.cma_test.assert_no_dangling_Cclasses().

Here is the call graph for this function:

Here is the caller graph for this function:

def cma.tests.cma_test.geninitconfig (   ouraddr)

Definition at line 203 of file cma_test.py.

Referenced by cma.tests.cma_test.TestCMABasic.test_several_startups(), and cma.tests.cma_test.TestCMABasic.test_startup().

Here is the caller graph for this function:

def cma.tests.cma_test.hostdiscoveryinfo (   hostnumber)

Definition at line 195 of file cma_test.py.

References cma.tests.cma_test.dronedesignation(), and cma.tests.cma_test.droneipaddress().

Referenced by cma.tests.cma_test.TestCMABasic.test_several_startups(), and cma.tests.cma_test.TestCMABasic.test_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

list cma.tests.cma_test._suites = ['all', 'cma']

Definition at line 22 of file cma_test.py.

cma.tests.cma_test.AssertOnDanglingClasses = True

Definition at line 60 of file cma_test.py.

cma.tests.cma_test.BuildListOnly = False

Definition at line 64 of file cma_test.py.

int cma.tests.cma_test.byte1 = 10

Definition at line 183 of file cma_test.py.

Referenced by _netaddr_toStringflex(), and get_lldptlv_len().

int cma.tests.cma_test.byte2 = 20

Definition at line 184 of file cma_test.py.

cma.tests.cma_test.CheckForDanglingClasses = True

Definition at line 59 of file cma_test.py.

cma.tests.cma_test.DEBUG = False

Definition at line 61 of file cma_test.py.

cma.tests.cma_test.DoAudit = True

Definition at line 62 of file cma_test.py.

cma.tests.cma_test.doHBDEAD = True

Definition at line 63 of file cma_test.py.

int cma.tests.cma_test.MaxDrone = 5

Definition at line 66 of file cma_test.py.

cma.tests.cma_test.SavePackets = True

Definition at line 65 of file cma_test.py.

cma.tests.cma_test.t1 = MaxDrone

Definition at line 77 of file cma_test.py.

int cma.tests.cma_test.t2 = MaxDrone/100

Definition at line 79 of file cma_test.py.

cma.tests.cma_test.t3 = t2

Definition at line 81 of file cma_test.py.

int cma.tests.cma_test.WorstDanglingCount = 0

Definition at line 57 of file cma_test.py.