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

Replace calls to CoreTest.assertEquals() with matcher statements #903 #911

Conversation

HeikoKlare
Copy link
Contributor

Replaces all calls to CoreTest.assertEquals() for comparing array contents with matcher statements. This makes the assertions independent from JUnit 3 and improves the provided error messages in case of a test failure. The change also improves the other assertions in the touched test classes.

Contributes to #903

Copy link
Contributor

github-actions bot commented Dec 4, 2023

Test Results

     591 files  ±0       591 suites  ±0   1h 5m 57s ⏱️ - 5m 43s
  3 842 tests ±0    3 837 ✔️ ±0    5 💤 ±0  0 ±0 
12 132 runs  ±0  12 096 ✔️ ±0  36 💤 ±0  0 ±0 

Results for commit 3439ebc. ± Comparison against base commit c75e9a1.

♻️ This comment has been updated with latest results.

…pse-platform#903

Replaces all calls to CoreTest.assertEquals() for comparing array
contents with matcher statements. This makes the assertions independent
from JUnit 3 and improves the provided error messages in case of a test
failure. The change also improves the other assertions in the touched
test classes.

Contributes to
eclipse-platform#903
@HeikoKlare HeikoKlare force-pushed the remove-coretest-assertequals-calls branch from 65f0409 to 3439ebc Compare December 4, 2023 12:21
@HeikoKlare HeikoKlare marked this pull request as ready for review December 4, 2023 12:51
@HeikoKlare HeikoKlare merged commit bf5a19d into eclipse-platform:master Dec 4, 2023
16 checks passed
@HeikoKlare HeikoKlare deleted the remove-coretest-assertequals-calls branch December 4, 2023 13:19
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