Skip to content

Migrate try-catch-fail patterns to assertThrows#4054

Merged
akurtakov merged 1 commit into
eclipse-platform:masterfrom
HeikoKlare:migrate-test-exception-patterns-moderate
Jun 3, 2026
Merged

Migrate try-catch-fail patterns to assertThrows#4054
akurtakov merged 1 commit into
eclipse-platform:masterfrom
HeikoKlare:migrate-test-exception-patterns-moderate

Conversation

@HeikoKlare
Copy link
Copy Markdown
Contributor

Replace try-catch-fail exception testing patterns with JUnit assertThrows, extracting any in-catch assertions or state resets to after the assertThrows call.

Replace try-catch-fail exception testing patterns with JUnit
assertThrows, extracting any in-catch assertions or state resets to
after the assertThrows call.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Test Results

   861 files  ±0     861 suites  ±0   56m 59s ⏱️ +14s
 8 033 tests ±0   7 790 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 538 runs  ±0  19 883 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit 53592de. ± Comparison against base commit 6481ecf.

@HeikoKlare HeikoKlare marked this pull request as ready for review June 2, 2026 16:17
@akurtakov akurtakov merged commit 7ec52db into eclipse-platform:master Jun 3, 2026
18 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.

2 participants