Skip to content

Refactor some Dagger tests to improve code clarity and modernize exception testing.#5159

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_904609977
Apr 24, 2026
Merged

Refactor some Dagger tests to improve code clarity and modernize exception testing.#5159
copybara-service[bot] merged 1 commit intomasterfrom
test_904609977

Conversation

@copybara-service
Copy link
Copy Markdown

Refactor some Dagger tests to improve code clarity and modernize exception testing.

This change updates specific tests in the Dagger project to:

  • Prefer assertThrows to ExpectedException.
  • Refactor test cases for better readability by extracting variables.
  • Remove unnecessary warnings suppressions.

RELNOTES=Refactor some Dagger tests for code clarity and modernize exception testing.

…ption testing.

This change updates specific tests in the Dagger project to:
- Prefer `assertThrows` to `ExpectedException`.
- Refactor test cases for better readability by extracting variables.
- Remove unnecessary warnings suppressions.

RELNOTES=Refactor some Dagger tests for code clarity and modernize exception testing.
PiperOrigin-RevId: 905251628
@copybara-service copybara-service Bot merged commit e8bc0ca into master Apr 24, 2026
@copybara-service copybara-service Bot deleted the test_904609977 branch April 24, 2026 22:37
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