Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify and improve assertions in Ant core tests #903 #1518

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

HeikoKlare
Copy link
Contributor

Simplifies and/or improves several assertions in org.eclipse.ant.core.tests

  • Replace assertTrue/assertFalse with assertEquals/assertThat
  • Remove obsolete assertions messages just repeating the assertions

This also prepares for a migration of assertions to JUnit 5.

Contributes to #903

Copy link
Contributor

github-actions bot commented Aug 18, 2024

Test Results

 1 734 files  ±0   1 734 suites  ±0   1h 30m 44s ⏱️ + 3m 47s
 3 979 tests ±0   3 957 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 534 runs  ±0  12 370 ✅ ±0  164 💤 ±0  0 ❌ ±0 

Results for commit 50ceb59. ± Comparison against base commit ea7fa2a.

♻️ This comment has been updated with latest results.

@HeikoKlare HeikoKlare force-pushed the assertions-ant-core branch from 7acda8c to f67133c Compare August 18, 2024 21:08
@HeikoKlare HeikoKlare marked this pull request as ready for review August 19, 2024 05:45
@HeikoKlare HeikoKlare force-pushed the assertions-ant-core branch 2 times, most recently from e8081d2 to 4db13a7 Compare August 20, 2024 07:27
@HeikoKlare HeikoKlare force-pushed the assertions-ant-core branch 3 times, most recently from 2379798 to 9aad5ce Compare September 5, 2024 11:56
Simplifies and/or improves several assertions in
org.eclipse.ant.core.tests
- Replace assertTrue/assertFalse with assertEquals/assertThat
- Remove obsolete assertions messages just repeating the assertions

This also prepares for a migration of assertions to JUnit 5.

Contributes to
eclipse-platform#903
@HeikoKlare HeikoKlare merged commit 133dfb3 into eclipse-platform:master Sep 13, 2024
16 checks passed
@HeikoKlare HeikoKlare deleted the assertions-ant-core branch September 13, 2024 08:00
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