Skip to content

Commit

Permalink
Add New Receive Buffer Unit Tests (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks authored Dec 20, 2023
1 parent f79e0f3 commit fc89995
Show file tree
Hide file tree
Showing 6 changed files with 403 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/clog.inputs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
../src/core/unittest/SpinFrame.cpp
../src/core/unittest/SlidingWindowExtremumTest.cpp
../src/core/unittest/RangeTest.cpp
../src/core/unittest/RecvBufferTest.cpp
../src/core/unittest/VarIntTest.cpp
../src/core/unittest/CMakeLists.txt
../src/core/unittest/FrameTest.cpp
Expand Down
8 changes: 8 additions & 0 deletions src/core/recv_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
--*/

#if defined(__cplusplus)
extern "C" {
#endif

typedef struct QUIC_RECV_BUFFER {

//
Expand Down Expand Up @@ -157,3 +161,7 @@ QuicRecvBufferDrain(
_In_ QUIC_RECV_BUFFER* RecvBuffer,
_In_ uint64_t BufferLength
);

#if defined(__cplusplus)
}
#endif
1 change: 1 addition & 0 deletions src/core/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(SOURCES
PacketNumberTest.cpp
PartitionTest.cpp
RangeTest.cpp
RecvBufferTest.cpp
SettingsTest.cpp
SlidingWindowExtremumTest.cpp
SpinFrame.cpp
Expand Down
Loading

0 comments on commit fc89995

Please sign in to comment.