Skip to content

Basic editing#16

Merged
Bertildk merged 5 commits into
developfrom
basicEditing
Jan 9, 2026
Merged

Basic editing#16
Bertildk merged 5 commits into
developfrom
basicEditing

Conversation

@Bertildk

@Bertildk Bertildk commented Jan 9, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Changed constructor visibility to protected and refactored property change listener for clarity. Introduced ENABLED_PROPERTY constant and made propertyHandler transient. Simplified listener logic and improved code readability.
Unit tests for CopyAction, CutAction, and DeleteAction in jhotdraw-actions. Added JUnit as a test dependency in jhotdraw-actions/pom.xml and in the root pom.xml to manage versions.
Introduced Mockito as a test dependency in both project and module POM files. Refactored CopyActionTest and CutActionTest to use mock Clipboard and TransferHandler, replacing direct clipboard assertions with mock verifications for improved reliability and isolation.
SonarQube refactoring for readabillity and unnecesarry code removed
Commit contains BDD Test for the PastAction, aswell as Pom.xml dependency additions of JGiven, AssertJ.
@Bertildk Bertildk merged commit 005d3cc into develop Jan 9, 2026
2 checks passed
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