ICU-311 comment out tests for currently known broken functionality

X-SVN-Rev: 2018
This commit is contained in:
Markus Scherer 2000-07-21 23:28:07 +00:00
parent 76126da0f7
commit e76fb1f0ca
2 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "cstring.h"
#include "unicode/uloc.h"
#include "unicode/ucnv.h"
#include "unicode/ucnv_err.h"
@ -272,7 +273,7 @@ void TestSkip(int32_t inputsize, int32_t outputsize)
(UConverterToUCallback)UCNV_TO_U_CALLBACK_SKIP, from_euc_twOffs ))
log_err("euc-tw->u with skip did not match.\n");
if(!testConvertToUnicode(sampleTxtLMBCS, sizeof(sampleTxtLMBCS),
if(/* broken for icu 1.6, do not test */uprv_strcmp("1.6", U_ICU_VERSION) != 0 && !testConvertToUnicode(sampleTxtLMBCS, sizeof(sampleTxtLMBCS),
LMBCSToUnicode, sizeof(LMBCSToUnicode)/sizeof(LMBCSToUnicode[0]),"LMBCS-1",
(UConverterToUCallback)UCNV_TO_U_CALLBACK_SKIP, fromLMBCS ))
log_err("LMBCS->u with skip did not match.\n");
@ -734,7 +735,7 @@ void TestSubWithValue(int32_t inputsize, int32_t outputsize)
/*got to confirm this*/
if(!testConvertToUnicode(sampleTxtLMBCS, sizeof(sampleTxtLMBCS),
if(/* broken for icu 1.6, do not test */uprv_strcmp("1.6", U_ICU_VERSION) != 0 && !testConvertToUnicode(sampleTxtLMBCS, sizeof(sampleTxtLMBCS),
LMBCSToUnicode, sizeof(LMBCSToUnicode)/sizeof(LMBCSToUnicode[0]),"LMBCS",
(UConverterToUCallback)UCNV_TO_U_CALLBACK_ESCAPE, fromLMBCS ))
log_err("LMBCS->u with substitute with value did not match.\n");

View File

@ -16,6 +16,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "cstring.h"
#include "unicode/uloc.h"
#include "unicode/ucnv.h"
#include "unicode/ucnv_err.h"
@ -673,7 +674,7 @@ void TestNewConvertWithBufferSizes(int32_t outsize, int32_t insize )
sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "utf8", fmUTF8Offs ))
log_err("utf8 -> u did not match\n");
/*ISO-2022*/
if(!testConvertToU(expectedISO2022, sizeof(expectedISO2022),
if(/* broken for icu 1.6, do not test */uprv_strcmp("1.6", U_ICU_VERSION) != 0 && !testConvertToU(expectedISO2022, sizeof(expectedISO2022),
sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "iso-2022", fmISO2022Offs ))
log_err("iso-2022 -> u did not match.\n");
/*UTF16 LE*/