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

Update Javadoc for ExpectFailure: #1370

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Update Javadoc for ExpectFailure: #1370

merged 1 commit into from
Dec 17, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

Update Javadoc for ExpectFailure:

  • The TestRule approach has been a legacy approach for a while now.
  • JUnit changed the name of its method from "expectThrows" to "assertThrows."
  • We renamed some Truth SPI classes from "*Verb" to "*SubjectBuilder" long ago.

Also, fix a few @code usages that should have been @link, similar to in cl/698378812.

RELNOTES=n/a

- The `TestRule` approach has been a legacy approach for a while now.
- JUnit changed the name of its method from "`expectThrows`" to "`assertThrows`."
- We renamed some Truth SPI classes from "`*Verb`" to "`*SubjectBuilder`" long ago.

Also, fix a few `@code` usages that should have been `@link`, similar to in cl/698378812.

RELNOTES=n/a
PiperOrigin-RevId: 707120959
@copybara-service copybara-service bot merged commit f4a5ebb into master Dec 17, 2024
1 check passed
@copybara-service copybara-service bot deleted the test_706752612 branch December 17, 2024 16:56
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