| Package | Description |
|---|---|
| net.ttddyy.dsproxy.asserts | |
| net.ttddyy.dsproxy.asserts.assertj.helper | |
| net.ttddyy.dsproxy.asserts.hamcrest |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OutParameterHolder
Represent an execution that hold out parameter.
|
interface |
ParameterByIndexHolder
Represent an execution that hold parameter by index.
|
interface |
ParameterByNameHolder
Represent an execution that hold parameter by name.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallableBatchExecutionEntry
Represent a single batch execution of
CallableStatement. |
class |
CallableExecution
Represent a single execution of
CallableStatement. |
class |
PreparedBatchExecutionEntry
Represent batch entry of
PreparedStatement. |
class |
PreparedExecution
Represent a single execution of
PreparedStatement. |
| Modifier and Type | Method and Description |
|---|---|
<T extends ParameterHolder> |
ExecutionParameterAsserts.assertExecutionParameter(T paramHolder,
ExecutionParameter param) |
<T extends ParameterHolder> |
ExecutionParameterAsserts.assertExecutionParameters(T paramHolder,
ExecutionParameters params) |
<T extends ParameterHolder> |
ExecutionParameterAsserts.validateSetNullParameter(net.ttddyy.dsproxy.proxy.ParameterKey expectedParamKey,
Integer sqlType,
T executionEntry) |
<T extends ParameterHolder> |
ExecutionParameterAsserts.validateSetParameter(net.ttddyy.dsproxy.proxy.ParameterKey expectedParamKey,
Object expectedValue,
T executionEntry) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionParameterAsserts.assertParameterKeys(ParameterHolder parameterHolder,
ExecutionParameters params,
boolean isCallable) |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchExecutionEntryAsserts.assertBatchExecutionEntry(BatchParameterHolder batchParameterHolder,
int batchIndex,
Class<? extends ParameterHolder> batchExecutionEntryClass) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.nullParam(int index)
Matcher to examine parameter by index is
setNull operation. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.nullParam(int index,
int sqlType)
Matcher to examine parameter by index is
setNull operation with given Types. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.nullParam(String name)
Matcher to examine parameter by name is
setNull operation. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.nullParam(String name,
int sqlType)
Matcher to examine parameter by name is
setNull operation with given Types. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.outParam(int index,
int sqlType)
Matcher to examine out-parameter by index and int sqlType.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.outParam(int index,
SQLType sqlType)
Matcher to examine out-parameter by index and
SQLType. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.outParam(String paramName,
int sqlType)
Matcher to examine out-parameter by name and int sqlType.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.outParam(String paramName,
SQLType sqlType)
Matcher to examine out-parameter by name and
SQLType. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.outParamIndexes(org.hamcrest.Matcher<? super Collection<Integer>> collectionMatcher)
Matcher to examine out-parameter indexes as a
Collection of Integer. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.outParamNames(org.hamcrest.Matcher<? super Collection<String>> collectionMatcher)
Matcher to examine out-parameter names as a
Collection of String. |
static <T> org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.param(int index,
Class<T> clazz,
org.hamcrest.Matcher<? super T> matcher)
Matcher to examine parameter by index with given class type value.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.param(Integer index,
org.hamcrest.Matcher<Object> matcher)
Matcher to examine parameter by index.
|
static <T> org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.param(String name,
Class<T> clazz,
org.hamcrest.Matcher<? super T> matcher)
Matcher to examine parameter by name with given class type value.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.param(String name,
org.hamcrest.Matcher<Object> matcher)
Matcher to examine parameter by name.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsArray(Integer index,
org.hamcrest.Matcher<? super Array> matcher)
Matcher to examine parameter by index with value as
Array. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsArray(String name,
org.hamcrest.Matcher<? super Array> matcher)
Matcher to examine parameter by name with value as
Array. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsBigDecimal(Integer index,
org.hamcrest.Matcher<? super BigDecimal> matcher)
Matcher to examine parameter by index with value as
BigDecimal. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsBigDecimal(String name,
org.hamcrest.Matcher<? super BigDecimal> matcher)
Matcher to examine parameter by name with value as
BigDecimal. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsBoolean(Integer index,
org.hamcrest.Matcher<? super Boolean> matcher)
Matcher to examine parameter by index with value as
Boolean. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsBoolean(String name,
org.hamcrest.Matcher<? super Boolean> matcher)
Matcher to examine parameter by name with value as
Boolean. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsByte(Integer index,
org.hamcrest.Matcher<? super Byte> matcher)
Matcher to examine parameter by index with value as
Byte. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsByte(String name,
org.hamcrest.Matcher<? super Byte> matcher)
Matcher to examine parameter by name with value as
byte[]. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsBytes(Integer index,
org.hamcrest.Matcher<? super byte[]> matcher)
Matcher to examine parameter by index with value as
byte[]. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsBytes(String name,
org.hamcrest.Matcher<? super byte[]> matcher)
Matcher to examine parameter by name with value as
byte[]. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsDate(Integer index,
org.hamcrest.Matcher<? super Date> matcher)
Matcher to examine parameter by index with value as
Date. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsDate(String name,
org.hamcrest.Matcher<? super Date> matcher)
Matcher to examine parameter by name with value as
Time. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsDouble(Integer index,
org.hamcrest.Matcher<? super Double> matcher)
Matcher to examine parameter by index with value as
Double. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsDouble(String name,
org.hamcrest.Matcher<? super Double> matcher)
Matcher to examine parameter by name with value as
Double. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsFloat(Integer index,
org.hamcrest.Matcher<? super Float> matcher)
Matcher to examine parameter by index with value as
Float. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsFloat(String name,
org.hamcrest.Matcher<? super Float> matcher)
Matcher to examine parameter by name with value as
Float. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsInteger(Integer index,
org.hamcrest.Matcher<? super Integer> matcher)
Matcher to examine parameter by index with value as
Integer. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsInteger(String name,
org.hamcrest.Matcher<? super Integer> matcher)
Matcher to examine parameter by name with value as
Integer. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsLong(Integer index,
org.hamcrest.Matcher<? super Long> matcher)
Matcher to examine parameter by index with value as
Long. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsLong(String name,
org.hamcrest.Matcher<? super Long> matcher)
Matcher to examine parameter by name with value as
Long. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsShort(Integer index,
org.hamcrest.Matcher<? super Short> matcher)
Matcher to examine parameter by index with value as
Short. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsShort(String name,
org.hamcrest.Matcher<? super Short> matcher)
Matcher to examine parameter by name with value as
Short. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsString(Integer index,
org.hamcrest.Matcher<? super String> matcher)
Matcher to examine parameter by index with value as
String. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsString(String name,
org.hamcrest.Matcher<? super String> matcher)
Matcher to examine parameter by name with value as
String. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsTime(Integer index,
org.hamcrest.Matcher<? super Time> matcher)
Matcher to examine parameter by index with value as
Time. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsTime(String name,
org.hamcrest.Matcher<? super Time> matcher)
Matcher to examine parameter by name with value as
Time. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsTimestamp(Integer index,
org.hamcrest.Matcher<? super Timestamp> matcher)
Matcher to examine parameter by index with value as
Timestamp. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramAsTimestamp(String name,
org.hamcrest.Matcher<? super Timestamp> matcher)
Matcher to examine parameter by name with value as
Timestamp. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramIndexes(Integer... indexes)
Matcher to examine parameter indexes.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramIndexes(org.hamcrest.Matcher<? super Collection<Integer>> collectionMatcher)
Matcher to examine parameter indexes as a
Collection of Integer. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramNames(org.hamcrest.Matcher<? super Collection<String>> collectionMatcher)
Matcher to examine parameter names as a
Collection of String. |
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramNames(String... names)
Matcher to examine parameter names.
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramsByIndex(org.hamcrest.Matcher<Map<? extends Integer,?>> mapMatcher)
|
static org.hamcrest.Matcher<? super ParameterHolder> |
DataSourceAssertMatchers.paramsByName(org.hamcrest.Matcher<Map<? extends String,?>> mapMatcher)
|
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<? super BatchParameterHolder> |
DataSourceAssertMatchers.batch(int index,
org.hamcrest.Matcher<? super ParameterHolder> parameterHolderMatcher)
Matcher to check the given index in batch matches with given parameter matcher.
|
Copyright © 2017. All rights reserved.