Package | Description |
---|---|
com.akuiteo.testingtool.assertions |
Modifier and Type | Field and Description |
---|---|
Assertion |
Assertion.a |
Assertion |
Assertion.all |
Assertion |
Assertion.an |
Assertion |
Assertion.and |
Assertion |
Assertion.any |
Assertion |
Assertion.at |
Assertion |
Assertion.be |
Assertion |
Assertion.been |
Assertion |
Assertion.contain |
Assertion |
Assertion.contains |
Assertion |
Assertion.deep |
Assertion |
Assertion.has |
Assertion |
Assertion.have |
Assertion |
Assertion.include |
Assertion |
Assertion.includes |
Assertion |
Assertion.is |
Assertion |
Assertion.length |
Assertion |
Assertion.not |
Assertion |
Assertion.of |
Assertion |
Assertion.same |
Assertion |
Assertion.size |
Assertion |
Assertion.that |
Assertion |
Assertion.to |
Assertion |
Assertion.which |
Assertion |
Assertion.with |
Modifier and Type | Method and Description |
---|---|
Assertion |
Assertion.a(Class<?> clazz)
An alias of
instanceOf(Class) |
Assertion |
Assertion.a(Class<?> clazz,
String prefix)
An alias of
instanceOf(Class, String) |
Assertion |
Assertion.an(Class<?> clazz)
An alias of
instanceOf(Class) |
Assertion |
Assertion.an(Class<?> clazz,
String prefix)
An alias of
instanceOf(Class, String) |
Assertion |
Assertion.cause() |
Assertion |
Assertion.cause(Class<? extends Throwable> throwableClass) |
Assertion |
Assertion.cause(Class<? extends Throwable> throwableClass,
Pattern errorPattern) |
Assertion |
Assertion.cause(Class<? extends Throwable> throwableClass,
Pattern errorPattern,
String prefix) |
Assertion |
Assertion.cause(Class<? extends Throwable> throwableClass,
String errorMessage) |
Assertion |
Assertion.cause(Class<? extends Throwable> throwableClass,
String errorMessage,
String prefix) |
Assertion |
Assertion.cause(Pattern errorPattern) |
Assertion |
Assertion.cause(String errorMessage) |
Assertion |
Assertion.cause(Throwable throwable) |
Assertion |
Assertion.cause(Throwable throwable,
String prefix) |
Assertion |
Assertion.causes() |
Assertion |
Assertion.causes(Class<? extends Throwable> throwableClass) |
Assertion |
Assertion.causes(Class<? extends Throwable> throwableClass,
Pattern errorMessage) |
Assertion |
Assertion.causes(Class<? extends Throwable> throwableClass,
Pattern errorMessage,
String prefix) |
Assertion |
Assertion.causes(Class<? extends Throwable> throwableClass,
String errorMessage) |
Assertion |
Assertion.causes(Pattern errorMessage) |
Assertion |
Assertion.causes(String errorMessage) |
Assertion |
Assertion.causes(Throwable throwable) |
Assertion |
Assertion.causes(Throwable throwable,
String prefix) |
Assertion |
Assertion.change(Object bean,
String property) |
Assertion |
Assertion.change(Object bean,
String property,
String prefix) |
Assertion |
Assertion.changes(Object bean,
String property) |
Assertion |
Assertion.changes(Object bean,
String property,
String prefix) |
Assertion |
Assertion.contain(Object value)
Alias of
include(Object) |
Assertion |
Assertion.contain(Object value,
String prefix)
Alias of
include(Object, String) |
Assertion |
Assertion.contains(Object value)
Alias of
include(Object) |
Assertion |
Assertion.contains(Object value,
String prefix)
Alias of
include(Object, String) |
Assertion |
Assertion.decrease(Object bean,
String property) |
Assertion |
Assertion.decrease(Object bean,
String property,
String prefix) |
Assertion |
Assertion.decreases(Object bean,
String property) |
Assertion |
Assertion.decreases(Object bean,
String property,
String prefix) |
static Assertion |
DaFoncAssertion.expect(Object object) |
Assertion |
Assertion.include(Object value)
Same as
include(Object, String) with no prefix set. |
Assertion |
Assertion.include(Object value,
String prefix)
Asserts the inclusion of an object in an array/collection or a substring in a string.
|
Assertion |
Assertion.includes(Object value)
Alias of
include(Object) |
Assertion |
Assertion.includes(Object value,
String prefix)
Alias of
include(Object, String) |
Assertion |
Assertion.increase(Object bean,
String property) |
Assertion |
Assertion.increase(Object bean,
String property,
String prefix) |
Assertion |
Assertion.increases(Object bean,
String property) |
Assertion |
Assertion.increases(Object bean,
String property,
String prefix) |
Assertion |
Assertion.instanceOf(Class<?> clazz)
Same as
instanceOf(Class, String) with no prefix set. |
Assertion |
Assertion.instanceOf(Class<?> clazz,
String prefix)
The method
instanceOf asserts the class of a value. |
Assertion |
Assertion.length(int length)
Same as
length(int, String) with no prefix set. |
Assertion |
Assertion.length(int length,
String prefix)
Asserts that the target's `length` has the expected value.
|
Assertion |
Assertion.property(String path) |
Assertion |
Assertion.property(String path,
Object expected) |
Assertion |
Assertion.property(String path,
Object expected,
String prefix)
Asserts that the target has a property `name`, and that
the value of that property is equal to `value`.
|
Assertion |
Assertion.size(int length)
Alias as
length(int) |
Assertion |
Assertion.size(int length,
String prefix)
Alias of
length(int, String) |
Copyright © 2016. All rights reserved.