Skip to content

Feature 35623#123

Open
Blue-B-code wants to merge 13 commits intoopenimis:developfrom
Y-Note-SAS:feature-35623
Open

Feature 35623#123
Blue-B-code wants to merge 13 commits intoopenimis:developfrom
Y-Note-SAS:feature-35623

Conversation

@Blue-B-code
Copy link
Contributor

@Blue-B-code Blue-B-code commented Feb 16, 2026

Description

This PR implements Unit tests for AddItems/Services, MasterDataService classes in addition to those already proposed in previous PRs.

🟦 Groupe 1 — Add (Items / Services)

onCreate disables fields when readonly
add button is disabled initially
add button enables when all fields filled
add button disables when item empty
add button disables when quantity empty
add button disables when amount empty
add button adds element to list
add button uses default quantity when empty
add button clears fields after adding
add button does nothing when element not selected

🟩 Groupe 2 — Master Data Service

download master data creates correct intent
import master data creates correct intent with URI
table exists returns true when table exists
table exists returns false when table does not exist
apply database returns false when target cannot be deleted
is database valid checks for required tables
onHandleWork handles download action
onHandleWork handles import action

Type of Change

  • Feature
  • Bug fix
  • Chore (Refactor, Docs, CI/CD)
  • Other, please specify

Related Issue(s) / Task(s)

  • Requires [link to github PR], [link to github PR] needs to be merged first before this one
  • Relates to [link to github PR], this needs to be merged before [link to github PR]
  • External reference (e.g., Jira):

Demo

Upload screenshots/gifs or link to any demo video here.

Checklist

  • Unit tests added/modified
  • I18n / translation handled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant