org.constretto.test.extractors
Class ConstrettoEnvironmentExtractor
java.lang.Object
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ø
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstrettoEnvironmentExtractor
public ConstrettoEnvironmentExtractor()
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.