26 """A basic object for testing. Contains a data blob that can be compared with other TestObject instances 27 for equality (or inequality). 34 return self.
data == other.data
37 return self.
data != other.data
40 return self.
data < other.data
43 return self.
data <= other.data
46 return self.
data > other.data
49 return self.
data >= other.data
52 return "TestObject(data=%r)" % self.
data 56 """An object for testing that contains 2 objects. 68 return cls(componentInfo[
'a'].obj, componentInfo[
'b'].obj)
72 componentInfo[
'a'].obj = obj.objA
73 componentInfo[
'b'].obj = obj.objB
76 return "TestObjectPair(objA=%r, objB=%r)" % (self.
objA, self.
objB)
94 """A test object with camel case setter and getter e.g. `def setFoo...`""" 106 """A test object with lower case camel case setter and getter e.g. `def setFoo...`"""
def assembler(dataId, componentInfo, cls)
def disassembler(obj, dataId, componentInfo)
def __init__(self, objA=None, objB=None)