T
- sample typepublic class SelectorSamplerMatcher<T> extends SelectorMatcher<T>
Constructor and Description |
---|
SelectorSamplerMatcher(org.hamcrest.Matcher<T> matcher,
Class<? extends SelectorBasedSampler<T>> samplerClass,
Object... samplerParams)
Constructor for SelectorSamplerMatcher.
|
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(Selector item,
org.hamcrest.Description mismatchDescription) |
protected void |
describeSelector(org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
protected Class<? extends SelectorBasedSampler<T>> |
getSamplerClass() |
protected Object[] |
getSamplerParams() |
protected T |
map(Selector item) |
protected void |
setSamplerClass(Class<? extends SelectorBasedSampler<T>> samplerClass) |
protected void |
setSamplerParams(Object[] samplerParams) |
getSelector, getSelectorName, matchesSafely, setSelector
getInternalMatcher, setInternalMatcher
public SelectorSamplerMatcher(org.hamcrest.Matcher<T> matcher, Class<? extends SelectorBasedSampler<T>> samplerClass, Object... samplerParams)
Constructor for SelectorSamplerMatcher.
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
describeTo
in class TypeSafeWrappingMatcher<Selector,T>
protected void describeMismatchSafely(Selector item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class TypeSafeWrappingMatcher<Selector,T>
protected void describeSelector(org.hamcrest.Description description)
protected Class<? extends SelectorBasedSampler<T>> getSamplerClass()
protected Object[] getSamplerParams()
protected void setSamplerClass(Class<? extends SelectorBasedSampler<T>> samplerClass)
protected void setSamplerParams(Object[] samplerParams)
Copyright © 2017–2022 wcm.io QA. All rights reserved.