Skip to content

✨ Numeric Date Entry - enable custom culture #55

✨ Numeric Date Entry - enable custom culture

✨ Numeric Date Entry - enable custom culture #55

GitHub Actions / Unit Tests Results succeeded Mar 18, 2024 in 5s

Unit Tests Results ✔️

Tests passed successfully

✔️ Smartway.UiComponent.UnitTests/TestResults/test-results-unittests.trx

27 tests were completed in 3s with 27 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Smartway.UiComponent.UnitTests.Inputs.Barcode.OnTextChanged 6✔️ 135ms
Smartway.UiComponent.UnitTests.Inputs.NumericDateEntryTest.NumericDateEntryTest 21✔️ 134ms

✔️ Smartway.UiComponent.UnitTests.Inputs.Barcode.OnTextChanged

✔️ CanExecuteIsFalse
✔️ GencodeFilledBigLength
✔️ GencodeFilledWithNotDigitChar
✔️ GencodeNotTotallyFilled
✔️ UnvalidGencodeFilled
✔️ ValidGencodeFilled

✔️ Smartway.UiComponent.UnitTests.Inputs.NumericDateEntryTest.NumericDateEntryTest

✔️ CustomCulture(deviceCulture: "fr-FR", customCulture: "fr-FR", year: 2024, expectedYear: "24")
✔️ CustomCulture(deviceCulture: "fr-FR", customCulture: "th-TH", year: 2024, expectedYear: "67")
✔️ CustomCulture(deviceCulture: "th-TH", customCulture: "fr-FR", year: 2024, expectedYear: "81")
✔️ DefaultPlaceholder(culture: "en-EN", day: "DD", month: "MM", year: "YY")
✔️ DefaultPlaceholder(culture: "en-US", day: "DD", month: "MM", year: "YY")
✔️ DefaultPlaceholder(culture: "es-ES", day: "JJ", month: "MM", year: "AA")
✔️ DefaultPlaceholder(culture: "fr-FR", day: "JJ", month: "MM", year: "AA")
✔️ DefaultPlaceholder(culture: "it-IT", day: "JJ", month: "MM", year: "AA")
✔️ DefaultPlaceholder(culture: "ro-RO", day: "JJ", month: "MM", year: "AA")
✔️ DefaultPlaceholder(culture: "ru-RU", day: "JJ", month: "MM", year: "AA")
✔️ FilledCorrect
✔️ FilledUncorrectDate(day: "10", month: "02", year: "-1")
✔️ FilledUncorrectDate(day: "10", month: "90", year: "22")
✔️ FilledUncorrectDate(day: "31", month: "02", year: "22")
✔️ MonthDayOrderCulture(culture: "en-EN", expectedFirst: "10", expectedSecond: "06")
✔️ MonthDayOrderCulture(culture: "en-US", expectedFirst: "10", expectedSecond: "06")
✔️ MonthDayOrderCulture(culture: "es-ES", expectedFirst: "06", expectedSecond: "10")
✔️ MonthDayOrderCulture(culture: "fr-FR", expectedFirst: "06", expectedSecond: "10")
✔️ MonthDayOrderCulture(culture: "it-IT", expectedFirst: "06", expectedSecond: "10")
✔️ MonthDayOrderCulture(culture: "ro-RO", expectedFirst: "06", expectedSecond: "10")
✔️ MonthDayOrderCulture(culture: "ru-RU", expectedFirst: "06", expectedSecond: "10")