org.easetech.easytest.annotation
Class Param.DataSupplier

java.lang.Object
  extended by org.easetech.easytest.annotation.Param.DataSupplier
Enclosing class:
Param

public static class Param.DataSupplier
extends Object

Static class that overrides the getValueSources method of ParameterSupplier to return the data in Junit Format which is a list of PotentialAssignment. This is the place where we can specify what the data type of the returned data would be. We can also specify different return types for different test methods.


Field Summary
protected static org.slf4j.Logger LOG
          Logger
 
Constructor Summary
Param.DataSupplier()
           
 
Method Summary
 List<org.junit.experimental.theories.PotentialAssignment> getValueSources(EasyParamSignature signature)
          Method to return the list of data for the given Test method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.slf4j.Logger LOG
Logger

Constructor Detail

Param.DataSupplier

public Param.DataSupplier()
Method Detail

getValueSources

public List<org.junit.experimental.theories.PotentialAssignment> getValueSources(EasyParamSignature signature)
Method to return the list of data for the given Test method

Parameters:
signature - the ParameterSignature
Returns:
the list of PotentialAssignment


Copyright © 2013. All Rights Reserved.