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