mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-06 22:22:38 +03:00
Decouple fizz:test::MockAead from MockAead. Use the former for code that actually needs fizz. (#15)
Summary: This is based on top of #12 . It logically split MockAead and fizz::MockAead in preparation for separation of the two. Pull Request resolved: https://github.com/facebookincubator/mvfst/pull/15 Reviewed By: yangchi Differential Revision: D15474045 Pulled By: mjoras fbshipit-source-id: b61a5cb08ddae0add66a6c37e156eddaef118e0c
This commit is contained in:
committed by
Facebook Github Bot
parent
5f3670a932
commit
d6c88ab4b0
@@ -1010,7 +1010,7 @@ TEST_F(QuicTransportFunctionsTest, WriteProbingOldData) {
|
||||
auto socket = std::make_unique<folly::test::MockAsyncUDPSocket>(&evb);
|
||||
auto rawSocket = socket.get();
|
||||
EXPECT_CALL(*rawSocket, write(_, _)).WillRepeatedly(Return(100));
|
||||
auto capturingAead = std::make_unique<fizz::test::MockAead>();
|
||||
auto capturingAead = std::make_unique<MockAead>();
|
||||
auto stream = conn->streamManager->createNextBidirectionalStream().value();
|
||||
auto buf = folly::IOBuf::copyBuffer("Where you wanna go");
|
||||
writeDataToQuicStream(*stream, buf->clone(), true);
|
||||
|
Reference in New Issue
Block a user