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 void
addAttribute(String name, String value)
static TestMetadata
deserializeXml(SimpleXmlNode xml)
boolean
equals(Object obj)
HashMap<String,String>
getAttributes()
String
getName()
SimpleXmlNode
serializeToXml()
boolean
shouldNotRunTest()
-
-
-
Constructor Detail
-
TestMetadata
public TestMetadata(IAnnotationInfo testAnnotation)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceITestMetadata
- Returns:
- The name of the test method.
-
getAttributes
public HashMap<String,String> getAttributes()
- Specified by:
getAttributes
in interfaceITestMetadata
- Returns:
- A map from attribute names to attribute values.
-
shouldNotRunTest
public boolean shouldNotRunTest()
- Specified by:
shouldNotRunTest
in interfaceITestMetadata
-
serializeToXml
public SimpleXmlNode serializeToXml()
-
deserializeXml
public static TestMetadata deserializeXml(SimpleXmlNode xml)
-
-