mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-04-18 17:24:03 +03:00
Summary: - as title Reviewed By: lnicco Differential Revision: D33513410 fbshipit-source-id: 282b6f512cf83b9abb7990402661135b658f7bd1
92 lines
1.7 KiB
CMake
92 lines
1.7 KiB
CMake
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
# Always install this header, even when not building tests.
|
|
# It can be used by dependent projects to build their own tests
|
|
install(FILES MockQuicSocket.h Mocks.h DESTINATION include/quic/api/test)
|
|
|
|
if(NOT BUILD_TESTS)
|
|
return()
|
|
endif()
|
|
|
|
quic_add_test(TARGET QuicTransportTest
|
|
SOURCES
|
|
QuicTransportTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_bufutil
|
|
mvfst_transport
|
|
mvfst_server
|
|
mvfst_state_stream_functions
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET QuicTransportBaseTest
|
|
SOURCES
|
|
QuicTransportBaseTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_transport
|
|
mvfst_codec_types
|
|
mvfst_test_utils
|
|
mvfst_state_stream_functions
|
|
mvfst_server
|
|
)
|
|
|
|
quic_add_test(TARGET QuicTransportFunctionsTest
|
|
SOURCES
|
|
QuicTransportFunctionsTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_transport
|
|
mvfst_test_utils
|
|
mvfst_server
|
|
)
|
|
|
|
quic_add_test(TARGET QuicPacketSchedulerTest
|
|
SOURCES
|
|
QuicPacketSchedulerTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_fizz_client
|
|
mvfst_server
|
|
mvfst_codec_pktbuilder
|
|
mvfst_transport
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET IoBufQuicBatchTest
|
|
SOURCES
|
|
IoBufQuicBatchTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_fizz_client
|
|
mvfst_test_utils
|
|
mvfst_transport
|
|
mvfst_state_machine
|
|
)
|
|
|
|
quic_add_test(TARGET QuicBatchWriterTest
|
|
SOURCES
|
|
QuicBatchWriterTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_buf_accessor
|
|
mvfst_server
|
|
mvfst_transport
|
|
)
|
|
|
|
quic_add_test(TARGET QuicStreamAsyncTransportTest
|
|
SOURCES
|
|
QuicStreamAsyncTransportTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_buf_accessor
|
|
mvfst_client
|
|
mvfst_server
|
|
mvfst_test_utils
|
|
mvfst_transport
|
|
)
|