Package com.oracle.bedrock.matchers
Class PartitionSetMatcher
java.lang.Object
org.hamcrest.BaseMatcher<com.tangosol.net.partition.PartitionSet>
org.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
com.oracle.bedrock.matchers.PartitionSetMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<com.tangosol.net.partition.PartitionSet>,org.hamcrest.SelfDescribing
public class PartitionSetMatcher
extends org.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<com.tangosol.net.partition.PartitionSet> contains(int... partitionIds) protected voiddescribeMismatchSafely(com.tangosol.net.partition.PartitionSet partitionSet, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(com.tangosol.net.partition.PartitionSet partitionSet) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Method Details
-
matchesSafely
protected boolean matchesSafely(com.tangosol.net.partition.PartitionSet partitionSet) - Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
-
describeMismatchSafely
protected void describeMismatchSafely(com.tangosol.net.partition.PartitionSet partitionSet, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
contains
public static org.hamcrest.Matcher<com.tangosol.net.partition.PartitionSet> contains(int... partitionIds)
-