Class TestFeatureAnnotationSerializer
java.lang.Object
de.qytera.qtaf.core.gson.serializer.TestFeatureAnnotationSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<TestFeature>,IQtafJsonSerializer
public class TestFeatureAnnotationSerializer
extends Object
implements IQtafJsonSerializer, com.google.gson.JsonSerializer<TestFeature>
Converts TestCase annotation to JSON.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the class of the serialized object.com.google.gson.JsonElementserialize(TestFeature testFeature, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
TestFeatureAnnotationSerializer
public TestFeatureAnnotationSerializer()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(TestFeature testFeature, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) - Specified by:
serializein interfacecom.google.gson.JsonSerializer<TestFeature>
-
getSerializedObjectClass
Description copied from interface:IQtafJsonSerializerReturns the class of the serialized object.- Specified by:
getSerializedObjectClassin interfaceIQtafJsonSerializer- Returns:
- the serialized class
-