TestCenter Reference
TestSupport.FieldValueTests.FieldValueTestCase.FieldList Class Reference

List of field information. More...

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

Public Member Functions

def __init__ (self, name)
 Default constructor. More...
 
def update (self, index, fieldInfo)
 Update the values of the given fields. More...
 
- Public Member Functions inherited from TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase
def __init__ (self, name)
 Default constructor. More...
 
def add (self, fieldInfo, index=None)
 Add the field with given info to the list. More...
 
def remove (self, index)
 Remove the element at the given index. More...
 
def swap (self, indexA, indexB)
 Swap the given two elements. More...
 
def load (self, xmlNode)
 Load the given xmlNode. More...
 
def save (self)
 Save the field information to XML. More...
 

Detailed Description

List of field information.

Definition at line 610 of file FieldValueTests.py.

Constructor & Destructor Documentation

◆ __init__()

def TestSupport.FieldValueTests.FieldValueTestCase.FieldList.__init__ (   self,
  name 
)

Default constructor.

Parameters
nameThe name of the field list.

Definition at line 614 of file FieldValueTests.py.

References TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase._type.

Member Function Documentation

◆ update()

def TestSupport.FieldValueTests.FieldValueTestCase.FieldList.update (   self,
  index,
  fieldInfo 
)

Update the values of the given fields.

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

Definition at line 623 of file FieldValueTests.py.


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