|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test_DLL_AddRecord(self)
Check that records are added to the link list properly, the index
values are correct after each add, and the correct return codes are
returned. |
source code
|
|
|
test_DLL_InsertRecord(self)
Check that inserted records are added properly based on
InsertDir , the index values are correct after each
insert, and the correct return codes are returned. |
source code
|
|
|
test_DLL_SwapRecord(self)
Check that the current record is swapped correctly based on
InsertDir , the index values are correct after each swap,
and the correct return codes are returned. |
source code
|
|
|
|
|
|
|
test_DLL_DeleteEntireList(self)
Check that the entire list is deleted properly, the index values are
correct after the delete, and the correct return codes are returned. |
source code
|
|
|
test_DLL_FindRecord(self)
Check that records are found correctly, the index values are correct
after each query, and the correct return codes are returned. |
source code
|
|
|
test_DLL_FindNthRecord(self)
Check that records are found correctly based on the skip value, the
index values are correct after each query, and the correct return
codes are returned. |
source code
|
|
|
test_DLL_GetCurrentRecord(self)
Check that the current record is returned correctly, the index values
are correct after the get, and the correct return codes are returned. |
source code
|
|
|
test_DLL_GetPriorRecord(self)
Check that the prior record is returned correctly, the index values
are correct after the get, and the correct return codes are returned. |
source code
|
|
|
test_DLL_GetNextRecord(self)
Check that the next record is returned correctly, the index values
are correct after the get, and the correct return codes are returned. |
source code
|
|
|
test_DLL_Save_LoadList(self)
Check that the list is saved and loaded correctly, the index values
are correct after the loads, the sorting on load is done properly,
and the correct return codes are returned. |
source code
|
|
ctypes POINTER
|
_initList(self,
infoSize)
Prepare the link list for use and asserts that there are no
APIException or FunctionException
exceptions, and the list_p object is valid. |
source code
|
|
|
_destroyList(self)
Executes the destroyList method and asserts that there
are no APIException exceptions. |
source code
|
|
|
_isListEmpty(self,
test=True)
Executes the isListEmpty method, asserts that there are
no APIException exceptions, and asserts that the
returned value is correct. |
source code
|
|
|
_isListFull(self,
test=True)
Execute the isListFull method, asserts that there are no
APIException exceptions, and asserts that the return
value is correct. |
source code
|
|
|
_getNumberOfRecords(self,
test=0)
Execute the getNumberOfRecords method, asserts that
there are no APIException exceptions, and asserts that
the returned value is correct. |
source code
|
|
|
_setSearchModes(self,
origin,
dir,
result=0)
Execute the setSearchModes method, asserts that there
are no APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_getSearchModes(self,
test=( 1, 1) )
Execute the getSearchModes method, asserts that there
are no APIException exceptions, and asserts that the
returned tuple is correct. |
source code
|
|
|
_getCurrentIndex(self,
test=0)
Execute the getCurrentIndex method, asserts that there
are no APIException exceptions, and asserts that the
returned value is correct. |
source code
|
|
|
_currentPointerToHead(self,
result=0)
Execute the currentPointerToHead method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_currentPointerToTail(self,
result=0)
Execute the currentPointerToTail method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_incrementCurrentPointer(self,
result=0)
Execute the incrementCurrentPointer method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_decrementCurrentPointer(self,
result=0)
Execute the decrementCurrentPointer method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_storeCurrentPointer(self,
result=0)
Execute the storeCurrentPointer method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_restoreCurrentPointer(self,
result=0)
Execute the restoreCurrentPointer method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_addRecord(self,
info,
pFun=None,
result=0)
Execute the addRecord method, asserts that there are no
APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_insertRecord(self,
info,
dir,
result=0)
Execute the insertRecord method, asserts that there are
no APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_swapRecord(self,
dir,
result=0)
Execute the swapRecord method, asserts that there are no
APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_updateCurrentRecord(self,
record,
result=0)
Execute the updateCurrentRecord method, asserts that
there are no APIException or
FunctionException exceptions, and asserts that the
return code is correct. |
source code
|
|
|
_deleteCurrentRecord(self,
result=0)
Execute the method, asserts that there are no
APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_deleteEntireList(self,
result=0)
Execute the deleteAllNodes method, asserts that there
are no APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_findRecord(self,
record,
match,
pFun=None,
result=0)
Execute the findRecord method, asserts that there are no
APIException or FunctionException
exceptions, assert that the test value is correct, and asserts that
the return code is correct. |
source code
|
|
|
_findNthRecord(self,
record,
skip,
test='
' ,
result=0)
Execute the findNthRecord method, asserts that there are
no APIException or FunctionException
exceptions, assert that the test value is correct, and asserts that
the return code is correct. |
source code
|
|
|
_getCurrentRecord(self,
record,
test='
' ,
result=0)
Execute the getCurrentRecord method, asserts that there
are no APIException or FunctionException
exceptions, assert that the test value is correct, and asserts that
the return code is correct. |
source code
|
|
|
_getPriorRecord(self,
record,
test='
' ,
result=0)
Execute the getPriorRecord method, asserts that there
are no APIException or FunctionException
exceptions, assert that the test value is correct, and asserts that
the return code is correct. |
source code
|
|
|
_getNextRecord(self,
record,
test='
' ,
result=0)
Execute the getNextRecord method, asserts that there are
no APIException or FunctionException
exceptions, assert that the test value is correct, and asserts that
the return code is correct. |
source code
|
|
|
_saveList(self,
path,
result=0)
Execute the saveList method, asserts that there are no
APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
|
_loadList(self,
path,
pFun=None,
result=0)
Execute the loadList method, asserts that there are no
APIException or FunctionException
exceptions, and asserts that the return code is correct. |
source code
|
|
Inherited from unittest.TestCase :
__call__ ,
__eq__ ,
__hash__ ,
__ne__ ,
__repr__ ,
__str__ ,
assertAlmostEqual ,
assertAlmostEquals ,
assertEqual ,
assertEquals ,
assertFalse ,
assertNotAlmostEqual ,
assertNotAlmostEquals ,
assertNotEqual ,
assertNotEquals ,
assertRaises ,
assertTrue ,
assert_ ,
countTestCases ,
debug ,
defaultTestResult ,
fail ,
failIf ,
failIfAlmostEqual ,
failIfEqual ,
failUnless ,
failUnlessAlmostEqual ,
failUnlessEqual ,
failUnlessRaises ,
id ,
run ,
shortDescription
Inherited from unittest.TestCase (private):
_exc_info
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|