Class AnnotationBasedTagProvider
java.lang.Object
net.thucydides.core.statistics.service.AnnotationBasedTagProvider
- All Implemented Interfaces:
CoreTagProvider
,TagProvider
public class AnnotationBasedTagProvider extends java.lang.Object implements TagProvider, CoreTagProvider
Returns test tags based on the @WithTag, @WithTags and @WithTagValuesOf.
Since there is no implicit structure in tags declared this way, capabilities need to
be distinguished using a special 'capability' tag.
-
Constructor Summary
Constructors Constructor Description AnnotationBasedTagProvider()
-
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
-
AnnotationBasedTagProvider
public AnnotationBasedTagProvider()
-
-
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.
-