pc: rename data_channel_unittest to match the name of the file it is testing Bug: None Change-Id: I040f5459b9d88e022bf3a165e3c2b08c9c956711 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/459941 Reviewed-by: Jeremy Leconte <jleconte@google.com> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com> Cr-Commit-Position: refs/heads/main@{#47257}
diff --git a/pc/BUILD.gn b/pc/BUILD.gn index f2045cb..ca8dcd8 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn
@@ -2490,7 +2490,6 @@ sources = [ "congestion_control_integrationtest.cc", "data_channel_integrationtest.cc", - "data_channel_unittest.cc", "dtmf_sender_unittest.cc", "ice_server_parsing_unittest.cc", "jitter_buffer_delay_unittest.cc", @@ -2529,6 +2528,7 @@ "rtp_sender_receiver_unittest.cc", "rtp_transceiver_unittest.cc", "scoped_operations_batcher_unittest.cc", + "sctp_data_channel_unittest.cc", "sctp_utils_unittest.cc", "sdp_munging_detector_unittest.cc", "sdp_offer_answer_unittest.cc",
diff --git a/pc/data_channel_unittest.cc b/pc/sctp_data_channel_unittest.cc similarity index 99% rename from pc/data_channel_unittest.cc rename to pc/sctp_data_channel_unittest.cc index 82f4d85..06b4a88 100644 --- a/pc/data_channel_unittest.cc +++ b/pc/sctp_data_channel_unittest.cc
@@ -8,6 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include "pc/sctp_data_channel.h" + #include <cstdint> #include <cstring> #include <memory> @@ -25,7 +27,6 @@ #include "api/task_queue/pending_task_safety_flag.h" #include "api/test/rtc_error_matchers.h" #include "api/transport/data_channel_transport_interface.h" -#include "pc/sctp_data_channel.h" #include "pc/sctp_utils.h" #include "pc/test/fake_data_channel_controller.h" #include "rtc_base/checks.h"