{
START_TEST;
- int32_t nRecorderSize = 64;
+ int32_t nRecorderSize = 3;
int32_t nRecorderCodes[] = {I18N_UCOLLATOR_REORDER_CODE_SYMBOL, I18N_UCOLLATOR_REORDER_CODE_CURRENCY, I18N_UCOLLATOR_REORDER_CODE_DIGIT};
-
+
int nRet = i18n_ucollator_set_reorder_codes(g_hUcollator, nRecorderCodes, nRecorderSize);
PRINT_RESULT(I18N_ERROR_NONE, nRet, "i18n_ucollator_set_reorder_codes", BaseUtilsGetError(nRet));
nRet = i18n_ucollator_get_max_variable(g_hUcollator, &eGetRecorderCode);
PRINT_RESULT(I18N_ERROR_NONE, nRet, "i18n_ucollator_get_max_variable", BaseUtilsGetError(nRet));
-
+
+ //I18N_UCOLLATOR_REORDER_CODE_DEFAULT is an abstract reorder code type and depends on default settings configuration. It is also an alias for particular ordinary reorder code type, so it can be ommited in test case
if(eSetRecorderCode[nEnumCounter] != I18N_UCOLLATOR_REORDER_CODE_DEFAULT)
{
if(eGetRecorderCode != eSetRecorderCode[nEnumCounter])
PRINT_RESULT_NORETURN(I18N_ERROR_NONE, nRet, "i18n_ucollator_destroy", BaseUtilsGetError(nRet));
return 0;
-}
\ No newline at end of file
+}