diff options
Diffstat (limited to 'icu4c/source/test/cintltst/cucdapi.c')
-rw-r--r-- | icu4c/source/test/cintltst/cucdapi.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/icu4c/source/test/cintltst/cucdapi.c b/icu4c/source/test/cintltst/cucdapi.c index 4f9986017..27936f1b2 100644 --- a/icu4c/source/test/cintltst/cucdapi.c +++ b/icu4c/source/test/cintltst/cucdapi.c @@ -46,7 +46,7 @@ static void assertEqualScripts(const char *msg, } } -void TestUScriptCodeAPI(){ +void TestUScriptCodeAPI(void){ int i =0; int numErrors =0; { @@ -431,6 +431,8 @@ void TestUScriptCodeAPI(){ "Cypro_Minoan", "Old_Uyghur", "Tangsa", "Toto", "Vithkuqi", // new in ICU 72 "Kawi", "Nag_Mundari", + // new in ICU 75 + "Aran", }; static const char* expectedShort[] = { "Bali", "Batk", "Blis", "Brah", "Cham", "Cirt", "Cyrs", "Egyd", "Egyh", "Egyp", @@ -471,6 +473,8 @@ void TestUScriptCodeAPI(){ "Cpmn", "Ougr", "Tnsa", "Toto", "Vith", // new in ICU 72 "Kawi", "Nagm", + // new in ICU 75 + "Aran", }; int32_t j = 0; if(UPRV_LENGTHOF(expectedLong)!=(USCRIPT_CODE_LIMIT-USCRIPT_BALINESE)) { @@ -518,7 +522,7 @@ void TestUScriptCodeAPI(){ } } -void TestHasScript() { +void TestHasScript(void) { if(!( !uscript_hasScript(0x063f, USCRIPT_COMMON) && uscript_hasScript(0x063f, USCRIPT_ARABIC) && /* main Script value */ @@ -578,7 +582,7 @@ static UBool scriptsContain(UScriptCode scripts[], int32_t length, UScriptCode s return contain; } -void TestGetScriptExtensions() { +void TestGetScriptExtensions(void) { UScriptCode scripts[20]; int32_t length; UErrorCode errorCode; @@ -666,7 +670,7 @@ void TestGetScriptExtensions() { } } -void TestScriptMetadataAPI() { +void TestScriptMetadataAPI(void) { /* API & code coverage. More testing in intltest/ucdtest.cpp. */ UErrorCode errorCode=U_ZERO_ERROR; UChar sample[8]; @@ -729,7 +733,7 @@ void TestScriptMetadataAPI() { } } -void TestBinaryValues() { +void TestBinaryValues(void) { /* * Unicode 5.1 explicitly defines binary property value aliases. * Verify that they are all recognized. |