pFUnit
Public Member Functions | Public Attributes | List of all members
GenerateAssertsOnArrays.constraintASSERT Class Reference
Inheritance diagram for GenerateAssertsOnArrays.constraintASSERT:
CodeUtilities.routineUnit

Public Member Functions

def __init__ (self, assertionName, expectedDescr, foundDescr, tolerance)
 Dependency injection. More...
 
- Public Member Functions inherited from CodeUtilities.routineUnit
def __init__ (self, name, implementSource)
 
def setName (self, name)
 
def getName (self)
 
def setDeclaration (self, declaration)
 
def addDeclaration (self, declaration)
 
def setImplementation (self, implementationSource)
 
def getDeclaration
 
def getDeclarations
 
def getImplementation (self)
 
def clearDeclarations (self)
 

Public Attributes

 expectedDescr
 
 foundDescr
 
 name
 
 name1
 Add in the extra module procedures... More...
 
 tolerance
 If you need another kind of code generator, perhaps conditioned on eDesc., fDesc., or tol, then that logic would go here... More...
 
- Public Attributes inherited from CodeUtilities.routineUnit
 name
 
 declaration
 
 declarations
 
 implementation
 

Constructor & Destructor Documentation

def GenerateAssertsOnArrays.constraintASSERT.__init__ (   self,
  assertionName,
  expectedDescr,
  foundDescr,
  tolerance 
)

Dependency injection.

Will generate "assert"+assertionName assertionName="Equal" This next line actually generates the text of the code.

Member Data Documentation

GenerateAssertsOnArrays.constraintASSERT.name1

Add in the extra module procedures...

If needed... Kluge. Need to make makeSubroutineNames and load the extra interface entries there.

GenerateAssertsOnArrays.constraintASSERT.tolerance

If you need another kind of code generator, perhaps conditioned on eDesc., fDesc., or tol, then that logic would go here...

E.g. to implement assertEqual(Logical(...))


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