diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-10 10:30:28 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-10 10:30:28 +0000 |
commit | bb9231c8402e9ae99f98a868429e73c6340da304 (patch) | |
tree | d7ed637099fba4ab6db1cc4c009cad8485dcdb66 /test/locale-mbwc/dat_tow-funcs.h | |
parent | a691312d8794d5516402bb6bb0d3e90c40ba188b (diff) |
Added missing tests for locale with multibyte encoding
Diffstat (limited to 'test/locale-mbwc/dat_tow-funcs.h')
-rw-r--r-- | test/locale-mbwc/dat_tow-funcs.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/locale-mbwc/dat_tow-funcs.h b/test/locale-mbwc/dat_tow-funcs.h new file mode 100644 index 000000000..44564374c --- /dev/null +++ b/test/locale-mbwc/dat_tow-funcs.h @@ -0,0 +1,24 @@ +/* + * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY + * + * FILE: dat_tow-funcs.h + * + * ISW*: int tow*( wint_t wc ); + */ + +#include <errno.h> +#include <stdlib.h> +#include <wctype.h> +#include "tst_types.h" +#include "tgn_locdef.h" + +#define TST_TOW_LOC(FUNC, func) \ + TST_TOW## FUNC tst_tow## func ##_loc[] + +#define TST_TOW_REC(locale, func) \ + { Ttow## func, TST_LOC_## locale }, + +/* + * NOTE: + * need more test data! + */ |