Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(BarcodeInput): remove business logic from behavior #170

Merged
merged 1 commit into from
Nov 18, 2024

refactor(BarcodeInput): remove business logic from behavior

cf6823b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

refactor(BarcodeInput): remove business logic from behavior #170

refactor(BarcodeInput): remove business logic from behavior
cf6823b
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Tests Results succeeded Nov 15, 2024 in 1s

Unit Tests Results ✔️

Tests passed successfully

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

28 tests were completed in 1s with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Smartway.UiComponent.UnitTests.Inputs.Barcode.OnTextChanged 2✔️ 83ms
Smartway.UiComponent.UnitTests.Inputs.NumericDateEntryTest.NumericDateEntryTest 26✔️ 118ms

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

✔️ GencodeFilledWithNotDigitChar
✔️ ValidGencodeFilled

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

✔️ CustomCultureFilledDate(deviceCulture: "fr-FR", customCulture: "fr-FR", year: 2024, expectedYear: 2024)
✔️ CustomCultureFilledDate(deviceCulture: "fr-FR", customCulture: "th-TH", year: 2024, expectedYear: 2024)
✔️ CustomCultureFilledDate(deviceCulture: "th-TH", customCulture: "fr-FR", year: 2024, expectedYear: 2024)
✔️ CustomCultureFilledDate(deviceCulture: "th-TH", customCulture: "th-TH", year: 2024, expectedYear: 2024)
✔️ CustomCulturePlaceholder(deviceCulture: "fr-FR", customCulture: "fr-FR", year: 2024, expectedYear: "24")
✔️ CustomCulturePlaceholder(deviceCulture: "fr-FR", customCulture: "th-TH", year: 2024, expectedYear: "67")
✔️ CustomCulturePlaceholder(deviceCulture: "th-TH", customCulture: "fr-FR", year: 2024, expectedYear: "81")
✔️ CustomCulturePlaceholder(deviceCulture: "th-TH", customCulture: "th-TH", year: 2024, expectedYear: "24")
✔️ 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")