| Package | Description |
|---|---|
| org.easetech.easytest.annotation |
Package containing EasyTest specific annotations.
|
| org.easetech.easytest.converter |
Package containing various data converters part of the EasyTest framework.
|
| org.easetech.easytest.util |
Util Package
|
| Modifier and Type | Method and Description |
|---|---|
void |
Param.DataSupplier.setDateTimeFormatToUse(DateTimeFormat dateTimeFormatToUse) |
| Modifier and Type | Method and Description |
|---|---|
DateTimeFormat |
ConverterSupport.getDateTimeFormat()
The user specified date time format to use
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConverterSupport.setDateTimeFormat(DateTimeFormat dateTimeFormat)
The user specified date time format to use
|
| Constructor and Description |
|---|
CollectionConverter(EasyParamSignature signature,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new CollectionConverter
|
ConversionDelegator(EasyParamSignature signature,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new ConversionDelegator
|
ParamConstructorConverter(Class<?> parameterType,
String paramName,
Collection collection,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new ParamConstructorConverter
|
StandardObjectCollectionConverter(Collection collection,
EasyParamSignature signature,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new StandardObjectCollectionConverter
|
StandardObjectConverter(Class<?> parameterType,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new StandardObjectConverter
|
UserDefinedConverter(Class<?> parameterType,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new UserDefinedConverter
|
| Modifier and Type | Method and Description |
|---|---|
static Date |
GeneralUtil.convertToSQLDate(Object object,
DateTimeFormat dateTimeFormat)
Method to convert object to java.sql.Date type It checks the instance of the object is of different datatype then
it gets the value from the object and casts it to required data type.
|
static Time |
GeneralUtil.convertToSQLTime(Object object,
DateTimeFormat dateTimeFormat)
Method to convert object to java.sql.Tim type It checks the instance of the object is of different datatype then
it gets the value from the object and casts it to required data type.
|
static Timestamp |
GeneralUtil.convertToSQLTimestamp(Object object,
DateTimeFormat dateTimeFormat)
Method to convert object to java.sql.Timestamp type It checks the instance of the object is of different datatype
then it gets the value from the object and casts it to required data type.
|
static Object |
GeneralUtil.convertToTargetType(Class<?> idClass,
Object object,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Convert the given Class object to an object instance if possible
|
static Date |
GeneralUtil.convertToUtilDate(Object object,
DateTimeFormat dateTimeFormat)
Method to convert object to java.util.Date type It checks the instance of the object is of different datatype
then it gets the value from the object and casts it to required data type.
|
static Boolean |
GeneralUtil.fillDataUsingConstructor(Class<?> idClass,
List<Map<String,Object>> convertFrom,
List<org.junit.experimental.theories.PotentialAssignment> finalData,
String paramName,
Collection collectionInstance,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat) |
Copyright © 2014. All rights reserved.