Improve test coverage of the Notifications protocol (#13033)

* Add handler and upgrade tests

* Add tests for `behaviour.rs`

* Apply review comments

* Update dependencies

* Apply suggestions from code review

Co-authored-by: Dmitry Markin <dmitry@markin.tech>

* Apply review comments

* Fix clippy

* Update mockall

* Apply review comment

---------

Co-authored-by: Dmitry Markin <dmitry@markin.tech>
This commit is contained in:
Aaro Altonen
2023-02-08 11:04:02 +02:00
committed by GitHub
parent cc766cc1c5
commit 2f3f7d6b07
9 changed files with 3780 additions and 478 deletions
@@ -20,8 +20,8 @@ pub use self::{
collec::UpgradeCollec,
notifications::{
NotificationsHandshakeError, NotificationsIn, NotificationsInOpen,
NotificationsInSubstream, NotificationsOut, NotificationsOutError, NotificationsOutOpen,
NotificationsOutSubstream,
NotificationsInSubstream, NotificationsInSubstreamHandshake, NotificationsOut,
NotificationsOutError, NotificationsOutOpen, NotificationsOutSubstream,
},
};