net.thucydides.junit.runners
Class QualifierFinder

Package class diagram package QualifierFinder
java.lang.Object
  extended by net.thucydides.junit.runners.QualifierFinder

public class QualifierFinder
extends Object

When running data-driven tests, each set of test data needs a way to distinguish it from the others. This class provides means to distinguish instantiated test cases. By default, the toString() method is used. If a public method that returns a String is marked with the Qualifier annotation, this method will be used instead.


Constructor Summary
QualifierFinder(Object testCase)
           
 
Method Summary
static QualifierFinder forTestCase(Object testCase)
           
 String getQualifier()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualifierFinder

public QualifierFinder(Object testCase)
Method Detail

forTestCase

public static QualifierFinder forTestCase(Object testCase)

getQualifier

public String getQualifier()


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.