com.atlassian.bamboo.matcher
Class IterablesTimesMatcher<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<Iterable<? super T>>
          extended by com.atlassian.bamboo.matcher.IterablesTimesMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<Iterable<? super T>>, org.hamcrest.SelfDescribing

public class IterablesTimesMatcher<T>
extends org.hamcrest.TypeSafeMatcher<Iterable<? super T>>


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static
<T> org.hamcrest.Matcher<Iterable<? super T>>
exactlyOnce(org.hamcrest.Matcher<? super T> itemMatcher)
           
protected  boolean matchesSafely(Iterable<? super T> iterable)
           
static
<T> org.hamcrest.Matcher<Iterable<? super T>>
none(org.hamcrest.Matcher<? super T> itemMatcher)
           
static
<T> org.hamcrest.Matcher<Iterable<? super T>>
times(int times, org.hamcrest.Matcher<? super T> itemMatcher)
           
static
<T> org.hamcrest.Matcher<Iterable<? super T>>
twice(org.hamcrest.Matcher<? super T> itemMatcher)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matchesSafely

protected boolean matchesSafely(Iterable<? super T> iterable)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<Iterable<? super T>>

describeTo

public void describeTo(org.hamcrest.Description description)

none

public static <T> org.hamcrest.Matcher<Iterable<? super T>> none(org.hamcrest.Matcher<? super T> itemMatcher)

exactlyOnce

public static <T> org.hamcrest.Matcher<Iterable<? super T>> exactlyOnce(org.hamcrest.Matcher<? super T> itemMatcher)

twice

public static <T> org.hamcrest.Matcher<Iterable<? super T>> twice(org.hamcrest.Matcher<? super T> itemMatcher)

times

public static <T> org.hamcrest.Matcher<Iterable<? super T>> times(int times,
                                                                  org.hamcrest.Matcher<? super T> itemMatcher)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.