Skip to content

Commit

Permalink
Merge pull request #256 from iLib-js/testcases_loLA
Browse files Browse the repository at this point in the history
Add testcase to verify lo-LA (Lao-Laos)
  • Loading branch information
gouniLee authored Sep 1, 2020
2 parents 862062f + c765c2c commit a023e6b
Show file tree
Hide file tree
Showing 30 changed files with 3,520 additions and 10 deletions.
4 changes: 2 additions & 2 deletions js/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ limitations under the License.
<property name="nm.bin" value="${build.base}/../node_modules/.bin"/>
<property name="jar.ilib" value="ilib.jar"/>
<property name="locales.default" value="en-AU,en-CA,en-GB,en-IN,en-NG,en-PH,en-PK,en-SG,en-US,en-ZA,de-DE,fr-CA,fr-FR,es-AR,es-ES,es-MX,id-ID,it-IT,ja-JP,ko-KR,pt-BR,ru-RU,tr-TR,vi-VN,zxx-XX,zh-Hans-CN,zh-Hant-HK,zh-Hant-TW,zh-Hans-SG"/>
<property name="locales.unittest" value="aa-DJ,af-NA,agq-CM,ak-GH,am-ET,ar-AE,ar-BH,ar-DJ,ar-DZ,ar-EG,ar-IQ,ar-JO,ar-KW,ar-LB,ar-LY,ar-MA,ar-MR,ar-OM,ar-QA,ar-SA,ar-SD,ar-SY,ar-TN,ar-YE,asa-TZ,as-IN,az-Latn-AZ,bas-CM,be-BY,bem-ZM,bg-BG,bh-IN,bm-ML,bn-IN,br-FR,bs-BS,bs-Cyrl-BA,bs-Latn-BA,bs-ME,ca-FR,cic-US,cop-EG,cs-CZ,da-DK,de-AT,de-CH,de-DE,el-GR,en-AM,en-AU,en-CA,en-ET,en-GB,en-GH,en-GM,en-HK,en-IE,en-IN,en-IS,en-KE,en-LK,en-LR,en-MP,en-MW,en-MY,en-NG,en-NZ,en-PA,en-PH,en-PK,en-PR,en-RW,en-SD,en-SG,en-SL,en-TZ,en-UG,en-US,en-ZA,en-ZM,es-AR,es-BO,es-CL,es-CO,es-CR,es-DO,es-EC,es-ES,es-GQ,es-GT,es-HN,es-MX,es-NI,es-PA,es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hy-AM,hy-AZ,id-ID,id-MY,it-CH,it-IT,is-IS,it-SM,ja-JP,ka-GE,ka-IR,kk-Cyrl-KZ,km-KH,kn-IN,ko-KR,ks-Arab-IN,ku-IR,ky-KG,lg-UG,ln-CF,lo-LA,lt-LT,lv-LV,mi-CK,mk-MK,ml-IN,mn-CN,mr-IN,ms-BN,ms-MY,nb-NO,ne-IN,nl-BE,nl-CW,nl-GF,nl-NL,nl-SR,no-BV,no-NO,no-SJ,om-ET,or-IN,os-RU,pa-Arab-PK,pl-PL,pt-AO,pt-BR,pt-CV,pt-GW,pt-MO,pt-MZ,pt-PT,pt-ST,pt-TL,ro-RO,ro-RS,ru-KG,ru-KZ,ru-RU,ru-TM,si-LK,sk-SK,sl-SI,so-ET,so-SO,sq-AL,sq-ME,sq-MK,sr-Cyrl-BA,sr-Latn-BA,sr-Latn-ME,sr-Latn-RS,sr-RS,ss-SZ,ss-ZA,st-LS,sv-FI,sv-SE,sw-UG,ta-LK,ta-MY,ta-SG,te-IN,th-TH,tr-TR,tr-CY,uk-UA,ur-IN,ur-PK,uz-AF,uz-Arab-AF,uz-Cyrl-UZ,uz-Latn-UZ,vai-Latn-LR,vi-VN,zh-Hans-CN,zh-Hans-MO,zh-Hans-MY,zh-Hans-SG,zh-Hant-HK,zh-Hant-TW,zh-Hant-US,zu-ZA,zxx-Cyrl-XX,zxx-Hans-XX,zxx-Hebr-XX,zxx-XX"/>
<property name="keep.these.comments" value="/(\!data|\!loadLocaleData|\!defineLocaleData|\!macro|eslint-)/"/>

<!-- =================================================================== -->
Expand Down
10 changes: 10 additions & 0 deletions js/test/date/testDayOfWeek.js
Original file line number Diff line number Diff line change
Expand Up @@ -1969,6 +1969,16 @@ module.exports.testweekdata = {
test.equal(info.getWeekEndEnd(), 0);
test.done();
},
testWeekData_lo_LA: function(test) {
test.expect(4);
var info = new LocaleInfo("lo-LA");
test.ok(info !== null);

test.equal(info.getFirstDayOfWeek(), 0);
test.equal(info.getWeekEndStart(), 6);
test.equal(info.getWeekEndEnd(), 0);
test.done();
},
testWeekData_ky_KG: function(test) {
test.expect(4);
var info = new LocaleInfo("ky-KG");
Expand Down
10 changes: 10 additions & 0 deletions js/test/date/testMeridiems.js
Original file line number Diff line number Diff line change
Expand Up @@ -1974,6 +1974,16 @@ module.exports.testmeridiems = {

test.done();
},
testMeridiem_lo_LA: function(test) {
test.expect(3);
var fmt = DateFmt.getMeridiemsRange({locale:"lo-LA"});
test.ok(fmt !== null);

test.equal(fmt[0].name, "ກ່ອນທ່ຽງ");
test.equal(fmt[1].name, "ຫຼັງທ່ຽງ");

test.done();
},
testMeridiem_ky_KG: function(test) {
test.expect(3);
var fmt = DateFmt.getMeridiemsRange({locale:"ky-KG"});
Expand Down
44 changes: 43 additions & 1 deletion js/test/date/testMonthTranslation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7317,6 +7317,49 @@ module.exports.testmonthtranslation = {

test.done();
},
testMonthTranslate_lo_LA: function(test) {
test.expect(24);

// full, long: MMMM
// medium: MMM
// short: MM

var value = [], i;
var fmt = new DateFmt({locale:"lo-LA", date:"m", length: "full", useNative:false, timezone:"local"})
for (i=0; i < 12; i++) {
value[i] = fmt.format(DateFactory({month:i+1, type:"gregorian"}));
}
test.equal(value[0], "ມັງກອນ");
test.equal(value[1], "ກຸມພາ");
test.equal(value[2], "ມີນາ");
test.equal(value[3], "ເມສາ");
test.equal(value[4], "ພຶດສະພາ");
test.equal(value[5], "ມິຖຸນາ");
test.equal(value[6], "ກໍລະກົດ");
test.equal(value[7], "ສິງຫາ");
test.equal(value[8], "ກັນຍາ");
test.equal(value[9], "ຕຸລາ");
test.equal(value[10], "ພະຈິກ");
test.equal(value[11], "ທັນວາ");

var fmt = new DateFmt({locale:"lo-LA", date:"m", length: "medium", useNative:false, timezone:"local"})
for (i=0; i < 12; i++) {
value[i] = fmt.format(DateFactory({month:i+1, type:"gregorian"}));
}
test.equal(value[0], "ມ.ກ.");
test.equal(value[1], "ກ.ພ.");
test.equal(value[2], "ມ.ນ.");
test.equal(value[3], "ມ.ສ.");
test.equal(value[4], "ພ.ພ.");
test.equal(value[5], "ມິ.ຖ.");
test.equal(value[6], "ກ.ລ.");
test.equal(value[7], "ສ.ຫ.");
test.equal(value[8], "ກ.ຍ.");
test.equal(value[9], "ຕ.ລ.");
test.equal(value[10], "ພ.ຈ.");
test.equal(value[11], "ທ.ວ.");
test.done();
},
testMonthTranslate_ky_KG: function(test) {
test.expect(24);

Expand Down Expand Up @@ -7478,7 +7521,6 @@ module.exports.testmonthtranslation = {
for (i=0; i < 12; i++) {
value[i] = fmt.format(DateFactory({month:i+1, type:"gregorian"}));
}

test.equal(value[0], "հնվ");
test.equal(value[1], "փտվ");
test.equal(value[2], "մրտ");
Expand Down
1 change: 1 addition & 0 deletions js/test/date/testSuite.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<script src="testdatefmt_ko_KR.js"></script>
<script src="testdatefmt_ku_Arab_IQ.js"></script>
<script src="testdatefmt_ky_KG.js"></script>
<script src="testdatefmt_lo_LA.js"></script>
<script src="testdatefmt_lt_LT.js"></script>
<script src="testdatefmt_lv_LV.js"></script>
<script src="testdatefmt_mk_MK.js"></script>
Expand Down
1 change: 1 addition & 0 deletions js/test/date/testSuiteFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module.exports.files = [
"testdatefmt_ko_KR.js",
"testdatefmt_ku_Arab_IQ.js",
"testdatefmt_ky_KG.js",
"testdatefmt_lo_LA.js",
"testdatefmt_lt_LT.js",
"testdatefmt_lv_LV.js",
"testdatefmt_mk_MK.js",
Expand Down
71 changes: 71 additions & 0 deletions js/test/date/testWeekdayTranslation.js
Original file line number Diff line number Diff line change
Expand Up @@ -11223,6 +11223,77 @@ module.exports.testWeekdayTranslation = {

test.done();
},
testWeekdayTranslationFull_lo_LA: function(test) {
// full -> wide
test.expect(7);
var fmt, value = [], i;
fmt = new DateFmt({locale:"lo-LA", date:"w", length: "full", useNative:false, timezone:"local"})
for (i=0; i < 7; i++) {
value[i] = fmt.format(DateFactory({year: 2015, month: 8, day:i+2, type:"gregorian"}));
}
test.equal(value[0], "ວັນອາທິດ");
test.equal(value[1], "ວັນຈັນ");
test.equal(value[2], "ວັນອັງຄານ");
test.equal(value[3], "ວັນພຸດ");
test.equal(value[4], "ວັນພະຫັດ");
test.equal(value[5], "ວັນສຸກ");
test.equal(value[6], "ວັນເສົາ");
test.done();
},
testWeekdayTranslationLong_lo_LA: function(test) {
// long -> abbreviate
test.expect(7);
var fmt, value = [], i;
fmt = new DateFmt({locale:"lo-LA", date:"w", length: "long", useNative:false, timezone:"local"})
for (i=0; i < 7; i++) {
value[i] = fmt.format(DateFactory({year: 2015, month: 8, day:i+2, type:"gregorian"}));
}
test.equal(value[0], "ອາທິດ");
test.equal(value[1], "ຈັນ");
test.equal(value[2], "ອັງຄານ");
test.equal(value[3], "ພຸດ");
test.equal(value[4], "ພະຫັດ");
test.equal(value[5], "ສຸກ");
test.equal(value[6], "ເສົາ");

test.done();
},
testWeekdayTranslationMedium_lo_LA: function(test) {
// medium -> short
test.expect(7);
var fmt, value = [], i;
fmt = new DateFmt({locale:"lo-LA", date:"w", length: "medium", useNative:false, timezone:"local"})
for (i=0; i < 7; i++) {
value[i] = fmt.format(DateFactory({year: 2015, month: 8, day:i+2, type:"gregorian"}));
}
test.equal(value[0], "ອາ.");
test.equal(value[1], "ຈ.");
test.equal(value[2], "ອ.");
test.equal(value[3], "ພ.");
test.equal(value[4], "ພຫ.");
test.equal(value[5], "ສຸ.");
test.equal(value[6], "ສ.");

test.done();
},
testWeekdayTranslationShort_lo_LA: function(test) {
// short: narrow
test.expect(7);
var fmt, value = [], i;
fmt = new DateFmt({locale:"lo-LA", date:"w", length: "short", useNative:false, timezone:"local"})
for (i=0; i < 7; i++) {
value[i] = fmt.format(DateFactory({year: 2015, month: 8, day:i+2, type:"gregorian"}));
}
test.equal(value[0], "ອາ");
test.equal(value[1], "ຈ");
test.equal(value[2], "ອ");
test.equal(value[3], "ພ");
test.equal(value[4], "ພຫ");
test.equal(value[5], "ສຸ");
test.equal(value[6], "ສ");

test.done();
},
testWeekdayTranslationFull_ky_KG: function(test) {
// full -> wide
test.expect(7);
Expand Down
4 changes: 2 additions & 2 deletions js/test/date/testcalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (typeof(LocaleInfo) === "undefined") {

module.exports.testcalendar = {
testDefaultCalendar_GregorianCaseAll: function(test) {
test.expect(199);
test.expect(200);

var localeList = ["ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR",
"ar-OM","ar-QA","ar-SA","ar-SD","ar-SY","ar-TN","ar-YE","as-IN","az-Latn-AZ","bg-BG","bn-IN","bs-Latn-BA,bs-Latn-ME",
Expand All @@ -34,7 +34,7 @@ module.exports.testcalendar = {
"es-PY","es-SV","es-US","es-UY","es-VE","eu-ES","fi-FI","fr-BE","fr-BF","fr-BJ","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI",
"fr-CM","fr-GQ","fr-DJ","fr-DZ","fr-FR","fr-GA","fr-GN","fr-LB","fr-LU","fr-ML","fr-RW","fr-SN","fr-TG","ga-IE","gl-ES","gu-IN",
"he-IL","hi-IN","hi-SG","hr-HR","hr-ME","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","ka-GE","kk-Cyrl-KZ","km-KH","kn-IN",
"ko-KR","ku-Arab-IQ","ky-KG","lt-LT","lv-LV","mk-MK","ml-IN","mn-Cyrl-MN","mr-IN","ms-MY","ms-SG","nb-NO","nl-BE","nl-NL","pa-IN",
"ko-KR","ku-Arab-IQ","ky-KG","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-Cyrl-MN","mr-IN","ms-MY","ms-SG","nb-NO","nl-BE","nl-NL","pa-IN",
"pa-PK","pl-PL","pt-AO","pt-BR","pt-GQ","pt-CV","pt-PT","ro-RO","ru-BY","ru-GE","ru-KG","ru-KZ","ru-RU","ru-UA","si-LK",
"sk-SK","sl-SI","sq-AL","sq-ME","sr-Latn-ME","sr-Latn-RS","sv-FI","sv-SE","sw-KE","ta-IN","ta-SG","te-IN","tr-AM","tr-AZ",
"tr-CY","tr-TR","uk-UA","ur-IN","ur-PK","uz-Cyrl-UZ","uz-Latn-UZ","vi-VN","zh-Hans-CN","zh-Hans-SG","zh-Hant-HK",
Expand Down
9 changes: 9 additions & 0 deletions js/test/date/testclock.js
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,15 @@ module.exports.testclock = {

test.done();
},
testClock_lo_LA: function(test) {
test.expect(2);
var info = new LocaleInfo("lo-LA");
test.ok(info !== null);

test.equal(info.getClock(), 24);

test.done();
},
testClock_ky_KG: function(test) {
test.expect(2);
var info = new LocaleInfo("ky-KG");
Expand Down
Loading

0 comments on commit a023e6b

Please sign in to comment.