Skip to content

Migrate OpenProjectExplorerFolderTest to JUnit 5#4008

Open
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:migrate-openprojectexplorerfolder-junit5
Open

Migrate OpenProjectExplorerFolderTest to JUnit 5#4008
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:migrate-openprojectexplorerfolder-junit5

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 15, 2026

Migrate this performance test from JUnit 4 to JUnit 5. The test now extends PerformanceTestCaseJunit5 (the JUnit 5 counterpart of the dropped PerformanceTestCaseJunit4), which manages the PerformanceMeter via @BeforeEach/@AfterEach. Reusing the shared base class keeps the meter handling consistent with all other performance tests instead of reimplementing it locally.

@eclipse-eca-validation
Copy link
Copy Markdown

Hi @claude — thank you for your contribution!

The Eclipse Contributor Agreement (ECA) check has failed for this pull request due to one of the following reasons:

  • An Eclipse Contributor Agreement is required for Eclipse user 'claudicus'(author).
  • An Eclipse Contributor Agreement is required for Eclipse user 'claudicus'(committer).

To resolve this, please:

  1. Sign in or create an Eclipse Foundation account: https://accounts.eclipse.org/user/eca
  2. Ensure your GitHub username is linked to your Eclipse account
  3. Complete and submit the ECA form

Once done, push a new commit (or rebase) to re-trigger the ECA validation.

If you believe you've already completed these steps, please double-check your account settings or report an issue to Eclipse Foundation Helpdesk.

Thanks again for your contribution!

@vogella vogella force-pushed the migrate-openprojectexplorerfolder-junit5 branch from 28643b4 to bbd078b Compare May 15, 2026 14:15
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

Test Results

   864 files  ±0     864 suites  ±0   55m 0s ⏱️ + 2m 30s
 7 988 tests ±0   7 745 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 418 runs  ±0  19 763 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit 2e57f14. ± Comparison against base commit 1e6a7c9.

♻️ This comment has been updated with latest results.

@akurtakov akurtakov force-pushed the migrate-openprojectexplorerfolder-junit5 branch from bbd078b to 6ee9a3b Compare May 30, 2026 10:00
Copy link
Copy Markdown
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason to not migrate to PerformanceTestCaseJunit5 and reimplement the contents of that class? In that case we shouldn't do that decision locally but align all implementations of PerformanceTestCaseJunit5 accordingly.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented May 31, 2026

PerformanceTestCaseJunit5

Looked at this class (again), it makes sense to use it. I will update PR

Migrate the JUnit 4 PerformanceTestCaseJunit4 base class to its JUnit 5
counterpart PerformanceTestCaseJunit5, which manages the
PerformanceMeter via @BeforeEach/@AfterEach.
@vogella vogella force-pushed the migrate-openprojectexplorerfolder-junit5 branch from 6ee9a3b to 2e57f14 Compare May 31, 2026 12:29
@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Jun 1, 2026

The class has been updated to use PerformanceTestCaseJunit5

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.

2 participants