To allow a shorthand on Java types the junitx.ddtunit.data.processing.TypeAbbreviator
is introduced to the API. Executed as standalone application it lists all known
type abbreviations to System.out.
More on configuration.
Here is the list as defined in DDTUnit version 0.6.6:
Type Shortcut | Long Expression |
---|---|
byte, Byte | java.lang.Byte |
boolean, Boolean | java.lang.Boolean |
char, Character | java.lang.Character |
string, String | java.lang.String |
short, Short | java.lang.Short |
int, Integer | java.lang.Integer |
long, Long | java.lang.Long |
bigint, BigInteger | java.math.BigInteger |
float, Float | java.lang.Float |
double, Double | java.lang.Double |
bigdecimal, BigDecimal | java.math.BigDecimal |
arraylist, ArrayList | java.util.ArrayList |
vector, Vector | java.util.Vector |
hashmap, HashMap | java.util.HashMap |
hashtable, Hashtable | java.util.Hashtable |
udate | java.util.Date |
date, Date | java.util.Date |
sdate | java.sql.Date |
tdate | java.text.Date |