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
116 lines
1.9 KiB
CMake
116 lines
1.9 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.
|
|
|
|
if(NOT BUILD_TESTS)
|
|
return()
|
|
endif()
|
|
|
|
quic_add_test(TARGET QuicHeaderCodecTest
|
|
SOURCES
|
|
QuicHeaderCodecTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_exception
|
|
mvfst_codec
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET QuicReadCodecTest
|
|
SOURCES
|
|
QuicReadCodecTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec
|
|
mvfst_exception
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET QuicWriteCodecTest
|
|
SOURCES
|
|
QuicWriteCodecTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_bufutil
|
|
mvfst_codec
|
|
mvfst_codec_decode
|
|
mvfst_codec_types
|
|
mvfst_exception
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET QuicTypesTest
|
|
SOURCES
|
|
TypesTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec_decode
|
|
mvfst_codec_types
|
|
mvfst_exception
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET PacketNumberTest
|
|
SOURCES
|
|
PacketNumberTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec_types
|
|
)
|
|
|
|
quic_add_test(TARGET DecodeTest
|
|
SOURCES
|
|
DecodeTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec
|
|
mvfst_codec_decode
|
|
mvfst_codec_types
|
|
mvfst_exception
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET QuicConnectionIdTest
|
|
SOURCES
|
|
QuicConnectionIdTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec_types
|
|
)
|
|
|
|
quic_add_test(TARGET QuicPacketBuilderTest
|
|
SOURCES
|
|
QuicPacketBuilderTest.cpp
|
|
QuicPacketRebuilderTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec
|
|
mvfst_codec_pktbuilder
|
|
mvfst_codec_pktrebuilder
|
|
mvfst_codec_types
|
|
mvfst_handshake
|
|
mvfst_server
|
|
mvfst_state_functions
|
|
mvfst_state_machine
|
|
mvfst_state_stream_functions
|
|
mvfst_test_utils
|
|
)
|
|
|
|
quic_add_test(TARGET QuicIntegerTest
|
|
SOURCES
|
|
QuicIntegerTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec_types
|
|
mvfst_exception
|
|
)
|
|
|
|
quic_add_test(TARGET ServerConnectionIdParamsTest
|
|
SOURCES
|
|
ServerConnectionIdParamsTest.cpp
|
|
DEPENDS
|
|
Folly::folly
|
|
mvfst_codec_types
|
|
)
|