Bug 1149240 - Write unit test for no digests. r=mt

This commit is contained in:
EKR 2015-03-30 11:09:59 -07:00
parent 0428fa2903
commit 2e49ffeac5

View File

@ -955,6 +955,12 @@ TEST_F(TransportTest, TestConnectAllowAll) {
ConnectSocket();
}
TEST_F(TransportTest, TestConnectNoDigest) {
SetDtlsPeer(0, 0);
ConnectSocketExpectFail();
}
TEST_F(TransportTest, TestConnectBadDigest) {
SetDtlsPeer(1, 1);