Package gw.test
Class TestMetadata
- java.lang.Object
-
- gw.test.TestMetadata
-
- All Implemented Interfaces:
ITestMetadata
public class TestMetadata extends Object implements ITestMetadata
- Author:
- ctucker
-
-
Constructor Summary
Constructors Constructor Description TestMetadata(IAnnotationInfo testAnnotation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(String name, String value)static TestMetadatadeserializeXml(SimpleXmlNode xml)booleanequals(Object obj)HashMap<String,String>getAttributes()StringgetName()SimpleXmlNodeserializeToXml()booleanshouldNotRunTest()
-
-
-
Constructor Detail
-
TestMetadata
public TestMetadata(IAnnotationInfo testAnnotation)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceITestMetadata- Returns:
- The name of the test method.
-
getAttributes
public HashMap<String,String> getAttributes()
- Specified by:
getAttributesin interfaceITestMetadata- Returns:
- A map from attribute names to attribute values.
-
shouldNotRunTest
public boolean shouldNotRunTest()
- Specified by:
shouldNotRunTestin interfaceITestMetadata
-
serializeToXml
public SimpleXmlNode serializeToXml()
-
deserializeXml
public static TestMetadata deserializeXml(SimpleXmlNode xml)
-
-