OpenTAP 9.25
API Reference
Public Member Functions | Properties | List of all members
OpenTap.Plugins.TestStepSerializer Class Reference

Serializer implementation for TestStep. More...

Inheritance diagram for OpenTap.Plugins.TestStepSerializer:
OpenTap.TapSerializerPlugin OpenTap.ITapSerializerPlugin OpenTap.ITapPlugin

Public Member Functions

void AddKnownStepHeirarchy (ITestStepParent stepParent)
 Adds known steps to the list of tests used for finding references in deserialization. More...
 
void FixupStep (ITestStep step, bool recurse)
 Ensures that duplicate step IDs are not present in the test plan and updates an ID->step mapping. More...
 
override bool Deserialize (XElement elem, ITypeData t, Action< object > setResult)
 Deserialization implementation.
 
override bool Serialize (XElement elem, object obj, ITypeData expectedType)
 Serialization implementation.
 
- Public Member Functions inherited from OpenTap.TapSerializerPlugin
 TapSerializerPlugin ()
 Creates a new TapSerializerPlugin.
 

Properties

override double Order [get]
 The order of this serializer.
 
- Properties inherited from OpenTap.TapSerializerPlugin
TapSerializer Serializer [get]
 The object facilitating Serialization or Deserialization.
 
virtual double Order [get]
 Priority of the serializer. Defines the order in which the serializers are used. Default is 0.

 
- Properties inherited from OpenTap.ITapSerializerPlugin
double Order [get]
 Priority of the serializer. Defines the order in which the serializers are used. Default is 0.

 

Additional Inherited Members

- Static Protected Attributes inherited from OpenTap.TapSerializerPlugin
static TraceSource Log = OpenTap.Log.CreateSource("Serializer")
 Log source for serializer plugins.
 

Detailed Description

Serializer implementation for TestStep.

Member Function Documentation

◆ AddKnownStepHeirarchy()

void OpenTap.Plugins.TestStepSerializer.AddKnownStepHeirarchy ( ITestStepParent  stepParent)
inline

Adds known steps to the list of tests used for finding references in deserialization.

Parameters
stepParent

◆ FixupStep()

void OpenTap.Plugins.TestStepSerializer.FixupStep ( ITestStep  step,
bool  recurse 
)
inline

Ensures that duplicate step IDs are not present in the test plan and updates an ID->step mapping.

Parameters
stepthe step to fix.
recursetrue if child steps should also be 'fixed'.

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:25