Skip to content

Add Tests for Copy and Paste Actions in Project Explorer#3787

Merged
vogella merged 1 commit intoeclipse-platform:masterfrom
vogella:navigator-copy-paste-tests
Mar 17, 2026
Merged

Add Tests for Copy and Paste Actions in Project Explorer#3787
vogella merged 1 commit intoeclipse-platform:masterfrom
vogella:navigator-copy-paste-tests

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Mar 17, 2026

Implemented a new test class covering copy and paste functionality for resources in the Common Navigator-based Project Explorer.

Key tests include:

  • Verify Copy/Paste/Delete actions exist in context menu for resources
  • Copy enablement for single resource selection
  • Copy-to-clipboard verification using ResourceTransfer and TextTransfer
  • Paste enablement based on clipboard contents and target selection
  • End-to-end copy-paste round-trip between different projects

Implemented a new test class covering copy and paste functionality for
resources in the Common Navigator-based Project Explorer.

Key tests include:
- Verify Copy/Paste/Delete actions exist in context menu for resources
- Copy enablement for single resource selection
- Copy-to-clipboard verification using ResourceTransfer and TextTransfer
- Paste enablement based on clipboard contents and target selection
- End-to-end copy-paste round-trip between different projects

These tests ensure EditActionGroup and its constituent CopyAction and
PasteAction are correctly wired and functional.
@vogella vogella force-pushed the navigator-copy-paste-tests branch from 12586d4 to 2dd1c17 Compare March 17, 2026 13:18
@github-actions
Copy link
Copy Markdown
Contributor

Test Results

   852 files  ± 0     852 suites  ±0   57m 3s ⏱️ + 4m 45s
 7 857 tests + 9   7 614 ✅ + 9  243 💤 ±0  0 ❌ ±0 
20 097 runs  +27  19 441 ✅ +27  656 💤 ±0  0 ❌ ±0 

Results for commit 2dd1c17. ± Comparison against base commit ec2a668.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Mar 17, 2026

New tests...

@vogella vogella merged commit ce3b75a into eclipse-platform:master Mar 17, 2026
18 checks passed
@vogella vogella deleted the navigator-copy-paste-tests branch March 17, 2026 16:02
@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Mar 18, 2026

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