Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1348720 - Test alerts more thoroughly, r=ttaubert
This adds alert expectations to all tests that generate them. I've chosen to retain the alert recording that is done on a small number of tests, because that allows us to verify that the alerts actually hit the wire. However, the primary means of testing alerts will be through the new TlsAgent::ExpectAlert method and the TlsConnectTestBase::ExpectAlert and TlsConnectTestBase::ConnectExpectAlert methods which are wrappers around the basic function (the latter wraps ConnectExpectFail as well). There are a few places where this change wasn't mechanical, but for the most part this only required adding a call to the right version of ExpectAlert. --HG-- extra : rebase_source : deb2a6bed97e48d8dee310fb8299b1ef5266ded2 extra : histedit_source : 200e94648323bdcc18821b4627de31ea7f9be751
- Loading branch information
1 parent
b4f556b
commit 49e0d7f
Showing
23 changed files
with
260 additions
and
185 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
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
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
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
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
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
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
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.