Package | Description |
---|---|
org.assertj.db.api |
This package contains the API of assertj-db (and especially the entry point class
Assertions ). |
org.assertj.db.api.assertions |
This package contains interfaces that defines the different assertions methods.
|
org.assertj.db.api.assertions.impl |
This package contains utility classes that implements the different assertions methods.
|
org.assertj.db.error |
This package contains the different error messages used when an assertion methods fail.
|
org.assertj.db.type |
This package contains the classes that defines the different types used in assertj-db.
|
Modifier and Type | Method and Description |
---|---|
ChangeColumnAssert |
ChangeColumnAssert.isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the column is equal to one of the types in parameters.
|
V |
AbstractValueAssert.isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the value is equal to one of the types in parameters.
|
C |
AbstractColumnAssert.isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the column is equal to one of the types in parameters.
|
E |
AbstractAssertWithValues.isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the value is equal to one of the types in parameters.
|
V |
AbstractValueAssert.isOfType(ValueType expected)
Verifies that the type of the value is equal to the type in parameter.
|
E |
AbstractAssertWithValues.isOfType(ValueType expected)
Verifies that the type of the value is equal to the type in parameter.
|
ChangeColumnAssert |
ChangeColumnAssert.isOfType(ValueType expected,
boolean lenient)
Verifies that the type of the values of the column is equal to the type in parameter.
|
C |
AbstractColumnAssert.isOfType(ValueType expected,
boolean lenient)
Verifies that the type of the values of the column is equal to the type in parameter.
|
Modifier and Type | Method and Description |
---|---|
T |
AssertOnValueType.isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the value is equal to one of the types in parameters.
|
T |
AssertOnColumnType.isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the column is equal to one of the types in parameters.
|
T |
AssertOnValueType.isOfType(ValueType expected)
Verifies that the type of the value is equal to the type in parameter.
|
T |
AssertOnColumnType.isOfType(ValueType expected,
boolean lenient)
Verifies that the type of the values of the column is equal to the type in parameter.
|
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert> |
AssertionsOnColumnType.isOfAnyTypeIn(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
List<Object> valuesList,
ValueType... expected)
Verifies that the type of the column is equal to one of the types in parameters.
|
static <A extends AbstractAssert> |
AssertionsOnColumnOfChangeType.isOfAnyTypeIn(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object valueAtStartPoint,
Object valueAtEndPoint,
ValueType... expected)
Verifies that the type of the column is equal to one of the types in parameters.
|
static <A extends AbstractAssert> |
AssertionsOnValueType.isOfAnyTypeIn(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
ValueType... expected)
Verifies that the type of the value is equal to one of the types in parameters.
|
static <A extends AbstractAssert> |
AssertionsOnColumnType.isOfType(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
List<Object> valuesList,
ValueType expected,
boolean lenient)
/**
Verifies that the type of the values of the column is equal to the type in parameter.
|
static <A extends AbstractAssert> |
AssertionsOnColumnOfChangeType.isOfType(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object valueAtStartPoint,
Object valueAtEndPoint,
ValueType expected,
boolean lenient)
/**
Verifies that the type of the values of the column is equal to the type in parameter.
|
static <A extends AbstractAssert> |
AssertionsOnValueType.isOfType(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
ValueType expected)
Verifies that the type of the value is equal to the type in parameter.
|
Modifier and Type | Method and Description |
---|---|
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueType.shouldBeValueType(int index,
Object actual,
ValueType expected,
ValueType tested)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueType.shouldBeValueType(Object actual,
ValueType expected,
ValueType tested)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAny.shouldBeValueTypeOfAny(int index,
Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAny.shouldBeValueTypeOfAny(int index,
Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAny.shouldBeValueTypeOfAny(Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAny.shouldBeValueTypeOfAny(Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAnyWithEndPoint.shouldBeValueTypeOfAnyWithEndPoint(Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAnyWithEndPoint.shouldBeValueTypeOfAnyWithEndPoint(Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAnyWithStartPoint.shouldBeValueTypeOfAnyWithStartPoint(Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeOfAnyWithStartPoint.shouldBeValueTypeOfAnyWithStartPoint(Object actual,
ValueType tested,
ValueType... expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeWithEndPoint.shouldBeValueTypeWithEndPoint(Object actual,
ValueType expected,
ValueType tested)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
ShouldBeValueTypeWithStartPoint.shouldBeValueTypeWithStartPoint(Object actual,
ValueType expected,
ValueType tested)
Creates a new
. |
Modifier and Type | Method and Description |
---|---|
static ValueType[] |
ValueType.getPossibleTypesForComparison(Object expected)
Returns the types which are possible for the actual value (data) for the comparison with an expected value.
|
static ValueType |
ValueType.getType(Object value)
Returns the type of the actual value (data).
|
static ValueType |
ValueType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
ValueType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2015 AssertJ. All Rights Reserved.