TestCenter Reference
TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList Class Reference

List of field information including field values. More...

Inheritance diagram for TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList:
TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase

Public Member Functions

 __init__ (self, name)
 Default constructor.
 
 update (self, index, fieldInfo)
 Update the values of the given fields.
 
- Public Member Functions inherited from TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase
 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

- Static Protected Attributes inherited from TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase
 _type = None
 The type of list used.
 

Detailed Description

List of field information including field values.

Definition at line 711 of file FieldValueTests.py.

Constructor & Destructor Documentation

◆ __init__()

TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.__init__ ( self,
name )

Default constructor.

Parameters
nameThe name the list is stored under.

Reimplemented from TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.

Definition at line 713 of file FieldValueTests.py.

Member Function Documentation

◆ _add()

TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList._add ( self,
index,
fieldInfo )
protected

Add the values of the given fields.

Parameters
indexIndex where field information should be inserted.
fieldInfoThe new values.

Definition at line 734 of file FieldValueTests.py.

Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.add().

◆ _loadField()

TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList._loadField ( self,
xmlNode )
protected

Load field information from the given XML node.

Parameters
xmlNodeXML node to load information from.
Returns
The field information tuple.

Definition at line 743 of file FieldValueTests.py.

References TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.__convertValue().

Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.load().

◆ _saveField()

TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList._saveField ( self,
fieldInfo,
xmlNode )
protected

Save the given field information to the given XML node.

Parameters
fieldInfoThe field information to save.
xmlNodeThe XML node to save to.

Definition at line 754 of file FieldValueTests.py.

Referenced by TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.save().

◆ update()

TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.update ( self,
index,
fieldInfo )

Update the values of the given fields.

Parameters
indexIndex of field information to update.
fieldInfoThe new values.

Definition at line 723 of file FieldValueTests.py.

References TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList.__convertValue().

Member Data Documentation

◆ _type

TestSupport.FieldValueTests.FieldValueTestCase.FieldValueList._type
protected

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