public interface ComparableFluent<C extends Comparable<C>,Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>> extends org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value,BaseFluent,TheFluent,This>, ObjectFluent<Value,BaseFluent,TheFluent,This>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ComparableFluent.AndChain<C extends Comparable<C>,Value extends C,TheFluent,This extends ComparableFluent.AndChain<C,Value,TheFluent,This>> |
static class |
ComparableFluent.Assert<C extends Comparable<C>,Value extends C> |
static interface |
ComparableFluent.OrChain<C extends Comparable<C>,Value extends C,TheFluent,This extends ComparableFluent.OrChain<C,Value,TheFluent,This>> |
static class |
ComparableFluent.Step<C extends Comparable<C>,Value extends C,TheFluent,This extends ComparableFluent.Step<C,Value,TheFluent,This>> |
| Modifier and Type | Method and Description |
|---|---|
ComparableFluent.AndChain<C,Value,TheFluent,?> |
all() |
ComparableFluent.AndChain<C,Value,TheFluent,?> |
both() |
ComparableFluent.AndChain<C,Value,TheFluent,?> |
both(org.hamcrest.Matcher<? super Value> matcher) |
default TheFluent |
comparesEqualTo(Value value)
Creates a matcher of
Comparable object that matches when the examined object is
equal to the specified value, as reported by the compareTo method of the
examined object. |
ComparableFluent.OrChain<C,Value,TheFluent,?> |
either() |
ComparableFluent.OrChain<C,Value,TheFluent,?> |
either(org.hamcrest.Matcher<? super Value> matcher) |
default TheFluent |
greaterThan(Value value)
Creates a matcher of
Comparable object that matches when the examined object is
greater than the specified value, as reported by the compareTo method of the
examined object. |
default TheFluent |
greaterThanOrEqualTo(Value value)
Creates a matcher of
Comparable object that matches when the examined object is
greater than or equal to the specified value, as reported by the compareTo method
of the examined object. |
default TheFluent |
lessThan(Value value)
Creates a matcher of
Comparable object that matches when the examined object is
less than the specified value, as reported by the compareTo method of the
examined object. |
default TheFluent |
lessThanOrEqualTo(Value value)
Creates a matcher of
Comparable object that matches when the examined object is
less than or equal to the specified value, as reported by the compareTo method
of the examined object. |
get, get, hasToString, hasToString, isIn, isIn, isOneOf, notNullValue, nullValue, sameInstance, theInstance__, __, __, allOf, anyOf, as, as, equalTo, has, has, has, has, hasNot, hasNot, hasNot, hasNot, hasType, is, is, is, isA, isNot, isNot, isNot, noneOf, not, not, not, not, notdefault TheFluent comparesEqualTo(Value value)
Comparable object that matches when the examined object is
equal to the specified value, as reported by the compareTo method of the
examined object.
For example:
assertThat(1, comparesEqualTo(1))
value - the value which, when passed to the compareTo method of the examined object, should return zeroOrderingComparison.comparesEqualTo(java.lang.Comparable)default TheFluent greaterThan(Value value)
Comparable object that matches when the examined object is
greater than the specified value, as reported by the compareTo method of the
examined object.
For example:
assertThat(2, greaterThan(1))
value - the value which, when passed to the compareTo method of the examined object, should return greater
than zeroOrderingComparison.greaterThan(java.lang.Comparable)default TheFluent greaterThanOrEqualTo(Value value)
Comparable object that matches when the examined object is
greater than or equal to the specified value, as reported by the compareTo method
of the examined object.
For example:
assertThat(1, greaterThanOrEqualTo(1))
value - the value which, when passed to the compareTo method of the examined object, should return greater
than or equal to zeroOrderingComparison.greaterThanOrEqualTo(java.lang.Comparable)default TheFluent lessThan(Value value)
Comparable object that matches when the examined object is
less than the specified value, as reported by the compareTo method of the
examined object.
For example:
assertThat(1, lessThan(2))
value - the value which, when passed to the compareTo method of the examined object, should return less
than zeroOrderingComparison.lessThan(java.lang.Comparable)default TheFluent lessThanOrEqualTo(Value value)
Comparable object that matches when the examined object is
less than or equal to the specified value, as reported by the compareTo method
of the examined object.
For example:
assertThat(1, lessThanOrEqualTo(1))
value - the value which, when passed to the compareTo method of the examined object, should return less
than or equal to zeroOrderingComparison.lessThanOrEqualTo(java.lang.Comparable)ComparableFluent.OrChain<C,Value,TheFluent,?> either()
either in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>either in interface org.cthul.matchers.fluent.FluentStep<Value extends C,BaseFluent>either in interface ObjectFluent<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>ComparableFluent.OrChain<C,Value,TheFluent,?> either(org.hamcrest.Matcher<? super Value> matcher)
either in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>either in interface org.cthul.matchers.fluent.FluentStep<Value extends C,BaseFluent>either in interface ObjectFluent<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>ComparableFluent.AndChain<C,Value,TheFluent,?> both()
both in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>both in interface org.cthul.matchers.fluent.FluentStep<Value extends C,BaseFluent>both in interface ObjectFluent<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>ComparableFluent.AndChain<C,Value,TheFluent,?> both(org.hamcrest.Matcher<? super Value> matcher)
both in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>both in interface org.cthul.matchers.fluent.FluentStep<Value extends C,BaseFluent>both in interface ObjectFluent<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>ComparableFluent.AndChain<C,Value,TheFluent,?> all()
all in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>all in interface org.cthul.matchers.fluent.FluentStep<Value extends C,BaseFluent>all in interface ObjectFluent<Value extends C,BaseFluent,TheFluent extends BaseFluent,This extends ComparableFluent<C,Value,BaseFluent,TheFluent,This>>Copyright © 2015. All Rights Reserved.