org.apache.james.jspf.tester
Class SPFYamlTestDescriptor

java.lang.Object
  extended by 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.


Constructor Summary
SPFYamlTestDescriptor(Map<String,?> source, int i)
           
 
Method Summary
 String getComment()
           
 Map<String,Map<String,?>> getTests()
           
 Map<String,?> getZonedata()
           
static List<SPFYamlTestDescriptor> loadTests(String filename)
           
 void setComment(String comment)
           
 void setTests(Map<String,Map<String,?>> tests)
           
 void setZonedata(Map<String,Map<?,?>> zonedata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPFYamlTestDescriptor

public SPFYamlTestDescriptor(Map<String,?> source,
                             int i)
Method Detail

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.