-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: factor out frame read/write test functions
Client and server tests both write frames to a test connection and read frames back. Frame reads are usually paired with test expectations. Unify the API used for frame reads/writes in tests. Introduce a testConnFramer type that implements a common set of read/write methods, and embed it in both client and server test types. Change-Id: I6927c43459ba24f150a21c058a92797754f82bf1 Reviewed-on: https://go-review.googlesource.com/c/net/+/586249 Reviewed-by: Jonathan Amsterdam <jba@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information
Showing
5 changed files
with
1,015 additions
and
1,258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.