Class InjectedTagProvider
java.lang.Object
net.thucydides.core.statistics.service.InjectedTagProvider
- All Implemented Interfaces:
CoreTagProvider
,TagProvider
public class InjectedTagProvider extends java.lang.Object implements TagProvider, CoreTagProvider
Allows tags to be added via the injected.tag system property.
They will be added to all of the test outcomes for a particular test run.
-
Constructor Summary
Constructors Constructor Description InjectedTagProvider()
InjectedTagProvider(EnvironmentVariables environmentVariables)
-
Method Summary
Modifier and Type Method Description java.util.Set<TestTag>
getTagsFor(TestOutcome testOutcome)
Returns the tags associated with a given test outcome.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InjectedTagProvider
public InjectedTagProvider() -
InjectedTagProvider
-
-
Method Details
-
getTagsFor
Description copied from interface:TagProvider
Returns the tags associated with a given test outcome.- Specified by:
getTagsFor
in interfaceTagProvider
- Parameters:
testOutcome
- the outcome for a specific test- Returns:
- the tags associated with a given test outcome.
-