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

Make http-api:testFixtures usable in other modules #1570

Merged
merged 1 commit into from
May 21, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

testFixtures are expected to be used by other modules.
After #1521 refactoring, visibility of some methods was reduced.

Modifications:

  • Revert protected modifiers for AbstractHttpRequesterFilterTest and
    AbstractHttpServiceFilterTest methods;
  • Do not override sslSession() without a special need;

Result:

Modules that depend on these testFixtures classes can continue to work.

Motivation:

`testFixtures` are expected to be used by other modules.
After apple#1521 refactoring, visibility of some methods was reduced.

Modifications:

- Revert `protected` modifiers for `AbstractHttpRequesterFilterTest` and
`AbstractHttpServiceFilterTest` methods;
- Do not override `sslSession()` without a special need;

Result:

Modules that depend on these testFixtures classes can continue to work.
@idelpivnitskiy idelpivnitskiy requested a review from tkountis May 21, 2021 05:25
@idelpivnitskiy
Copy link
Member Author

Change is trivial and changes only test classes. Let me merge it to unblock myself and I will send a follow-up PR if you have any comments.

@idelpivnitskiy idelpivnitskiy merged commit 253c34d into apple:main May 21, 2021
@idelpivnitskiy idelpivnitskiy deleted the fix-testFixtures branch May 21, 2021 05:37
hbelmiro pushed a commit to hbelmiro/servicetalk that referenced this pull request May 23, 2021
Motivation:

`testFixtures` are expected to be used by other modules.
After apple#1521 refactoring, visibility of some methods was reduced.

Modifications:

- Revert `protected` modifiers for `AbstractHttpRequesterFilterTest` and
`AbstractHttpServiceFilterTest` methods;
- Do not override `sslSession()` without a special need;

Result:

Modules that depend on these testFixtures classes can continue to work.
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