-
Notifications
You must be signed in to change notification settings - Fork 741
Convert more low-level integration tests into unit tests #2473
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
Conversation
Benchmark resultsInstruction countsSignificant differencesThere are no significant instruction count differences Other differencesClick to expand
Wall-timeSignificant differencesClick to expand
Other differencesClick to expand
Additional informationCheckout details:
|
a9d59cb
to
d72a7f6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2473 +/- ##
==========================================
+ Coverage 95.33% 95.43% +0.10%
==========================================
Files 97 97
Lines 21504 21959 +455
==========================================
+ Hits 20500 20956 +456
+ Misses 1004 1003 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
207e19e
to
cfaead5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems nice!
…tures` to unit test
Since 9944795 this has appeared in the public API, in the return types of `server::ClientHello::server_cert_types()` and `server::ClientHello::client_cert_types()`. Move its definition into `crate::enums`.
cfaead5
to
02637e9
Compare
Previously: #2472, #2462
This concludes the set of tests that #1475 touched.
Then, the size of
rustls::internals
is minimised, which demonstrates that these changes have allowed (eg)ServerExtension
andClientExtension
to become private.Finally, the
CertificateType
enum type is added to the public API. This is the sort of issue that the api.rs-level tests are meant to find, but was entangled in the noise ofrustls::internal::*
use.