TestCenter Reference
|
List of field information including field values. More...
Public Member Functions | |
__init__ (self, name) | |
Default constructor. | |
update (self, index, fieldInfo) | |
Update the values of the given fields. | |
![]() | |
add (self, fieldInfo, index=None) | |
Add the field with given info to the list. | |
remove (self, index) | |
Remove the element at the given index. | |
swap (self, indexA, indexB) | |
Swap the given two elements. | |
load (self, xmlNode) | |
Load the given xmlNode. | |
save (self) | |
Save the field information to XML. | |
Protected Member Functions | |
_add (self, index, fieldInfo) | |
Add the values of the given fields. | |
_loadField (self, xmlNode) | |
Load field information from the given XML node. | |
_saveField (self, fieldInfo, xmlNode) | |
Save the given field information to the given XML node. | |
Protected Attributes | |
_type | |
Additional Inherited Members | |
![]() | |
_type = None | |
The type of list used. | |
List of field information including field values.
Definition at line 711 of file FieldValueTests.py.
TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.__init__ | ( | self, | |
name ) |
Default constructor.
name | The name the list is stored under. |
Reimplemented from TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.
Definition at line 713 of file FieldValueTests.py.
|
protected |
Add the values of the given fields.
index | Index where field information should be inserted. |
fieldInfo | The new values. |
Definition at line 734 of file FieldValueTests.py.
Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.add().
|
protected |
Load field information from the given XML node.
xmlNode | XML node to load information from. |
Definition at line 743 of file FieldValueTests.py.
References TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.__convertValue().
Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.load().
|
protected |
Save the given field information to the given XML node.
fieldInfo | The field information to save. |
xmlNode | The XML node to save to. |
Definition at line 754 of file FieldValueTests.py.
Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.save().
TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.update | ( | self, | |
index, | |||
fieldInfo ) |
Update the values of the given fields.
index | Index of field information to update. |
fieldInfo | The new values. |
Definition at line 723 of file FieldValueTests.py.
References TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.__convertValue().
|
protected |
Definition at line 714 of file FieldValueTests.py.
Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.save().