Class Ordered

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<SqlQuery>
org.dhatim.sql.hamcrest.matcher.Ordered
All Implemented Interfaces:
org.hamcrest.Matcher<SqlQuery>, org.hamcrest.SelfDescribing

public class Ordered extends org.hamcrest.TypeSafeDiagnosingMatcher<SqlQuery>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Ordered(Iterable<org.hamcrest.Matcher<? super SqlQuery>> matchers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<SqlQuery>
    allOf(Iterable<org.hamcrest.Matcher<? super SqlQuery>> matchers)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    static org.hamcrest.Matcher<SqlQuery>
    allOf(org.hamcrest.Matcher<? super SqlQuery>... matchers)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    static org.hamcrest.Matcher<SqlQuery>
    allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    static org.hamcrest.Matcher<SqlQuery>
    allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    static org.hamcrest.Matcher<SqlQuery>
    allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third, org.hamcrest.Matcher<? super SqlQuery> fourth)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    static org.hamcrest.Matcher<SqlQuery>
    allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third, org.hamcrest.Matcher<? super SqlQuery> fourth, org.hamcrest.Matcher<? super SqlQuery> fifth)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    static org.hamcrest.Matcher<SqlQuery>
    allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third, org.hamcrest.Matcher<? super SqlQuery> fourth, org.hamcrest.Matcher<? super SqlQuery> fifth, org.hamcrest.Matcher<? super SqlQuery> sixth)
    Creates a matcher that matches if the examined object matches ALL of the specified matchers.
    void
    describeTo(org.hamcrest.Description description)
     

    Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Ordered

      public Ordered(Iterable<org.hamcrest.Matcher<? super SqlQuery>> matchers)
  • Method Details

    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • allOf

      public static org.hamcrest.Matcher<SqlQuery> allOf(Iterable<org.hamcrest.Matcher<? super SqlQuery>> matchers)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))
    • allOf

      @SafeVarargs public static org.hamcrest.Matcher<SqlQuery> allOf(org.hamcrest.Matcher<? super SqlQuery>... matchers)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))
    • allOf

      public static org.hamcrest.Matcher<SqlQuery> allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))
    • allOf

      public static org.hamcrest.Matcher<SqlQuery> allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))
    • allOf

      public static org.hamcrest.Matcher<SqlQuery> allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third, org.hamcrest.Matcher<? super SqlQuery> fourth)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))
    • allOf

      public static org.hamcrest.Matcher<SqlQuery> allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third, org.hamcrest.Matcher<? super SqlQuery> fourth, org.hamcrest.Matcher<? super SqlQuery> fifth)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))
    • allOf

      public static org.hamcrest.Matcher<SqlQuery> allOf(org.hamcrest.Matcher<? super SqlQuery> first, org.hamcrest.Matcher<? super SqlQuery> second, org.hamcrest.Matcher<? super SqlQuery> third, org.hamcrest.Matcher<? super SqlQuery> fourth, org.hamcrest.Matcher<? super SqlQuery> fifth, org.hamcrest.Matcher<? super SqlQuery> sixth)
      Creates a matcher that matches if the examined object matches ALL of the specified matchers.

      For example:

      assertThat("myValue", allOf(startsWith("my"), containsString("Val")))