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

Fix "assume" statements in tests #1574

Merged
merged 2 commits into from
May 25, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

During migration to jUnit5 in #1521, some of the "assume" statements
were moved before the initialization of parameters. As the result,
those "assume" statements did not work.

Modifications:

  • NettyHttpServerTest: move ignoreTestWhen after setUp;
  • ServiceTalkToNettyContentCodingCompatibilityTest execute start()
    after "assume" checks;
  • Minor cosmetic changes in other test classes: make methods static,
    use static import, etc.

Result:

NettyHttpServerTest is kept ignored for now.

Motivation:

During migration to jUnit5 in apple#1521, some of the "assume" statements
were moved before the initialization of parameters. As the result,
those "assume" statements did not work.

Modifications:

- `NettyHttpServerTest`: move `ignoreTestWhen` after `setUp`;
- `ServiceTalkToNettyContentCodingCompatibilityTest` execute `start()`
after "assume" checks;
- Minor cosmetic changes in other test classes: make methods `static`,
use static import, etc.

Result:

`NettyHttpServerTest` is kept ignored for now.
@idelpivnitskiy idelpivnitskiy merged commit b6f1e22 into apple:main May 25, 2021
@idelpivnitskiy idelpivnitskiy deleted the testErrorDuringRead branch May 25, 2021 01:04
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.

2 participants