org.apache.james.jspf.tester
Class SPFYamlTestDescriptor
java.lang.Object
org.apache.james.jspf.tester.SPFYamlTestDescriptor
public class SPFYamlTestDescriptor
- extends Object
Describe a test loaded from a YAML file using the format
described in the OpenSPF testsuite.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPFYamlTestDescriptor
public SPFYamlTestDescriptor(Map<String,?> source,
int i)
getComment
public String getComment()
setComment
public void setComment(String comment)
getTests
public Map<String,Map<String,?>> getTests()
setTests
public void setTests(Map<String,Map<String,?>> tests)
getZonedata
public Map<String,?> getZonedata()
setZonedata
public void setZonedata(Map<String,Map<?,?>> zonedata)
loadTests
public static List<SPFYamlTestDescriptor> loadTests(String filename)
throws IOException
- Throws:
IOException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.