org.constretto.test.extractors
Class ConstrettoEnvironmentExtractor

java.lang.Object
  extended by org.constretto.test.extractors.ConstrettoEnvironmentExtractor

public class ConstrettoEnvironmentExtractor
extends Object

Class that helps extracting environment information from a test Class. Used by the ConstrettoRule class.

Author:
Sondre Eikanger Kvalø

Constructor Summary
ConstrettoEnvironmentExtractor()
           
 
Method Summary
static String[] extractEnvironmentValue(org.junit.runner.Description description)
          Extracts the value of the Environment annotation for the test class containing the given test method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstrettoEnvironmentExtractor

public ConstrettoEnvironmentExtractor()
Method Detail

extractEnvironmentValue

public static String[] extractEnvironmentValue(org.junit.runner.Description description)
Extracts the value of the Environment annotation for the test class containing the given test method.

Parameters:
description -
Returns:
an array with the specified values or null


Copyright © 2008-2013. All Rights Reserved.