[ITC][base-utils][Non-ACR][TNEXT-1307: Fixed TC]
authorSushil Bhadula <s.bhadula@samsung.com>
Mon, 31 Jul 2017 06:00:31 +0000 (11:30 +0530)
committerSushil Bhadula <s.bhadula@samsung.com>
Mon, 31 Jul 2017 06:00:31 +0000 (11:30 +0530)
Change-Id: Ibf1ee361257716dd978d96927214aa5fcf82f1e5
Signed-off-by: Sushil Bhadula <s.bhadula@samsung.com>
src/itc/base-utils/ITs-base-utils-ucollator.c

index 3fe2dba..0bac9de 100755 (executable)
@@ -759,9 +759,9 @@ int ITc_i18n_ucollator_set_reorder_codes_p(void)
 {
        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));
 
@@ -1378,7 +1378,8 @@ int ITc_i18n_ucollator_set_get_max_variable_p(void)
                
                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])
@@ -1648,4 +1649,4 @@ int ITc_i18n_ucollator_create_binary_p(void)
        PRINT_RESULT_NORETURN(I18N_ERROR_NONE, nRet, "i18n_ucollator_destroy", BaseUtilsGetError(nRet));
        
        return 0;
-}
\ No newline at end of file
+}