diff --git a/webrtc/api/mediastream_unittest.cc b/webrtc/api/mediastream_unittest.cc index b5f783f30e..5df08ce9cc 100644 --- a/webrtc/api/mediastream_unittest.cc +++ b/webrtc/api/mediastream_unittest.cc @@ -12,12 +12,12 @@ #include "webrtc/api/audiotrack.h" #include "webrtc/api/mediastream.h" -#include "webrtc/api/videotrack.h" #include "webrtc/api/test/fakevideotracksource.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" +#include "webrtc/api/videotrack.h" #include "webrtc/base/gunit.h" #include "webrtc/base/refcount.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" static const char kStreamLabel1[] = "local_stream_1"; static const char kVideoTrackId[] = "dummy_video_cam_1"; diff --git a/webrtc/api/peerconnectioninterface_unittest.cc b/webrtc/api/peerconnectioninterface_unittest.cc index c639f98b4f..d91336cd1a 100644 --- a/webrtc/api/peerconnectioninterface_unittest.cc +++ b/webrtc/api/peerconnectioninterface_unittest.cc @@ -12,7 +12,6 @@ #include #include -#include "webrtc/test/gmock.h" #include "webrtc/api/audiotrack.h" #include "webrtc/api/jsepsessiondescription.h" #include "webrtc/api/mediastream.h" @@ -22,9 +21,6 @@ #include "webrtc/api/rtpreceiverinterface.h" #include "webrtc/api/rtpsenderinterface.h" #include "webrtc/api/streamcollection.h" -#ifdef WEBRTC_ANDROID -#include "webrtc/api/test/androidtestinitializer.h" -#endif #include "webrtc/api/test/fakeconstraints.h" #include "webrtc/api/test/fakertccertificategenerator.h" #include "webrtc/api/test/fakevideotracksource.h" @@ -42,6 +38,11 @@ #include "webrtc/p2p/base/fakeportallocator.h" #include "webrtc/p2p/base/faketransportcontroller.h" #include "webrtc/pc/mediasession.h" +#include "webrtc/test/gmock.h" + +#ifdef WEBRTC_ANDROID +#include "webrtc/api/test/androidtestinitializer.h" +#endif static const char kStreamLabel1[] = "local_stream_1"; static const char kStreamLabel2[] = "local_stream_2"; diff --git a/webrtc/api/proxy_unittest.cc b/webrtc/api/proxy_unittest.cc index 8c16513fac..193fb298a2 100644 --- a/webrtc/api/proxy_unittest.cc +++ b/webrtc/api/proxy_unittest.cc @@ -13,10 +13,10 @@ #include #include -#include "webrtc/test/gmock.h" #include "webrtc/base/gunit.h" #include "webrtc/base/refcount.h" #include "webrtc/base/thread.h" +#include "webrtc/test/gmock.h" using ::testing::_; using ::testing::DoAll; diff --git a/webrtc/api/rtpsenderreceiver_unittest.cc b/webrtc/api/rtpsenderreceiver_unittest.cc index ea0bd646b0..3fccfb969b 100644 --- a/webrtc/api/rtpsenderreceiver_unittest.cc +++ b/webrtc/api/rtpsenderreceiver_unittest.cc @@ -12,8 +12,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/api/audiotrack.h" #include "webrtc/api/fakemediacontroller.h" #include "webrtc/api/localaudiosource.h" @@ -23,14 +21,16 @@ #include "webrtc/api/rtpsender.h" #include "webrtc/api/streamcollection.h" #include "webrtc/api/test/fakevideotracksource.h" -#include "webrtc/api/videotracksource.h" #include "webrtc/api/videotrack.h" +#include "webrtc/api/videotracksource.h" #include "webrtc/base/gunit.h" -#include "webrtc/media/base/mediachannel.h" #include "webrtc/media/base/fakemediaengine.h" +#include "webrtc/media/base/mediachannel.h" #include "webrtc/media/engine/fakewebrtccall.h" #include "webrtc/p2p/base/faketransportcontroller.h" #include "webrtc/pc/channelmanager.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::Exactly; diff --git a/webrtc/api/statscollector_unittest.cc b/webrtc/api/statscollector_unittest.cc index f5270fd6a7..acef44870a 100644 --- a/webrtc/api/statscollector_unittest.cc +++ b/webrtc/api/statscollector_unittest.cc @@ -15,8 +15,6 @@ #include "webrtc/api/statscollector.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/api/mediastream.h" #include "webrtc/api/mediastreaminterface.h" #include "webrtc/api/mediastreamtrack.h" @@ -35,6 +33,8 @@ #include "webrtc/media/base/test/mock_mediachannel.h" #include "webrtc/p2p/base/faketransportcontroller.h" #include "webrtc/pc/channelmanager.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using testing::_; using testing::DoAll; diff --git a/webrtc/audio/audio_receive_stream_unittest.cc b/webrtc/audio/audio_receive_stream_unittest.cc index 77b529e76d..94bfabd74b 100644 --- a/webrtc/audio/audio_receive_stream_unittest.cc +++ b/webrtc/audio/audio_receive_stream_unittest.cc @@ -11,8 +11,6 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/audio/audio_receive_stream.h" #include "webrtc/audio/conversion.h" #include "webrtc/call/mock/mock_rtc_event_log.h" @@ -23,6 +21,7 @@ #include "webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_voe_channel_proxy.h" #include "webrtc/test/mock_voice_engine.h" diff --git a/webrtc/audio/audio_send_stream_unittest.cc b/webrtc/audio/audio_send_stream_unittest.cc index c7eb24c436..a05c00ba49 100644 --- a/webrtc/audio/audio_send_stream_unittest.cc +++ b/webrtc/audio/audio_send_stream_unittest.cc @@ -11,17 +11,16 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/audio/audio_send_stream.h" #include "webrtc/audio/audio_state.h" #include "webrtc/audio/conversion.h" #include "webrtc/base/task_queue.h" -#include "webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h" #include "webrtc/call/mock/mock_rtc_event_log.h" #include "webrtc/modules/congestion_controller/include/congestion_controller.h" +#include "webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h" #include "webrtc/modules/pacing/paced_sender.h" #include "webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_voe_channel_proxy.h" #include "webrtc/test/mock_voice_engine.h" diff --git a/webrtc/audio/audio_state_unittest.cc b/webrtc/audio/audio_state_unittest.cc index 882766f515..86a9176db3 100644 --- a/webrtc/audio/audio_state_unittest.cc +++ b/webrtc/audio/audio_state_unittest.cc @@ -10,9 +10,8 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/audio/audio_state.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_voice_engine.h" namespace webrtc { diff --git a/webrtc/base/event_tracer_unittest.cc b/webrtc/base/event_tracer_unittest.cc index 6ea127526b..ec474bdd72 100644 --- a/webrtc/base/event_tracer_unittest.cc +++ b/webrtc/base/event_tracer_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/base/event_tracer.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/trace_event.h" #include "webrtc/system_wrappers/include/static_instance.h" +#include "webrtc/test/gtest.h" namespace { diff --git a/webrtc/base/mod_ops_unittest.cc b/webrtc/base/mod_ops_unittest.cc index 931579dd50..58c6a8e121 100644 --- a/webrtc/base/mod_ops_unittest.cc +++ b/webrtc/base/mod_ops_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/base/mod_ops.h" +#include "webrtc/test/gtest.h" namespace webrtc { class TestModOps : public ::testing::Test { diff --git a/webrtc/base/platform_thread_unittest.cc b/webrtc/base/platform_thread_unittest.cc index 86f091fb1c..322eb35ffc 100644 --- a/webrtc/base/platform_thread_unittest.cc +++ b/webrtc/base/platform_thread_unittest.cc @@ -10,8 +10,8 @@ #include "webrtc/base/platform_thread.h" -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" namespace rtc { namespace { diff --git a/webrtc/base/random_unittest.cc b/webrtc/base/random_unittest.cc index 9022206bac..0d9041fa80 100644 --- a/webrtc/base/random_unittest.cc +++ b/webrtc/base/random_unittest.cc @@ -13,9 +13,9 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/mathutils.h" // unsigned difference #include "webrtc/base/random.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/base/rate_limiter_unittest.cc b/webrtc/base/rate_limiter_unittest.cc index 198e3b25a2..f799a97238 100644 --- a/webrtc/base/rate_limiter_unittest.cc +++ b/webrtc/base/rate_limiter_unittest.cc @@ -11,13 +11,12 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/event.h" #include "webrtc/base/platform_thread.h" #include "webrtc/base/rate_limiter.h" #include "webrtc/base/task_queue.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/base/rate_statistics_unittest.cc b/webrtc/base/rate_statistics_unittest.cc index 0aa5ac2fc2..06136f5254 100644 --- a/webrtc/base/rate_statistics_unittest.cc +++ b/webrtc/base/rate_statistics_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/rate_statistics.h" +#include "webrtc/test/gtest.h" namespace { diff --git a/webrtc/base/sequenced_task_checker_unittest.cc b/webrtc/base/sequenced_task_checker_unittest.cc index 13b1afc50a..20a4c0f5d4 100644 --- a/webrtc/base/sequenced_task_checker_unittest.cc +++ b/webrtc/base/sequenced_task_checker_unittest.cc @@ -7,12 +7,13 @@ * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" + #include "webrtc/base/checks.h" #include "webrtc/base/constructormagic.h" #include "webrtc/base/platform_thread.h" #include "webrtc/base/sequenced_task_checker.h" #include "webrtc/base/task_queue.h" +#include "webrtc/test/gtest.h" namespace rtc { diff --git a/webrtc/base/thread_checker_unittest.cc b/webrtc/base/thread_checker_unittest.cc index 2e6afe947b..76462fd60e 100644 --- a/webrtc/base/thread_checker_unittest.cc +++ b/webrtc/base/thread_checker_unittest.cc @@ -12,12 +12,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/base/constructormagic.h" #include "webrtc/base/task_queue.h" #include "webrtc/base/thread.h" #include "webrtc/base/thread_checker.h" +#include "webrtc/test/gtest.h" // Duplicated from base/threading/thread_checker.h so that we can be // good citizens there and undef the macro. diff --git a/webrtc/call/bitrate_allocator_unittest.cc b/webrtc/call/bitrate_allocator_unittest.cc index 811e76d25f..5d0395d82c 100644 --- a/webrtc/call/bitrate_allocator_unittest.cc +++ b/webrtc/call/bitrate_allocator_unittest.cc @@ -12,10 +12,10 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/call/bitrate_allocator.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using testing::NiceMock; diff --git a/webrtc/call/bitrate_estimator_tests.cc b/webrtc/call/bitrate_estimator_tests.cc index 57639cde0f..79dedef07c 100644 --- a/webrtc/call/bitrate_estimator_tests.cc +++ b/webrtc/call/bitrate_estimator_tests.cc @@ -12,8 +12,6 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/api/call/audio_state.h" #include "webrtc/base/checks.h" #include "webrtc/base/event.h" @@ -27,8 +25,9 @@ #include "webrtc/test/encoder_settings.h" #include "webrtc/test/fake_decoder.h" #include "webrtc/test/fake_encoder.h" -#include "webrtc/test/mock_voice_engine.h" #include "webrtc/test/frame_generator_capturer.h" +#include "webrtc/test/gtest.h" +#include "webrtc/test/mock_voice_engine.h" namespace webrtc { namespace { diff --git a/webrtc/call/call_perf_tests.cc b/webrtc/call/call_perf_tests.cc index 6258a85d7d..6833dc0298 100644 --- a/webrtc/call/call_perf_tests.cc +++ b/webrtc/call/call_perf_tests.cc @@ -13,8 +13,6 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/checks.h" #include "webrtc/base/constructormagic.h" #include "webrtc/base/thread_annotations.h" @@ -36,6 +34,7 @@ #include "webrtc/test/fake_encoder.h" #include "webrtc/test/frame_generator.h" #include "webrtc/test/frame_generator_capturer.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/rtp_rtcp_observer.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/perf_test.h" diff --git a/webrtc/call/call_unittest.cc b/webrtc/call/call_unittest.cc index 14687d5b10..2fe4fdec43 100644 --- a/webrtc/call/call_unittest.cc +++ b/webrtc/call/call_unittest.cc @@ -11,11 +11,10 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/api/call/audio_state.h" #include "webrtc/call.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_voice_engine.h" namespace { diff --git a/webrtc/call/mock/mock_rtc_event_log.h b/webrtc/call/mock/mock_rtc_event_log.h index 7558411d03..bb1337e8f7 100644 --- a/webrtc/call/mock/mock_rtc_event_log.h +++ b/webrtc/call/mock/mock_rtc_event_log.h @@ -13,9 +13,8 @@ #include -#include "webrtc/test/gmock.h" - #include "webrtc/call/rtc_event_log.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/call/packet_injection_tests.cc b/webrtc/call/packet_injection_tests.cc index ccd4f4a985..42f4faed4a 100644 --- a/webrtc/call/packet_injection_tests.cc +++ b/webrtc/call/packet_injection_tests.cc @@ -10,9 +10,8 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/test/call_test.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/null_transport.h" namespace webrtc { diff --git a/webrtc/call/rampup_tests.cc b/webrtc/call/rampup_tests.cc index bbfd87b78a..74c915da5f 100644 --- a/webrtc/call/rampup_tests.cc +++ b/webrtc/call/rampup_tests.cc @@ -10,9 +10,9 @@ #include "webrtc/call/rampup_tests.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/base/platform_thread.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/perf_test.h" namespace webrtc { diff --git a/webrtc/call/ringbuffer_unittest.cc b/webrtc/call/ringbuffer_unittest.cc index 166c4f6ebb..370f262180 100644 --- a/webrtc/call/ringbuffer_unittest.cc +++ b/webrtc/call/ringbuffer_unittest.cc @@ -11,9 +11,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/call/ringbuffer.h" +#include "webrtc/test/gtest.h" namespace { template diff --git a/webrtc/call/rtc_event_log_unittest.cc b/webrtc/call/rtc_event_log_unittest.cc index 2a96afe0ff..6c4ec6382e 100644 --- a/webrtc/call/rtc_event_log_unittest.cc +++ b/webrtc/call/rtc_event_log_unittest.cc @@ -14,7 +14,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/buffer.h" #include "webrtc/base/checks.h" #include "webrtc/base/random.h" @@ -28,6 +27,7 @@ #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/test_suite.h" #include "webrtc/test/testsupport/fileutils.h" diff --git a/webrtc/call/rtc_event_log_unittest_helper.cc b/webrtc/call/rtc_event_log_unittest_helper.cc index ba19641667..566e92b632 100644 --- a/webrtc/call/rtc_event_log_unittest_helper.cc +++ b/webrtc/call/rtc_event_log_unittest_helper.cc @@ -14,8 +14,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/test_suite.h" #include "webrtc/test/testsupport/fileutils.h" diff --git a/webrtc/common_audio/audio_converter_unittest.cc b/webrtc/common_audio/audio_converter_unittest.cc index 26bb9735c0..320c1dae42 100644 --- a/webrtc/common_audio/audio_converter_unittest.cc +++ b/webrtc/common_audio/audio_converter_unittest.cc @@ -13,12 +13,12 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/base/format_macros.h" #include "webrtc/common_audio/audio_converter.h" #include "webrtc/common_audio/channel_buffer.h" #include "webrtc/common_audio/resampler/push_sinc_resampler.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_audio/audio_ring_buffer_unittest.cc b/webrtc/common_audio/audio_ring_buffer_unittest.cc index 02c48d1505..fe868534a2 100644 --- a/webrtc/common_audio/audio_ring_buffer_unittest.cc +++ b/webrtc/common_audio/audio_ring_buffer_unittest.cc @@ -12,8 +12,8 @@ #include "webrtc/common_audio/audio_ring_buffer.h" -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/channel_buffer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_audio/audio_util_unittest.cc b/webrtc/common_audio/audio_util_unittest.cc index c21eaca99b..d91b648bf0 100644 --- a/webrtc/common_audio/audio_util_unittest.cc +++ b/webrtc/common_audio/audio_util_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include "webrtc/common_audio/include/audio_util.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/common_audio/include/audio_util.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/common_audio/blocker_unittest.cc b/webrtc/common_audio/blocker_unittest.cc index 105bb8111c..1c675db730 100644 --- a/webrtc/common_audio/blocker_unittest.cc +++ b/webrtc/common_audio/blocker_unittest.cc @@ -12,8 +12,8 @@ #include "webrtc/common_audio/blocker.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" +#include "webrtc/test/gtest.h" namespace { diff --git a/webrtc/common_audio/channel_buffer_unittest.cc b/webrtc/common_audio/channel_buffer_unittest.cc index 80c4b72c7e..f4171bad88 100644 --- a/webrtc/common_audio/channel_buffer_unittest.cc +++ b/webrtc/common_audio/channel_buffer_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/channel_buffer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_audio/real_fourier_unittest.cc b/webrtc/common_audio/real_fourier_unittest.cc index dab28bb0bc..d1281c7a96 100644 --- a/webrtc/common_audio/real_fourier_unittest.cc +++ b/webrtc/common_audio/real_fourier_unittest.cc @@ -12,9 +12,9 @@ #include -#include "webrtc/test/gtest.h" -#include "webrtc/common_audio/real_fourier_openmax.h" #include "webrtc/common_audio/real_fourier_ooura.h" +#include "webrtc/common_audio/real_fourier_openmax.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_audio/resampler/push_resampler_unittest.cc b/webrtc/common_audio/resampler/push_resampler_unittest.cc index 98657d15b3..9a5cb5defc 100644 --- a/webrtc/common_audio/resampler/push_resampler_unittest.cc +++ b/webrtc/common_audio/resampler/push_resampler_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" -#include "webrtc/base/checks.h" // force defintion of RTC_DCHECK_IS_ON +#include "webrtc/base/checks.h" // RTC_DCHECK_IS_ON #include "webrtc/common_audio/resampler/include/push_resampler.h" +#include "webrtc/test/gtest.h" // Quality testing of PushResampler is handled through output_mixer_unittest.cc. diff --git a/webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc b/webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc index c9a335885e..ab7f141fb4 100644 --- a/webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc +++ b/webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc @@ -12,12 +12,12 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/timeutils.h" #include "webrtc/common_audio/include/audio_util.h" #include "webrtc/common_audio/resampler/push_sinc_resampler.h" #include "webrtc/common_audio/resampler/sinusoidal_linear_chirp_source.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/common_audio/resampler/resampler_unittest.cc b/webrtc/common_audio/resampler/resampler_unittest.cc index 4c10f932de..4f50363288 100644 --- a/webrtc/common_audio/resampler/resampler_unittest.cc +++ b/webrtc/common_audio/resampler/resampler_unittest.cc @@ -8,9 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/common_audio/resampler/include/resampler.h" +#include "webrtc/test/gtest.h" // TODO(andrew): this is a work-in-progress. Many more tests are needed. diff --git a/webrtc/common_audio/resampler/sinc_resampler_unittest.cc b/webrtc/common_audio/resampler/sinc_resampler_unittest.cc index d965881262..c7e84fc2c7 100644 --- a/webrtc/common_audio/resampler/sinc_resampler_unittest.cc +++ b/webrtc/common_audio/resampler/sinc_resampler_unittest.cc @@ -18,13 +18,13 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/timeutils.h" #include "webrtc/common_audio/resampler/sinc_resampler.h" #include "webrtc/common_audio/resampler/sinusoidal_linear_chirp_source.h" #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" #include "webrtc/system_wrappers/include/stringize_macros.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/test_suite.h" using testing::_; diff --git a/webrtc/common_audio/signal_processing/real_fft_unittest.cc b/webrtc/common_audio/signal_processing/real_fft_unittest.cc index ba8619abb5..8b1c431078 100644 --- a/webrtc/common_audio/signal_processing/real_fft_unittest.cc +++ b/webrtc/common_audio/signal_processing/real_fft_unittest.cc @@ -10,9 +10,8 @@ #include "webrtc/common_audio/signal_processing/include/real_fft.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" -#include "webrtc/typedefs.h" - #include "webrtc/test/gtest.h" +#include "webrtc/typedefs.h" namespace webrtc { namespace { diff --git a/webrtc/common_audio/signal_processing/signal_processing_unittest.cc b/webrtc/common_audio/signal_processing/signal_processing_unittest.cc index 9429bcd701..9bf22fe1da 100644 --- a/webrtc/common_audio/signal_processing/signal_processing_unittest.cc +++ b/webrtc/common_audio/signal_processing/signal_processing_unittest.cc @@ -11,8 +11,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" +#include "webrtc/test/gtest.h" static const size_t kVector16Size = 9; static const int16_t vector16[kVector16Size] = {1, -15511, 4323, 1963, diff --git a/webrtc/common_audio/sparse_fir_filter_unittest.cc b/webrtc/common_audio/sparse_fir_filter_unittest.cc index edfbf5277b..e7ba5d20f9 100644 --- a/webrtc/common_audio/sparse_fir_filter_unittest.cc +++ b/webrtc/common_audio/sparse_fir_filter_unittest.cc @@ -12,9 +12,9 @@ #include "webrtc/common_audio/sparse_fir_filter.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/common_audio/fir_filter.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/common_audio/vad/mock/mock_vad.h b/webrtc/common_audio/vad/mock/mock_vad.h index cce72c666c..09109e6f8a 100644 --- a/webrtc/common_audio/vad/mock/mock_vad.h +++ b/webrtc/common_audio/vad/mock/mock_vad.h @@ -12,7 +12,6 @@ #define WEBRTC_COMMON_AUDIO_VAD_MOCK_MOCK_VAD_H_ #include "webrtc/common_audio/vad/include/vad.h" - #include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/common_audio/vad/vad_core_unittest.cc b/webrtc/common_audio/vad/vad_core_unittest.cc index de61bc922e..43673ee62a 100644 --- a/webrtc/common_audio/vad/vad_core_unittest.cc +++ b/webrtc/common_audio/vad/vad_core_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/vad/vad_unittest.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" extern "C" { diff --git a/webrtc/common_audio/vad/vad_filterbank_unittest.cc b/webrtc/common_audio/vad/vad_filterbank_unittest.cc index 58e70bf04e..5b278013e8 100644 --- a/webrtc/common_audio/vad/vad_filterbank_unittest.cc +++ b/webrtc/common_audio/vad/vad_filterbank_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/vad/vad_unittest.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" extern "C" { diff --git a/webrtc/common_audio/vad/vad_gmm_unittest.cc b/webrtc/common_audio/vad/vad_gmm_unittest.cc index eff81ddc4e..9de93f67f0 100644 --- a/webrtc/common_audio/vad/vad_gmm_unittest.cc +++ b/webrtc/common_audio/vad/vad_gmm_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/vad/vad_unittest.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" extern "C" { diff --git a/webrtc/common_audio/vad/vad_sp_unittest.cc b/webrtc/common_audio/vad/vad_sp_unittest.cc index 0c6827ff19..1e335e362f 100644 --- a/webrtc/common_audio/vad/vad_sp_unittest.cc +++ b/webrtc/common_audio/vad/vad_sp_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/vad/vad_unittest.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" extern "C" { diff --git a/webrtc/common_audio/vad/vad_unittest.cc b/webrtc/common_audio/vad/vad_unittest.cc index a3dcba96c4..a03f667b40 100644 --- a/webrtc/common_audio/vad/vad_unittest.cc +++ b/webrtc/common_audio/vad/vad_unittest.cc @@ -12,12 +12,11 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/arraysize.h" #include "webrtc/base/checks.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/common_audio/vad/include/webrtc_vad.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" VadTest::VadTest() {} diff --git a/webrtc/common_audio/vad/vad_unittest.h b/webrtc/common_audio/vad/vad_unittest.h index ae11340816..55ba5271f3 100644 --- a/webrtc/common_audio/vad/vad_unittest.h +++ b/webrtc/common_audio/vad/vad_unittest.h @@ -14,7 +14,6 @@ #include // size_t #include "webrtc/test/gtest.h" - #include "webrtc/typedefs.h" namespace { diff --git a/webrtc/common_audio/wav_file_unittest.cc b/webrtc/common_audio/wav_file_unittest.cc index 7bad87a7a8..0868fa6099 100644 --- a/webrtc/common_audio/wav_file_unittest.cc +++ b/webrtc/common_audio/wav_file_unittest.cc @@ -14,9 +14,9 @@ #include #include -#include "webrtc/test/gtest.h" -#include "webrtc/common_audio/wav_header.h" #include "webrtc/common_audio/wav_file.h" +#include "webrtc/common_audio/wav_header.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/common_audio/wav_header_unittest.cc b/webrtc/common_audio/wav_header_unittest.cc index cf5e010092..17ebf8288a 100644 --- a/webrtc/common_audio/wav_header_unittest.cc +++ b/webrtc/common_audio/wav_header_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/wav_header.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_video/bitrate_adjuster_unittest.cc b/webrtc/common_video/bitrate_adjuster_unittest.cc index 5e509b3793..b6152ac844 100644 --- a/webrtc/common_video/bitrate_adjuster_unittest.cc +++ b/webrtc/common_video/bitrate_adjuster_unittest.cc @@ -8,10 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/common_video/include/bitrate_adjuster.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_video/h264/pps_parser_unittest.cc b/webrtc/common_video/h264/pps_parser_unittest.cc index 74747536e8..9a650e8be0 100644 --- a/webrtc/common_video/h264/pps_parser_unittest.cc +++ b/webrtc/common_video/h264/pps_parser_unittest.cc @@ -13,11 +13,10 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/bitbuffer.h" #include "webrtc/base/buffer.h" #include "webrtc/common_video/h264/h264_common.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_video/h264/sps_parser_unittest.cc b/webrtc/common_video/h264/sps_parser_unittest.cc index bf3cd090df..958ddc05eb 100644 --- a/webrtc/common_video/h264/sps_parser_unittest.cc +++ b/webrtc/common_video/h264/sps_parser_unittest.cc @@ -10,12 +10,11 @@ #include "webrtc/common_video/h264/sps_parser.h" -#include "webrtc/test/gtest.h" - #include "webrtc/base/arraysize.h" #include "webrtc/base/bitbuffer.h" #include "webrtc/base/buffer.h" #include "webrtc/common_video/h264/h264_common.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_video/h264/sps_vui_rewriter_unittest.cc b/webrtc/common_video/h264/sps_vui_rewriter_unittest.cc index 12c274161c..711a8365df 100644 --- a/webrtc/common_video/h264/sps_vui_rewriter_unittest.cc +++ b/webrtc/common_video/h264/sps_vui_rewriter_unittest.cc @@ -10,17 +10,15 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/bitbuffer.h" #include "webrtc/base/buffer.h" #include "webrtc/base/fileutils.h" #include "webrtc/base/logging.h" #include "webrtc/base/pathutils.h" #include "webrtc/base/stream.h" - -#include "webrtc/common_video/h264/sps_vui_rewriter.h" #include "webrtc/common_video/h264/h264_common.h" +#include "webrtc/common_video/h264/sps_vui_rewriter.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_video/i420_buffer_pool_unittest.cc b/webrtc/common_video/i420_buffer_pool_unittest.cc index 7dfe792bfd..d5c7c9bbd8 100644 --- a/webrtc/common_video/i420_buffer_pool_unittest.cc +++ b/webrtc/common_video/i420_buffer_pool_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_video/include/i420_buffer_pool.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/common_video/i420_video_frame_unittest.cc b/webrtc/common_video/i420_video_frame_unittest.cc index 4d41c9df0f..a0146e5455 100644 --- a/webrtc/common_video/i420_video_frame_unittest.cc +++ b/webrtc/common_video/i420_video_frame_unittest.cc @@ -11,10 +11,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/bind.h" #include "webrtc/test/fake_texture_frame.h" #include "webrtc/test/frame_utils.h" +#include "webrtc/test/gtest.h" #include "webrtc/video_frame.h" namespace webrtc { diff --git a/webrtc/common_video/libyuv/libyuv_unittest.cc b/webrtc/common_video/libyuv/libyuv_unittest.cc index 98546f079a..1ed72df584 100644 --- a/webrtc/common_video/libyuv/libyuv_unittest.cc +++ b/webrtc/common_video/libyuv/libyuv_unittest.cc @@ -13,9 +13,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" #include "webrtc/test/frame_utils.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/video_frame.h" diff --git a/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc b/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc index 8ccaa2fda3..c63dbfb010 100644 --- a/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc +++ b/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc @@ -8,11 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/media/engine/nullwebrtcvideoengine.h" #include "webrtc/media/engine/webrtcvoiceengine.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h" +#include "webrtc/test/gtest.h" namespace cricket { diff --git a/webrtc/media/engine/payload_type_mapper_unittest.cc b/webrtc/media/engine/payload_type_mapper_unittest.cc index d11644cf10..7f94c6e88c 100644 --- a/webrtc/media/engine/payload_type_mapper_unittest.cc +++ b/webrtc/media/engine/payload_type_mapper_unittest.cc @@ -11,8 +11,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/media/engine/payload_type_mapper.h" +#include "webrtc/test/gtest.h" namespace cricket { diff --git a/webrtc/media/engine/simulcast_unittest.cc b/webrtc/media/engine/simulcast_unittest.cc index da54767165..8377d4f1c4 100644 --- a/webrtc/media/engine/simulcast_unittest.cc +++ b/webrtc/media/engine/simulcast_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/media/engine/simulcast.h" +#include "webrtc/test/gtest.h" namespace cricket { diff --git a/webrtc/media/engine/webrtcmediaengine_unittest.cc b/webrtc/media/engine/webrtcmediaengine_unittest.cc index 1416324146..03e50a18c9 100644 --- a/webrtc/media/engine/webrtcmediaengine_unittest.cc +++ b/webrtc/media/engine/webrtcmediaengine_unittest.cc @@ -8,10 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - -#include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/media/engine/webrtcmediaengine.h" +#include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" +#include "webrtc/test/gtest.h" using webrtc::RtpExtension; diff --git a/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc b/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc index 105221b2a8..71a8744f81 100644 --- a/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc +++ b/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc @@ -15,11 +15,11 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h" #include "webrtc/modules/audio_coding/neteq/tools/packet.h" #include "webrtc/modules/audio_coding/neteq/tools/packet_source.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc b/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc index 9551cac726..ce7e8fcb7c 100644 --- a/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc +++ b/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc @@ -13,13 +13,13 @@ #include // std::min #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/base/safe_conversions.h" -#include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" +#include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/test_suite.h" #include "webrtc/test/testsupport/fileutils.h" diff --git a/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.cc b/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.cc index 63ddf3a9d6..bb588f07e1 100644 --- a/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.cc +++ b/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.cc @@ -14,12 +14,12 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" #include "webrtc/modules/audio_coding/neteq/tools/packet.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc b/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc index 5ae2038488..60e90f7d3b 100644 --- a/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc +++ b/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc @@ -13,7 +13,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/md5digest.h" #include "webrtc/base/platform_thread.h" @@ -40,6 +39,7 @@ #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using ::testing::AtLeast; diff --git a/webrtc/modules/audio_coding/acm2/call_statistics_unittest.cc b/webrtc/modules/audio_coding/acm2/call_statistics_unittest.cc index 7c56b71f3c..ce4468a5f3 100644 --- a/webrtc/modules/audio_coding/acm2/call_statistics_unittest.cc +++ b/webrtc/modules/audio_coding/acm2/call_statistics_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/acm2/call_statistics.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/acm2/codec_manager_unittest.cc b/webrtc/modules/audio_coding/acm2/codec_manager_unittest.cc index 0108dc0276..bae0e39589 100644 --- a/webrtc/modules/audio_coding/acm2/codec_manager_unittest.cc +++ b/webrtc/modules/audio_coding/acm2/codec_manager_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" -#include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" #include "webrtc/modules/audio_coding/acm2/codec_manager.h" #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" +#include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace acm2 { diff --git a/webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc b/webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc index 1816ae4c60..8fddf87f8a 100644 --- a/webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc +++ b/webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" -#include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" +#include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace acm2 { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc index ac508cf4c6..d4aeadc185 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc +++ b/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc @@ -11,11 +11,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller_manager.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_debug_dump_writer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc index bec0ec5df9..1ba1e8212e 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc +++ b/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace audio_network_adaptor { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc index b0fb773005..a1759109b9 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc +++ b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc index 8c335d84e6..4eea54e864 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc +++ b/webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc index 5d45646a16..997382f750 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc +++ b/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc @@ -11,8 +11,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h index b7a59cd98b..cf7c307326 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h +++ b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_CONTROLLER_H_ #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_CONTROLLER_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/controller.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_debug_dump_writer.h b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_debug_dump_writer.h index 8be3d2e1d9..6a20f7a615 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_debug_dump_writer.h +++ b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_debug_dump_writer.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_DEBUG_DUMP_WRITER_H_ #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_DEBUG_DUMP_WRITER_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/debug_dump_writer.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h index 844f16cd0a..745ca98ea6 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h +++ b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_SMOOTHING_FILTER_H_ #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_SMOOTHING_FILTER_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter_unittest.cc index 8ef90f29c8..af4e8d957b 100644 --- a/webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter_unittest.cc +++ b/webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc b/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc index bda5391383..6b63f987f0 100644 --- a/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc index 8511e9d570..ace217ea24 100644 --- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc @@ -11,11 +11,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/constructormagic.h" #include "webrtc/common_audio/vad/mock/mock_vad.h" #include "webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" +#include "webrtc/test/gtest.h" using ::testing::Return; using ::testing::_; diff --git a/webrtc/modules/audio_coding/codecs/cng/cng_unittest.cc b/webrtc/modules/audio_coding/codecs/cng/cng_unittest.cc index 686034804e..3835e935d5 100644 --- a/webrtc/modules/audio_coding/codecs/cng/cng_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/cng/cng_unittest.cc @@ -10,9 +10,9 @@ #include #include +#include "webrtc/modules/audio_coding/codecs/cng/webrtc_cng.h" #include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" -#include "webrtc/modules/audio_coding/codecs/cng/webrtc_cng.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/ilbc/ilbc_unittest.cc b/webrtc/modules/audio_coding/codecs/ilbc/ilbc_unittest.cc index a4eaaa26a9..dbd5c07763 100644 --- a/webrtc/modules/audio_coding/codecs/ilbc/ilbc_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/ilbc/ilbc_unittest.cc @@ -8,10 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h" #include "webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.h" #include "webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc index 20c41b8d74..ce96e2c631 100644 --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc @@ -8,12 +8,12 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_internal.h" #include "webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_tables.h" #include "webrtc/modules/audio_coding/codecs/isac/fix/source/settings.h" #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" class FilterBanksTest : public testing::Test { diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_unittest.cc index 251f9d3f7e..527841af2b 100644 --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_unittest.cc @@ -7,9 +7,10 @@ * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" + #include "webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h" #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" class FiltersTest : public testing::Test { diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc index b0301729d7..a81814d3e3 100644 --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.h" #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" class LpcMaskingModelTest : public testing::Test { diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_unittest.cc index 9197483fbe..35e5800107 100644 --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_unittest.cc @@ -7,9 +7,10 @@ * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" + #include "webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h" #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" +#include "webrtc/test/gtest.h" static const int kSamples = FRAMESAMPLES/2; static const int32_t spec2time_out_expected_1[kSamples] = { diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc index 8d781e1d4c..e9ca570012 100644 --- a/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isac.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc index b7f4888f83..3f7170c30b 100644 --- a/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc @@ -9,8 +9,8 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/isac/main/include/isac.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" struct WebRtcISACStruct; diff --git a/webrtc/modules/audio_coding/codecs/isac/unittest.cc b/webrtc/modules/audio_coding/codecs/isac/unittest.cc index d304f33d16..d68c24d1e6 100644 --- a/webrtc/modules/audio_coding/codecs/isac/unittest.cc +++ b/webrtc/modules/audio_coding/codecs/isac/unittest.cc @@ -13,11 +13,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/buffer.h" #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_encoder_isacfix.h" #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isac.h" #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc b/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc index 30f9737a6a..a9d20e1279 100644 --- a/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" #include "webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h b/webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h index 676d683da1..f2ef170710 100644 --- a/webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h +++ b/webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h @@ -13,9 +13,9 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder_factory.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h b/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h index cf076fa254..66f82b22d5 100644 --- a/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h +++ b/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h @@ -15,7 +15,6 @@ #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" - #include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc index 20b236856a..1b836f3664 100644 --- a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/common_types.h" #include "webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc b/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc index c6dcb2e84f..8748162eb1 100644 --- a/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc +++ b/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc @@ -10,9 +10,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/format_macros.h" #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using ::std::string; diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc b/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc index 63f4e0a1d4..febea2f869 100644 --- a/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc @@ -11,11 +11,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" -#include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" #include "webrtc/modules/audio_coding/codecs/opus/opus_inst.h" +#include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc index 1d162e179d..55097929a6 100644 --- a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc @@ -11,10 +11,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" -#include "webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" +#include "webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h" +#include "webrtc/test/gtest.h" using ::testing::Return; using ::testing::_; diff --git a/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.cc b/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.cc index b3fb7cfdd3..5b0f02ef66 100644 --- a/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.cc +++ b/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.cc @@ -10,8 +10,8 @@ #include "webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/format_macros.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using ::std::tr1::get; diff --git a/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h b/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h index 32ff9c6e80..b79b1ef728 100644 --- a/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h +++ b/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h @@ -13,6 +13,7 @@ #include #include + #include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc b/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc index 376f8d70e9..876a5ffb28 100644 --- a/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc @@ -17,7 +17,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h" #include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" #include "webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h" @@ -34,6 +33,7 @@ #include "webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h" #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" #include "webrtc/system_wrappers/include/data_log.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/comfort_noise_unittest.cc b/webrtc/modules/audio_coding/neteq/comfort_noise_unittest.cc index 19ffd40b6b..2de6886bbe 100644 --- a/webrtc/modules/audio_coding/neteq/comfort_noise_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/comfort_noise_unittest.cc @@ -12,9 +12,9 @@ #include "webrtc/modules/audio_coding/neteq/comfort_noise.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h" #include "webrtc/modules/audio_coding/neteq/sync_buffer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc b/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc index e8bbb5eecf..42fc673c6c 100644 --- a/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc @@ -10,15 +10,15 @@ // Unit tests for DecisionLogic class and derived classes. -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/neteq/buffer_level_filter.h" -#include "webrtc/modules/audio_coding/neteq/decoder_database.h" #include "webrtc/modules/audio_coding/neteq/decision_logic.h" +#include "webrtc/modules/audio_coding/neteq/decoder_database.h" #include "webrtc/modules/audio_coding/neteq/delay_manager.h" #include "webrtc/modules/audio_coding/neteq/delay_peak_detector.h" #include "webrtc/modules/audio_coding/neteq/packet_buffer.h" #include "webrtc/modules/audio_coding/neteq/tick_timer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc b/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc index b97a49d784..c65d287e0c 100644 --- a/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc @@ -15,12 +15,11 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - -#include "webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h" +#include "webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using testing::_; using testing::Invoke; diff --git a/webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc b/webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc index 8ccc73527c..84ceb8871d 100644 --- a/webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc @@ -14,9 +14,9 @@ #include +#include "webrtc/modules/audio_coding/neteq/mock/mock_delay_peak_detector.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/modules/audio_coding/neteq/mock/mock_delay_peak_detector.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/dsp_helper_unittest.cc b/webrtc/modules/audio_coding/neteq/dsp_helper_unittest.cc index a77152145f..fbdc047844 100644 --- a/webrtc/modules/audio_coding/neteq/dsp_helper_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/dsp_helper_unittest.cc @@ -10,8 +10,8 @@ #include "webrtc/modules/audio_coding/neteq/dsp_helper.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc b/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc index 7aa207bf61..1da383fc65 100644 --- a/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc @@ -14,8 +14,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/expand_unittest.cc b/webrtc/modules/audio_coding/neteq/expand_unittest.cc index a697441e87..55b048f0c5 100644 --- a/webrtc/modules/audio_coding/neteq/expand_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/expand_unittest.cc @@ -12,7 +12,6 @@ #include "webrtc/modules/audio_coding/neteq/expand.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/safe_conversions.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/modules/audio_coding/neteq/background_noise.h" @@ -20,6 +19,7 @@ #include "webrtc/modules/audio_coding/neteq/statistics_calculator.h" #include "webrtc/modules/audio_coding/neteq/sync_buffer.h" #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/merge_unittest.cc b/webrtc/modules/audio_coding/neteq/merge_unittest.cc index b6c62c9d68..bfabb22885 100644 --- a/webrtc/modules/audio_coding/neteq/merge_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/merge_unittest.cc @@ -14,12 +14,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/background_noise.h" #include "webrtc/modules/audio_coding/neteq/expand.h" #include "webrtc/modules/audio_coding/neteq/random_vector.h" #include "webrtc/modules/audio_coding/neteq/statistics_calculator.h" #include "webrtc/modules/audio_coding/neteq/sync_buffer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/mock/mock_external_decoder_pcm16b.h b/webrtc/modules/audio_coding/neteq/mock/mock_external_decoder_pcm16b.h index 1d630e7cf7..dd12f18dd2 100644 --- a/webrtc/modules/audio_coding/neteq/mock/mock_external_decoder_pcm16b.h +++ b/webrtc/modules/audio_coding/neteq/mock/mock_external_decoder_pcm16b.h @@ -13,9 +13,9 @@ #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" -#include "webrtc/test/gmock.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" +#include "webrtc/test/gmock.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc b/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc index c33a99f539..f27b512b18 100644 --- a/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc @@ -15,9 +15,9 @@ #include #include +#include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h" #include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" -#include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc index 98962be98f..3f6a80b5da 100644 --- a/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc @@ -12,13 +12,13 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/neteq/mock/mock_external_decoder_pcm16b.h" #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" #include "webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h" #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gmock.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc index dfb598b6be..8e5a21d876 100644 --- a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc @@ -13,8 +13,6 @@ #include "webrtc/modules/audio_coding/neteq/include/neteq.h" #include "webrtc/modules/audio_coding/neteq/neteq_impl.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/safe_conversions.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h" @@ -33,6 +31,8 @@ #include "webrtc/modules/audio_coding/neteq/sync_buffer.h" #include "webrtc/modules/audio_coding/neteq/timestamp_scaler.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::AtLeast; using ::testing::Return; diff --git a/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc index 63b2b5bfc1..82269bc8fb 100644 --- a/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h" #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gmock.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc index 442bf7acac..fb2648d005 100644 --- a/webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc @@ -15,13 +15,13 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" #include "webrtc/modules/audio_coding/neteq/include/neteq.h" #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc index a5b546831c..c227b5bb39 100644 --- a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc @@ -21,15 +21,15 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/ignore_wundef.h" #include "webrtc/base/sha1digest.h" #include "webrtc/base/stringencode.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" +#include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" -#include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_coding/neteq/normal_unittest.cc b/webrtc/modules/audio_coding/neteq/normal_unittest.cc index 07ec4f7187..1044c4b1b3 100644 --- a/webrtc/modules/audio_coding/neteq/normal_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/normal_unittest.cc @@ -15,7 +15,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h" #include "webrtc/modules/audio_coding/neteq/background_noise.h" @@ -25,6 +24,7 @@ #include "webrtc/modules/audio_coding/neteq/random_vector.h" #include "webrtc/modules/audio_coding/neteq/statistics_calculator.h" #include "webrtc/modules/audio_coding/neteq/sync_buffer.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::Invoke; diff --git a/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc b/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc index 2069dbbb5b..86c91a485c 100644 --- a/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc @@ -12,12 +12,12 @@ #include "webrtc/modules/audio_coding/neteq/packet_buffer.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h" #include "webrtc/modules/audio_coding/neteq/packet.h" #include "webrtc/modules/audio_coding/neteq/tick_timer.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::Return; using ::testing::_; diff --git a/webrtc/modules/audio_coding/neteq/red_payload_splitter_unittest.cc b/webrtc/modules/audio_coding/neteq/red_payload_splitter_unittest.cc index 7528e2bd18..57ae3f623e 100644 --- a/webrtc/modules/audio_coding/neteq/red_payload_splitter_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/red_payload_splitter_unittest.cc @@ -17,11 +17,11 @@ #include #include // pair -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h" #include "webrtc/modules/audio_coding/neteq/packet.h" +#include "webrtc/test/gtest.h" using ::testing::Return; using ::testing::ReturnNull; diff --git a/webrtc/modules/audio_coding/neteq/test/RTPtimeshift.cc b/webrtc/modules/audio_coding/neteq/test/RTPtimeshift.cc index e419c5dbaa..3b7a53c4ab 100644 --- a/webrtc/modules/audio_coding/neteq/test/RTPtimeshift.cc +++ b/webrtc/modules/audio_coding/neteq/test/RTPtimeshift.cc @@ -12,8 +12,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h" +#include "webrtc/test/gtest.h" #define FIRSTLINELEN 40 diff --git a/webrtc/modules/audio_coding/neteq/test/neteq_performance_unittest.cc b/webrtc/modules/audio_coding/neteq/test/neteq_performance_unittest.cc index f9775b5923..cd5ce4e576 100644 --- a/webrtc/modules/audio_coding/neteq/test/neteq_performance_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/test/neteq_performance_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/perf_test.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_coding/neteq/time_stretch_unittest.cc b/webrtc/modules/audio_coding/neteq/time_stretch_unittest.cc index 6f84089b68..8299924adf 100644 --- a/webrtc/modules/audio_coding/neteq/time_stretch_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/time_stretch_unittest.cc @@ -16,11 +16,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/modules/audio_coding/neteq/background_noise.h" #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc b/webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc index ed7a9a25a5..fc558c4ceb 100644 --- a/webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc +++ b/webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc @@ -10,11 +10,11 @@ #include "webrtc/modules/audio_coding/neteq/timestamp_scaler.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h" #include "webrtc/modules/audio_coding/neteq/packet.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::Return; using ::testing::ReturnNull; diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc index 2422f075b7..123a3151a8 100644 --- a/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc +++ b/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc @@ -11,9 +11,9 @@ #include "webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h" +#include "webrtc/base/format_macros.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/test/gtest.h" -#include "webrtc/base/format_macros.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h index d8bd2cee17..0ed7dfb0e7 100644 --- a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h +++ b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h @@ -14,12 +14,13 @@ #include #include #include -#include "webrtc/test/gtest.h" + #include "webrtc/modules/audio_coding/neteq/include/neteq.h" #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h" #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" using google::RegisterFlagValidator; diff --git a/webrtc/modules/audio_coding/test/APITest.cc b/webrtc/modules/audio_coding/test/APITest.cc index 771ca87439..717de82ff6 100644 --- a/webrtc/modules/audio_coding/test/APITest.cc +++ b/webrtc/modules/audio_coding/test/APITest.cc @@ -19,7 +19,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/platform_thread.h" #include "webrtc/base/timeutils.h" #include "webrtc/common_types.h" @@ -28,6 +27,7 @@ #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc b/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc index 93591f57ae..2bcae5a425 100644 --- a/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc +++ b/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc @@ -15,12 +15,12 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" -#include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/acm2/acm_common_defs.h" +#include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/PCMFile.cc b/webrtc/modules/audio_coding/test/PCMFile.cc index d16071b6a7..5d2d818322 100644 --- a/webrtc/modules/audio_coding/test/PCMFile.cc +++ b/webrtc/modules/audio_coding/test/PCMFile.cc @@ -14,8 +14,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/TestAllCodecs.cc b/webrtc/modules/audio_coding/test/TestAllCodecs.cc index 74caaf4c27..96c359c6d5 100644 --- a/webrtc/modules/audio_coding/test/TestAllCodecs.cc +++ b/webrtc/modules/audio_coding/test/TestAllCodecs.cc @@ -14,14 +14,13 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/common_types.h" #include "webrtc/engine_configurations.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_coding/test/TestStereo.cc b/webrtc/modules/audio_coding/test/TestStereo.cc index f0eb477dad..abc61796ee 100644 --- a/webrtc/modules/audio_coding/test/TestStereo.cc +++ b/webrtc/modules/audio_coding/test/TestStereo.cc @@ -14,12 +14,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/engine_configurations.h" #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/Tester.cc b/webrtc/modules/audio_coding/test/Tester.cc index f09cae33b5..481e9ffde5 100644 --- a/webrtc/modules/audio_coding/test/Tester.cc +++ b/webrtc/modules/audio_coding/test/Tester.cc @@ -12,19 +12,19 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/test/APITest.h" #include "webrtc/modules/audio_coding/test/EncodeDecodeTest.h" -#include "webrtc/modules/audio_coding/test/iSACTest.h" -#include "webrtc/modules/audio_coding/test/opus_test.h" #include "webrtc/modules/audio_coding/test/PacketLossTest.h" #include "webrtc/modules/audio_coding/test/TestAllCodecs.h" #include "webrtc/modules/audio_coding/test/TestRedFec.h" #include "webrtc/modules/audio_coding/test/TestStereo.h" #include "webrtc/modules/audio_coding/test/TestVADDTX.h" #include "webrtc/modules/audio_coding/test/TwoWayCommunication.h" +#include "webrtc/modules/audio_coding/test/iSACTest.h" +#include "webrtc/modules/audio_coding/test/opus_test.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using webrtc::Trace; diff --git a/webrtc/modules/audio_coding/test/TwoWayCommunication.cc b/webrtc/modules/audio_coding/test/TwoWayCommunication.cc index bc36a02455..9c26a32c91 100644 --- a/webrtc/modules/audio_coding/test/TwoWayCommunication.cc +++ b/webrtc/modules/audio_coding/test/TwoWayCommunication.cc @@ -20,13 +20,13 @@ #include #endif -#include "webrtc/test/gtest.h" -#include "webrtc/engine_configurations.h" #include "webrtc/common_types.h" +#include "webrtc/engine_configurations.h" #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" #include "webrtc/modules/audio_coding/test/PCMFile.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/delay_test.cc b/webrtc/modules/audio_coding/test/delay_test.cc index 5ab98d3fd2..4f9ed533f6 100644 --- a/webrtc/modules/audio_coding/test/delay_test.cc +++ b/webrtc/modules/audio_coding/test/delay_test.cc @@ -15,16 +15,16 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/engine_configurations.h" +#include "webrtc/modules/audio_coding/acm2/acm_common_defs.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h" -#include "webrtc/modules/audio_coding/acm2/acm_common_defs.h" #include "webrtc/modules/audio_coding/test/Channel.h" #include "webrtc/modules/audio_coding/test/PCMFile.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/event_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" DEFINE_string(codec, "isac", "Codec Name"); diff --git a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc index 98ce06ad75..ca0a240aec 100644 --- a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc +++ b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc @@ -13,13 +13,13 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/test/Channel.h" #include "webrtc/modules/audio_coding/test/PCMFile.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" // Codec. diff --git a/webrtc/modules/audio_coding/test/opus_test.cc b/webrtc/modules/audio_coding/test/opus_test.cc index ba2a9df5ee..d3f7b7aafa 100644 --- a/webrtc/modules/audio_coding/test/opus_test.cc +++ b/webrtc/modules/audio_coding/test/opus_test.cc @@ -14,7 +14,6 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/engine_configurations.h" #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" @@ -22,6 +21,7 @@ #include "webrtc/modules/audio_coding/test/TestStereo.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/target_delay_unittest.cc b/webrtc/modules/audio_coding/test/target_delay_unittest.cc index 6b0f2af359..2939453e4f 100644 --- a/webrtc/modules/audio_coding/test/target_delay_unittest.cc +++ b/webrtc/modules/audio_coding/test/target_delay_unittest.cc @@ -10,13 +10,13 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/test/utility.cc b/webrtc/modules/audio_coding/test/utility.cc index 3a0afa1232..5c1fc3f968 100644 --- a/webrtc/modules/audio_coding/test/utility.cc +++ b/webrtc/modules/audio_coding/test/utility.cc @@ -15,10 +15,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" -#include "webrtc/modules/audio_coding/include/audio_coding_module.h" #include "webrtc/modules/audio_coding/acm2/acm_common_defs.h" +#include "webrtc/modules/audio_coding/include/audio_coding_module.h" +#include "webrtc/test/gtest.h" #define NUM_CODECS_WITH_FIXED_PAYLOAD_TYPE 13 diff --git a/webrtc/modules/audio_coding/test/utility.h b/webrtc/modules/audio_coding/test/utility.h index fe85933cfd..1a3e06d6c9 100644 --- a/webrtc/modules/audio_coding/test/utility.h +++ b/webrtc/modules/audio_coding/test/utility.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_TEST_UTILITY_H_ #define WEBRTC_MODULES_AUDIO_CODING_TEST_UTILITY_H_ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/include/audio_coding_module.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_conference_mixer/test/audio_conference_mixer_unittest.cc b/webrtc/modules/audio_conference_mixer/test/audio_conference_mixer_unittest.cc index 2acbfbf9ef..218b8be750 100644 --- a/webrtc/modules/audio_conference_mixer/test/audio_conference_mixer_unittest.cc +++ b/webrtc/modules/audio_conference_mixer/test/audio_conference_mixer_unittest.cc @@ -10,9 +10,9 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h" #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_defines.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_device/android/audio_device_unittest.cc b/webrtc/modules/audio_device/android/audio_device_unittest.cc index cfbe96f8d7..56fb209d02 100644 --- a/webrtc/modules/audio_device/android/audio_device_unittest.cc +++ b/webrtc/modules/audio_device/android/audio_device_unittest.cc @@ -16,8 +16,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/format_macros.h" @@ -31,6 +29,8 @@ #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using std::cout; diff --git a/webrtc/modules/audio_device/android/audio_manager_unittest.cc b/webrtc/modules/audio_device/android/audio_manager_unittest.cc index bf81f7ff98..76ee305dfa 100644 --- a/webrtc/modules/audio_device/android/audio_manager_unittest.cc +++ b/webrtc/modules/audio_device/android/audio_manager_unittest.cc @@ -10,12 +10,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/base/format_macros.h" -#include "webrtc/modules/audio_device/android/build_info.h" #include "webrtc/modules/audio_device/android/audio_manager.h" +#include "webrtc/modules/audio_device/android/build_info.h" #include "webrtc/modules/audio_device/android/ensure_initialized.h" +#include "webrtc/test/gtest.h" #define PRINT(...) fprintf(stderr, __VA_ARGS__); diff --git a/webrtc/modules/audio_device/fine_audio_buffer_unittest.cc b/webrtc/modules/audio_device/fine_audio_buffer_unittest.cc index a0dfb976e9..18b203521c 100644 --- a/webrtc/modules/audio_device/fine_audio_buffer_unittest.cc +++ b/webrtc/modules/audio_device/fine_audio_buffer_unittest.cc @@ -13,9 +13,9 @@ #include #include +#include "webrtc/modules/audio_device/mock_audio_device_buffer.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/modules/audio_device/mock_audio_device_buffer.h" using ::testing::_; using ::testing::AtLeast; diff --git a/webrtc/modules/audio_device/include/mock_audio_device.h b/webrtc/modules/audio_device/include/mock_audio_device.h index 00c95a8c72..2c44c65bc4 100644 --- a/webrtc/modules/audio_device/include/mock_audio_device.h +++ b/webrtc/modules/audio_device/include/mock_audio_device.h @@ -12,8 +12,9 @@ #define WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_MOCK_AUDIO_DEVICE_H_ #include -#include "webrtc/test/gmock.h" + #include "webrtc/modules/audio_device/include/audio_device.h" +#include "webrtc/test/gmock.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc b/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc index 56dbdc5268..d1a3979af0 100644 --- a/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc +++ b/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc @@ -16,8 +16,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/format_macros.h" @@ -29,6 +27,8 @@ #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using std::cout; diff --git a/webrtc/modules/audio_device/mock_audio_device_buffer.h b/webrtc/modules/audio_device/mock_audio_device_buffer.h index 8d09655496..bfef605a30 100644 --- a/webrtc/modules/audio_device/mock_audio_device_buffer.h +++ b/webrtc/modules/audio_device/mock_audio_device_buffer.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_AUDIO_DEVICE_MOCK_AUDIO_DEVICE_BUFFER_H_ #define WEBRTC_MODULES_AUDIO_DEVICE_MOCK_AUDIO_DEVICE_BUFFER_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_device/audio_device_buffer.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc b/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc index ed10685c80..9bf1b8bba3 100644 --- a/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc +++ b/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc @@ -13,11 +13,11 @@ #include #include -#include "webrtc/test/gmock.h" #include "webrtc/base/bind.h" #include "webrtc/base/thread.h" -#include "webrtc/modules/audio_mixer/audio_mixer_defines.h" #include "webrtc/modules/audio_mixer/audio_mixer.h" +#include "webrtc/modules/audio_mixer/audio_mixer_defines.h" +#include "webrtc/test/gmock.h" using testing::_; using testing::Exactly; diff --git a/webrtc/modules/audio_processing/aec/echo_cancellation_unittest.cc b/webrtc/modules/audio_processing/aec/echo_cancellation_unittest.cc index 58fff81e0f..20b63d667d 100644 --- a/webrtc/modules/audio_processing/aec/echo_cancellation_unittest.cc +++ b/webrtc/modules/audio_processing/aec/echo_cancellation_unittest.cc @@ -15,9 +15,9 @@ #include #include +#include "webrtc/base/checks.h" #include "webrtc/modules/audio_processing/aec/aec_core.h" #include "webrtc/test/gtest.h" -#include "webrtc/base/checks.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/aec/system_delay_unittest.cc b/webrtc/modules/audio_processing/aec/system_delay_unittest.cc index d29642ea1e..141d608008 100644 --- a/webrtc/modules/audio_processing/aec/system_delay_unittest.cc +++ b/webrtc/modules/audio_processing/aec/system_delay_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/aec/aec_core.h" #include "webrtc/modules/audio_processing/aec/echo_cancellation.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/agc/agc_manager_direct_unittest.cc b/webrtc/modules/audio_processing/agc/agc_manager_direct_unittest.cc index 397f38ccb3..d19d190428 100644 --- a/webrtc/modules/audio_processing/agc/agc_manager_direct_unittest.cc +++ b/webrtc/modules/audio_processing/agc/agc_manager_direct_unittest.cc @@ -10,12 +10,12 @@ #include "webrtc/modules/audio_processing/agc/agc_manager_direct.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/modules/audio_processing/agc/mock_agc.h" #include "webrtc/modules/audio_processing/include/mock_audio_processing.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/trace_to_stderr.h" using ::testing::_; diff --git a/webrtc/modules/audio_processing/agc/loudness_histogram_unittest.cc b/webrtc/modules/audio_processing/agc/loudness_histogram_unittest.cc index 5c0b4ca1d8..089c05a023 100644 --- a/webrtc/modules/audio_processing/agc/loudness_histogram_unittest.cc +++ b/webrtc/modules/audio_processing/agc/loudness_histogram_unittest.cc @@ -17,9 +17,9 @@ #include #include +#include "webrtc/modules/audio_processing/agc/utility.h" #include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" -#include "webrtc/modules/audio_processing/agc/utility.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/agc/mock_agc.h b/webrtc/modules/audio_processing/agc/mock_agc.h index 4a837e5a2a..3b9c22fb75 100644 --- a/webrtc/modules/audio_processing/agc/mock_agc.h +++ b/webrtc/modules/audio_processing/agc/mock_agc.h @@ -13,8 +13,8 @@ #include "webrtc/modules/audio_processing/agc/agc.h" -#include "webrtc/test/gmock.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/audio_buffer_unittest.cc b/webrtc/modules/audio_processing/audio_buffer_unittest.cc index 38855d6545..c89770cd4d 100644 --- a/webrtc/modules/audio_processing/audio_buffer_unittest.cc +++ b/webrtc/modules/audio_processing/audio_buffer_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/audio_buffer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc b/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc index c55537d362..28073558ec 100644 --- a/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc +++ b/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc @@ -14,7 +14,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/event.h" @@ -24,6 +23,7 @@ #include "webrtc/modules/audio_processing/test/test_utils.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/audio_processing_impl_unittest.cc b/webrtc/modules/audio_processing/audio_processing_impl_unittest.cc index 9f5b5157f7..a68da2f50f 100644 --- a/webrtc/modules/audio_processing/audio_processing_impl_unittest.cc +++ b/webrtc/modules/audio_processing/audio_processing_impl_unittest.cc @@ -10,11 +10,11 @@ #include "webrtc/modules/audio_processing/audio_processing_impl.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/config.h" #include "webrtc/modules/audio_processing/test/test_utils.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::Invoke; using ::testing::Return; diff --git a/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc b/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc index 0048180d9a..bb88c8be42 100644 --- a/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc +++ b/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc @@ -15,7 +15,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/base/atomicops.h" #include "webrtc/base/platform_thread.h" @@ -27,6 +26,7 @@ #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/perf_test.h" // Check to verify that the define for the intelligibility enhancer is properly diff --git a/webrtc/modules/audio_processing/beamformer/complex_matrix_unittest.cc b/webrtc/modules/audio_processing/beamformer/complex_matrix_unittest.cc index 9ad790fd32..100d2e6eae 100644 --- a/webrtc/modules/audio_processing/beamformer/complex_matrix_unittest.cc +++ b/webrtc/modules/audio_processing/beamformer/complex_matrix_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/beamformer/complex_matrix.h" #include "webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator_unittest.cc b/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator_unittest.cc index b754e2081c..1dd65c1dd5 100644 --- a/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator_unittest.cc +++ b/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator_unittest.cc @@ -14,8 +14,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h b/webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h index 2ec412f184..57bd82ed23 100644 --- a/webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h +++ b/webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h @@ -11,9 +11,9 @@ #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_MATRIX_TEST_HELPERS_H_ #define WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_MATRIX_TEST_HELPERS_H_ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/beamformer/complex_matrix.h" #include "webrtc/modules/audio_processing/beamformer/matrix.h" +#include "webrtc/test/gtest.h" namespace { const float kTolerance = 0.001f; diff --git a/webrtc/modules/audio_processing/beamformer/matrix_unittest.cc b/webrtc/modules/audio_processing/beamformer/matrix_unittest.cc index 66adb0e78e..939404c7cd 100644 --- a/webrtc/modules/audio_processing/beamformer/matrix_unittest.cc +++ b/webrtc/modules/audio_processing/beamformer/matrix_unittest.cc @@ -10,9 +10,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/beamformer/matrix.h" #include "webrtc/modules/audio_processing/beamformer/matrix_test_helpers.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h b/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h index b0be4ac7f3..7493dcbbb2 100644 --- a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h +++ b/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h @@ -13,8 +13,8 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc index ee211f28a8..7983d71555 100644 --- a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc +++ b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc @@ -15,11 +15,11 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc b/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc index cc6af2ee9d..3fb43d8b5b 100644 --- a/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc +++ b/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/echo_cancellation_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc b/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc index ceb27e51ea..0aa1cf3a4c 100644 --- a/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc +++ b/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc @@ -10,9 +10,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/aec/aec_core.h" #include "webrtc/modules/audio_processing/include/audio_processing.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc b/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc index 4293814a4e..3c747d07de 100644 --- a/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc +++ b/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/echo_control_mobile_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/gain_control_unittest.cc b/webrtc/modules/audio_processing/gain_control_unittest.cc index 413a7b6166..0f9ed08d57 100644 --- a/webrtc/modules/audio_processing/gain_control_unittest.cc +++ b/webrtc/modules/audio_processing/gain_control_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/gain_control_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/high_pass_filter_unittest.cc b/webrtc/modules/audio_processing/high_pass_filter_unittest.cc index db746f6149..932b5c3762 100644 --- a/webrtc/modules/audio_processing/high_pass_filter_unittest.cc +++ b/webrtc/modules/audio_processing/high_pass_filter_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/high_pass_filter_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer_unittest.cc b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer_unittest.cc index bccfd0911d..0f9467cbe4 100644 --- a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer_unittest.cc +++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer_unittest.cc @@ -15,7 +15,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/base/arraysize.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" @@ -24,6 +23,7 @@ #include "webrtc/modules/audio_processing/noise_suppression_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/intelligibility/intelligibility_utils_unittest.cc b/webrtc/modules/audio_processing/intelligibility/intelligibility_utils_unittest.cc index a9d3d31ad4..b7c212d956 100644 --- a/webrtc/modules/audio_processing/intelligibility/intelligibility_utils_unittest.cc +++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_utils_unittest.cc @@ -12,9 +12,9 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc index bf3dba9c49..ddcf1674f9 100644 --- a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc +++ b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc @@ -9,7 +9,6 @@ */ #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/criticalsection.h" #include "webrtc/common_audio/channel_buffer.h" #include "webrtc/common_audio/include/audio_util.h" @@ -17,6 +16,7 @@ #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h" #include "webrtc/modules/audio_processing/noise_suppression_impl.h" +#include "webrtc/test/gtest.h" using std::complex; diff --git a/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc b/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc index bfd719b023..69ef28dce4 100644 --- a/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc +++ b/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc @@ -11,7 +11,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/base/random.h" #include "webrtc/modules/audio_processing/audio_buffer.h" @@ -20,6 +19,7 @@ #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/perf_test.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/level_controller/level_controller_unittest.cc b/webrtc/modules/audio_processing/level_controller/level_controller_unittest.cc index dc07e4952d..ed842b6e27 100644 --- a/webrtc/modules/audio_processing/level_controller/level_controller_unittest.cc +++ b/webrtc/modules/audio_processing/level_controller/level_controller_unittest.cc @@ -10,13 +10,13 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/include/audio_processing.h" #include "webrtc/modules/audio_processing/level_controller/level_controller.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/level_estimator_unittest.cc b/webrtc/modules/audio_processing/level_estimator_unittest.cc index ce7064d658..2675e0a4ce 100644 --- a/webrtc/modules/audio_processing/level_estimator_unittest.cc +++ b/webrtc/modules/audio_processing/level_estimator_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/level_estimator_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/noise_suppression_unittest.cc b/webrtc/modules/audio_processing/noise_suppression_unittest.cc index 47636141d9..78c3cc52ae 100644 --- a/webrtc/modules/audio_processing/noise_suppression_unittest.cc +++ b/webrtc/modules/audio_processing/noise_suppression_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/noise_suppression_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/splitting_filter_unittest.cc b/webrtc/modules/audio_processing/splitting_filter_unittest.cc index 96a6408b82..ce070312e7 100644 --- a/webrtc/modules/audio_processing/splitting_filter_unittest.cc +++ b/webrtc/modules/audio_processing/splitting_filter_unittest.cc @@ -13,9 +13,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/channel_buffer.h" #include "webrtc/modules/audio_processing/splitting_filter.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/audio_processing/test/debug_dump_test.cc b/webrtc/modules/audio_processing/test/debug_dump_test.cc index b8d4b439f9..b4e0ee7e3a 100644 --- a/webrtc/modules/audio_processing/test/debug_dump_test.cc +++ b/webrtc/modules/audio_processing/test/debug_dump_test.cc @@ -14,10 +14,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" #include "webrtc/modules/audio_processing/test/debug_dump_replayer.h" #include "webrtc/modules/audio_processing/test/test_utils.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" diff --git a/webrtc/modules/audio_processing/transient/file_utils_unittest.cc b/webrtc/modules/audio_processing/transient/file_utils_unittest.cc index c975934349..2909ac397a 100644 --- a/webrtc/modules/audio_processing/transient/file_utils_unittest.cc +++ b/webrtc/modules/audio_processing/transient/file_utils_unittest.cc @@ -15,8 +15,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/file_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc b/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc index dcf1e345a7..7f9b74e4d7 100644 --- a/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc +++ b/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc @@ -14,10 +14,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/transient/common.h" #include "webrtc/modules/audio_processing/transient/file_utils.h" #include "webrtc/system_wrappers/include/file_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_processing/transient/transient_suppression_test.cc b/webrtc/modules/audio_processing/transient/transient_suppression_test.cc index 447b3d4320..2158a81158 100644 --- a/webrtc/modules/audio_processing/transient/transient_suppression_test.cc +++ b/webrtc/modules/audio_processing/transient/transient_suppression_test.cc @@ -17,10 +17,10 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/common_audio/include/audio_util.h" #include "webrtc/modules/audio_processing/agc/agc.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/audio_processing/transient/transient_suppressor_unittest.cc b/webrtc/modules/audio_processing/transient/transient_suppressor_unittest.cc index 1e671240b3..ff0105512a 100644 --- a/webrtc/modules/audio_processing/transient/transient_suppressor_unittest.cc +++ b/webrtc/modules/audio_processing/transient/transient_suppressor_unittest.cc @@ -10,8 +10,8 @@ #include "webrtc/modules/audio_processing/transient/transient_suppressor.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/transient/common.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/transient/wpd_tree_unittest.cc b/webrtc/modules/audio_processing/transient/wpd_tree_unittest.cc index 61a67e5bec..983d05dca1 100644 --- a/webrtc/modules/audio_processing/transient/wpd_tree_unittest.cc +++ b/webrtc/modules/audio_processing/transient/wpd_tree_unittest.cc @@ -14,10 +14,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/transient/daubechies_8_wavelet_coeffs.h" #include "webrtc/modules/audio_processing/transient/file_utils.h" #include "webrtc/system_wrappers/include/file_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/utility/block_mean_calculator_unittest.cc b/webrtc/modules/audio_processing/utility/block_mean_calculator_unittest.cc index 91146a6b4d..22e8f4997f 100644 --- a/webrtc/modules/audio_processing/utility/block_mean_calculator_unittest.cc +++ b/webrtc/modules/audio_processing/utility/block_mean_calculator_unittest.cc @@ -8,9 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/modules/audio_processing/utility/block_mean_calculator.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/utility/delay_estimator_unittest.cc b/webrtc/modules/audio_processing/utility/delay_estimator_unittest.cc index a7d363a7a5..f054b9c429 100644 --- a/webrtc/modules/audio_processing/utility/delay_estimator_unittest.cc +++ b/webrtc/modules/audio_processing/utility/delay_estimator_unittest.cc @@ -8,11 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/modules/audio_processing/utility/delay_estimator.h" #include "webrtc/modules/audio_processing/utility/delay_estimator_internal.h" #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace { diff --git a/webrtc/modules/audio_processing/vad/gmm_unittest.cc b/webrtc/modules/audio_processing/vad/gmm_unittest.cc index 5444cbc273..46785af12f 100644 --- a/webrtc/modules/audio_processing/vad/gmm_unittest.cc +++ b/webrtc/modules/audio_processing/vad/gmm_unittest.cc @@ -12,9 +12,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/vad/noise_gmm_tables.h" #include "webrtc/modules/audio_processing/vad/voice_gmm_tables.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/vad/pole_zero_filter_unittest.cc b/webrtc/modules/audio_processing/vad/pole_zero_filter_unittest.cc index 4bb8308955..71e7213434 100644 --- a/webrtc/modules/audio_processing/vad/pole_zero_filter_unittest.cc +++ b/webrtc/modules/audio_processing/vad/pole_zero_filter_unittest.cc @@ -15,8 +15,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/vad/vad_audio_proc_internal.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc b/webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc index c920415f4d..5ed39b8299 100644 --- a/webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc +++ b/webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc @@ -14,8 +14,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/vad/vad_audio_proc_unittest.cc b/webrtc/modules/audio_processing/vad/vad_audio_proc_unittest.cc index 1de1b73f7c..65b516a7c5 100644 --- a/webrtc/modules/audio_processing/vad/vad_audio_proc_unittest.cc +++ b/webrtc/modules/audio_processing/vad/vad_audio_proc_unittest.cc @@ -19,9 +19,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/vad/common.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/voice_detection_unittest.cc b/webrtc/modules/audio_processing/voice_detection_unittest.cc index 171c1d6b42..7dee44de69 100644 --- a/webrtc/modules/audio_processing/voice_detection_unittest.cc +++ b/webrtc/modules/audio_processing/voice_detection_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/modules/audio_processing/audio_buffer.h" -#include "webrtc/modules/audio_processing/voice_detection_impl.h" #include "webrtc/modules/audio_processing/test/audio_buffer_tools.h" #include "webrtc/modules/audio_processing/test/bitexactness_tools.h" +#include "webrtc/modules/audio_processing/voice_detection_impl.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc b/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc index 4b298cc152..6f269a4e8c 100644 --- a/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc +++ b/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc @@ -11,13 +11,12 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/call/mock/mock_rtc_event_log.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" #include "webrtc/modules/pacing/mock/mock_paced_sender.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/test/field_trial.h" +#include "webrtc/test/gtest.h" using ::testing::Exactly; using ::testing::Return; diff --git a/webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h b/webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h index ee545f5b8a..d4a12ec6e7 100644 --- a/webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h +++ b/webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLER_H_ #define WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLER_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" +#include "webrtc/test/gmock.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation_unittest.cc b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation_unittest.cc index 7368a48bda..da618c7c49 100644 --- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation_unittest.cc +++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation_unittest.cc @@ -11,9 +11,9 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/call/mock/mock_rtc_event_log.h" #include "webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/congestion_controller/congestion_controller_unittest.cc b/webrtc/modules/congestion_controller/congestion_controller_unittest.cc index 8d1005d88d..e840294d9f 100644 --- a/webrtc/modules/congestion_controller/congestion_controller_unittest.cc +++ b/webrtc/modules/congestion_controller/congestion_controller_unittest.cc @@ -8,15 +8,15 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/call/mock/mock_rtc_event_log.h" -#include "webrtc/modules/pacing/mock/mock_paced_sender.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" #include "webrtc/modules/congestion_controller/include/congestion_controller.h" #include "webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h" +#include "webrtc/modules/pacing/mock/mock_paced_sender.h" #include "webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using testing::_; using testing::AtLeast; diff --git a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.h b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.h index add9fb3277..55aa65063d 100644 --- a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.h +++ b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.h @@ -17,11 +17,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/congestion_controller/delay_based_bwe.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h index 143efd4646..128d64ea98 100644 --- a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h +++ b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h @@ -11,10 +11,10 @@ #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_MOCK_MOCK_CONGESTION_CONTROLLER_H_ #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_MOCK_MOCK_CONGESTION_CONTROLLER_H_ -#include "webrtc/test/gmock.h" #include "webrtc/base/constructormagic.h" #include "webrtc/base/socket.h" #include "webrtc/modules/congestion_controller/include/congestion_controller.h" +#include "webrtc/test/gmock.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc b/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc index cd12b58012..0a2f7b0ce5 100644 --- a/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc +++ b/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc @@ -13,9 +13,9 @@ #include #include +#include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" namespace webrtc { diff --git a/webrtc/modules/congestion_controller/probe_controller_unittest.cc b/webrtc/modules/congestion_controller/probe_controller_unittest.cc index a57cad0514..fec059d306 100644 --- a/webrtc/modules/congestion_controller/probe_controller_unittest.cc +++ b/webrtc/modules/congestion_controller/probe_controller_unittest.cc @@ -9,12 +9,12 @@ */ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/logging.h" #include "webrtc/modules/congestion_controller/probe_controller.h" #include "webrtc/modules/pacing/mock/mock_paced_sender.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using testing::_; using testing::AtLeast; diff --git a/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc b/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc index 0c77fe9ede..2c94c71c75 100644 --- a/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc +++ b/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc @@ -12,15 +12,14 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/base/checks.h" #include "webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h" #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::Invoke; diff --git a/webrtc/modules/desktop_capture/differ_block_unittest.cc b/webrtc/modules/desktop_capture/differ_block_unittest.cc index e981cc11c9..cfee667893 100644 --- a/webrtc/modules/desktop_capture/differ_block_unittest.cc +++ b/webrtc/modules/desktop_capture/differ_block_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gmock.h" #include "webrtc/modules/desktop_capture/differ_block.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/screen_capturer_differ_wrapper_unittest.cc b/webrtc/modules/desktop_capture/screen_capturer_differ_wrapper_unittest.cc index 0aad0e0dd9..f04d809b9f 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_differ_wrapper_unittest.cc +++ b/webrtc/modules/desktop_capture/screen_capturer_differ_wrapper_unittest.cc @@ -15,7 +15,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/base/timeutils.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" @@ -24,6 +23,7 @@ #include "webrtc/modules/desktop_capture/fake_screen_capturer.h" #include "webrtc/modules/desktop_capture/screen_capturer_mock_objects.h" #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc b/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc index 7b83a830f0..003f4dba54 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc +++ b/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc @@ -15,13 +15,13 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/desktop_capture/desktop_capture_options.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" #include "webrtc/modules/desktop_capture/desktop_region.h" #include "webrtc/modules/desktop_capture/mac/desktop_configuration.h" #include "webrtc/modules/desktop_capture/screen_capturer_mock_objects.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::AnyNumber; diff --git a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h index 82944a7a21..f08dab5318 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h +++ b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h @@ -11,9 +11,9 @@ #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_MOCK_OBJECTS_H_ #define WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_MOCK_OBJECTS_H_ -#include "webrtc/test/gmock.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/screen_capturer.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/screen_drawer_unittest.cc b/webrtc/modules/desktop_capture/screen_drawer_unittest.cc index 499c6905ec..2821af0fbf 100644 --- a/webrtc/modules/desktop_capture/screen_drawer_unittest.cc +++ b/webrtc/modules/desktop_capture/screen_drawer_unittest.cc @@ -12,11 +12,11 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/base/timeutils.h" #include "webrtc/system_wrappers/include/logging.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/win/cursor_unittest.cc b/webrtc/modules/desktop_capture/win/cursor_unittest.cc index 21ea3031e2..e37fd981b0 100644 --- a/webrtc/modules/desktop_capture/win/cursor_unittest.cc +++ b/webrtc/modules/desktop_capture/win/cursor_unittest.cc @@ -10,13 +10,13 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" #include "webrtc/modules/desktop_capture/mouse_cursor.h" #include "webrtc/modules/desktop_capture/win/cursor.h" #include "webrtc/modules/desktop_capture/win/cursor_unittest_resources.h" #include "webrtc/modules/desktop_capture/win/scoped_gdi_object.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/media_file/media_file_unittest.cc b/webrtc/modules/media_file/media_file_unittest.cc index 3fa0afcd3d..cbea836fcf 100644 --- a/webrtc/modules/media_file/media_file_unittest.cc +++ b/webrtc/modules/media_file/media_file_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/media_file/media_file.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" class MediaFileTest : public testing::Test { diff --git a/webrtc/modules/pacing/bitrate_prober_unittest.cc b/webrtc/modules/pacing/bitrate_prober_unittest.cc index e0318dfa10..c55ac6876b 100644 --- a/webrtc/modules/pacing/bitrate_prober_unittest.cc +++ b/webrtc/modules/pacing/bitrate_prober_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/pacing/bitrate_prober.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/pacing/mock/mock_paced_sender.h b/webrtc/modules/pacing/mock/mock_paced_sender.h index 15f5f0ad5a..b83032c24a 100644 --- a/webrtc/modules/pacing/mock/mock_paced_sender.h +++ b/webrtc/modules/pacing/mock/mock_paced_sender.h @@ -13,10 +13,9 @@ #include -#include "webrtc/test/gmock.h" - #include "webrtc/modules/pacing/paced_sender.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/pacing/paced_sender_unittest.cc b/webrtc/modules/pacing/paced_sender_unittest.cc index 4d859c7fc7..a0bb92f6e4 100644 --- a/webrtc/modules/pacing/paced_sender_unittest.cc +++ b/webrtc/modules/pacing/paced_sender_unittest.cc @@ -11,10 +11,10 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/pacing/paced_sender.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using testing::_; using testing::Return; diff --git a/webrtc/modules/pacing/packet_router_unittest.cc b/webrtc/modules/pacing/packet_router_unittest.cc index bfd644dff8..456e1def4f 100644 --- a/webrtc/modules/pacing/packet_router_unittest.cc +++ b/webrtc/modules/pacing/packet_router_unittest.cc @@ -12,12 +12,12 @@ #include #include "webrtc/base/checks.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/pacing/packet_router.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::AnyNumber; diff --git a/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc b/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc index b0621efaa7..a3f2894863 100644 --- a/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc +++ b/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc @@ -10,12 +10,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet_receiver.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" diff --git a/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h b/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h index b65d424f33..b8cc8ef555 100644 --- a/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h +++ b/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h @@ -13,8 +13,8 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h b/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h index 8820396ef5..c3fb6acc99 100644 --- a/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h +++ b/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h @@ -13,8 +13,8 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/remote_bitrate_estimator/inter_arrival_unittest.cc b/webrtc/modules/remote_bitrate_estimator/inter_arrival_unittest.cc index 5ee72d2c2f..107641967c 100644 --- a/webrtc/modules/remote_bitrate_estimator/inter_arrival_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/inter_arrival_unittest.cc @@ -10,10 +10,9 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/common_types.h" #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc b/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc index cfcf2d67ef..576e253621 100644 --- a/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc @@ -15,8 +15,6 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/random.h" #include "webrtc/base/rate_statistics.h" #include "webrtc/common_types.h" @@ -24,6 +22,7 @@ #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" #include "webrtc/test/field_trial.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h index 5a3a52422e..460a3a96b9 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h +++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h @@ -17,10 +17,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc b/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc index 7b831db4dd..9821568260 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc @@ -8,13 +8,12 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/modules/pacing/packet_router.h" #include "webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::InSequence; diff --git a/webrtc/modules/remote_bitrate_estimator/send_time_history_unittest.cc b/webrtc/modules/remote_bitrate_estimator/send_time_history_unittest.cc index 96e6d27043..843f36e4f2 100644 --- a/webrtc/modules/remote_bitrate_estimator/send_time_history_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/send_time_history_unittest.cc @@ -12,10 +12,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test.h b/webrtc/modules/remote_bitrate_estimator/test/bwe_test.h index b11ea1a8a6..963b60639a 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test.h +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test.h @@ -14,11 +14,12 @@ #include #include #include -#include "webrtc/test/gtest.h" + #include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework_unittest.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework_unittest.cc index a06838aca0..bd41a134ca 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework_unittest.cc @@ -12,10 +12,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_unittest.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe_unittest.cc index c2c87f9bcd..f9255cc370 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_unittest.cc @@ -12,8 +12,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc index 78196dfec8..ad87cb306c 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc @@ -16,11 +16,11 @@ #include "webrtc/base/arraysize.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" -#include "webrtc/test/gtest.h" -#include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc index f5a9eafedf..1917789b7c 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc @@ -12,12 +12,12 @@ #include "webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/common.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc index e7d3a1025c..300ef2d29f 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc @@ -12,11 +12,11 @@ #include "webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/common.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/remote_bitrate_estimator/test/packet_receiver.cc b/webrtc/modules/remote_bitrate_estimator/test/packet_receiver.cc index d0be605cc1..2f5dcee684 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/packet_receiver.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/packet_receiver.cc @@ -12,13 +12,13 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/common.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h b/webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h index 01f5d820fb..25d78c0589 100644 --- a/webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h +++ b/webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h @@ -15,12 +15,11 @@ #include #include -#include "webrtc/test/gmock.h" - #include "webrtc/modules/include/module.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc b/webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc index 6d3327fd7b..addf33423a 100644 --- a/webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc b/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc index fe0abdc386..516306cc18 100644 --- a/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc @@ -13,14 +13,14 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/include/fec_receiver.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h b/webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h index e5e9f465a6..458f5a8945 100644 --- a/webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h +++ b/webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_MOCK_MOCK_RTP_PAYLOAD_STRATEGY_H_ #define WEBRTC_MODULES_RTP_RTCP_SOURCE_MOCK_MOCK_RTP_PAYLOAD_STRATEGY_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" +#include "webrtc/test/gmock.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc b/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc index 85de6113e3..2a0fce5a06 100644 --- a/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc @@ -14,7 +14,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/rate_limiter.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" @@ -23,6 +22,7 @@ #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" +#include "webrtc/test/gtest.h" #include "webrtc/transport.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/packet_loss_stats_unittest.cc b/webrtc/modules/rtp_rtcp/source/packet_loss_stats_unittest.cc index 6e7ea033ec..b82f46bf1f 100644 --- a/webrtc/modules/rtp_rtcp/source/packet_loss_stats_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/packet_loss_stats_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/packet_loss_stats.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/playout_delay_oracle_unittest.cc b/webrtc/modules/rtp_rtcp/source/playout_delay_oracle_unittest.cc index 0d38f3f73e..b4a0189887 100644 --- a/webrtc/modules/rtp_rtcp/source/playout_delay_oracle_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/playout_delay_oracle_unittest.cc @@ -10,8 +10,8 @@ #include "webrtc/modules/rtp_rtcp/source/playout_delay_oracle.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/logging.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc b/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc index 023a24cced..14d80eb7cb 100644 --- a/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc @@ -12,11 +12,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" #include "webrtc/modules/rtp_rtcp/source/producer_fec.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/receive_statistics_unittest.cc b/webrtc/modules/rtp_rtcp/source/receive_statistics_unittest.cc index c3d7757ae0..97f6fa3bdc 100644 --- a/webrtc/modules/rtp_rtcp/source/receive_statistics_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/receive_statistics_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc b/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc index 0103547b43..f976183d1b 100644 --- a/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc @@ -8,11 +8,11 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::DoAll; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc index b42ec0cb49..4c1c238c29 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc @@ -10,12 +10,12 @@ #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/rtcp_packet_parser.h" using webrtc::rtcp::Bye; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc index bf5756d3f9..161974da9e 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc @@ -10,9 +10,8 @@ #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h" -#include "webrtc/test/gtest.h" - #include "webrtc/modules/rtp_rtcp/source/byte_io.h" +#include "webrtc/test/gtest.h" using webrtc::rtcp::Dlrr; using webrtc::rtcp::ReceiveTimeInfo; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc index 53b81cf44c..3c5025caaa 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" +#include "webrtc/base/random.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/base/random.h" #include "webrtc/test/rtcp_packet_parser.h" using testing::ElementsAre; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli_unittest.cc index 6f32482562..8aba81b6bd 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli_unittest.cc @@ -12,7 +12,6 @@ #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" - #include "webrtc/test/rtcp_packet_parser.h" using testing::ElementsAreArray; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block_unittest.cc index ab6254b562..b6a0ab7bd8 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block_unittest.cc @@ -12,8 +12,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" +#include "webrtc/test/gtest.h" using webrtc::rtcp::ReportBlock; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc index d69b53f898..c7576500a4 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc @@ -12,7 +12,6 @@ #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" - #include "webrtc/test/rtcp_packet_parser.h" using testing::ElementsAreArray; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc index db23c714ea..1d42ad1b5d 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc @@ -13,9 +13,8 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/modules/rtp_rtcp/source/byte_io.h" +#include "webrtc/test/gtest.h" using webrtc::rtcp::TransportFeedback; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc index 7a5a1912d8..f9544b3b65 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc @@ -8,11 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using webrtc::rtcp::ReceiverReport; using webrtc::rtcp::ReportBlock; diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc index dd1dc50616..99bb7c7471 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc @@ -10,8 +10,6 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/array_view.h" #include "webrtc/base/random.h" #include "webrtc/common_types.h" @@ -37,6 +35,8 @@ #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h" #include "webrtc/modules/rtp_rtcp/source/time_util.h" #include "webrtc/system_wrappers/include/ntp_time.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc index a6ad770af7..d348d3a94a 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc @@ -10,14 +10,13 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/base/rate_limiter.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_sender.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_transport.h" #include "webrtc/test/rtcp_packet_parser.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_utility_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_utility_unittest.cc index 92239128d3..b433107098 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_utility_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_utility_unittest.cc @@ -8,11 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/base/checks.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc index fd00dc779a..c70f2cf51e 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc @@ -12,13 +12,13 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/basictypes.h" #include "webrtc/base/random.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" #include "webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc index a5650f60e4..81ff499f87 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc @@ -11,13 +11,13 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" +#include "webrtc/common_video/h264/h264_common.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" -#include "webrtc/common_video/h264/h264_common.h" #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8_unittest.cc index ccaf826457..ce39095350 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h" #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8_test_helper.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" #define CHECK_ARRAY_SIZE(expected_size, array) \ diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc index 6a9fe8bdea..2848ea0dd0 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc @@ -11,9 +11,9 @@ #include #include +#include "webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_header_extension_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_header_extension_unittest.cc index a8c7664720..9ced70da20 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_header_extension_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_header_extension_unittest.cc @@ -8,10 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc index ab9b9492d8..2a7caf188f 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc @@ -12,10 +12,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc index 2991aee822..a1f57ac156 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc @@ -10,11 +10,11 @@ #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" +#include "webrtc/base/random.h" +#include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" +#include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/base/random.h" -#include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" -#include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" using testing::ElementsAreArray; using testing::make_tuple; diff --git a/webrtc/modules/rtp_rtcp/source/rtp_payload_registry_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_payload_registry_unittest.cc index 98d074da66..fa2b3a811e 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_payload_registry_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_payload_registry_unittest.cc @@ -10,14 +10,13 @@ #include -#include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" - -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" +#include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h" #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc index 5049721bec..dc4c73eb6f 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc @@ -12,9 +12,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/base/rate_limiter.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" @@ -22,6 +19,8 @@ #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/rtcp_packet_parser.h" using ::testing::_; diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc index 0afa8177ed..22ad119c6f 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc @@ -11,8 +11,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/buffer.h" #include "webrtc/base/rate_limiter.h" #include "webrtc/call/mock/mock_rtc_event_log.h" @@ -28,6 +26,8 @@ #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" #include "webrtc/system_wrappers/include/stl_util.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_transport.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc b/webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc index 6edbdb3e22..a7f3f9a25e 100644 --- a/webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc @@ -13,7 +13,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/basictypes.h" #include "webrtc/base/checks.h" #include "webrtc/base/random.h" @@ -22,6 +21,7 @@ #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h" #include "webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator_unittest.cc b/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator_unittest.cc index eb35692870..6413d60fc0 100644 --- a/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator_unittest.cc @@ -10,8 +10,8 @@ #include // NULL -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h index cbc5f173f0..b0dd4055f3 100644 --- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h +++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h @@ -10,7 +10,6 @@ #ifndef WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_ #define WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_ -#include "webrtc/test/gtest.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" @@ -18,6 +17,7 @@ #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" +#include "webrtc/test/gtest.h" #include "webrtc/transport.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc index 7d72478df0..e2f4cfaf98 100644 --- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc +++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc @@ -11,15 +11,14 @@ #include #include #include -#include "webrtc/test/gtest.h" - -#include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" #include "webrtc/base/rate_limiter.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h" +#include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc index cea85dd679..ee0707a5dc 100644 --- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc +++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc @@ -12,8 +12,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/rate_limiter.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" @@ -21,6 +19,8 @@ #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h" #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc index 80ec4ce075..39d272684b 100644 --- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc +++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc @@ -14,7 +14,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/rate_limiter.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" @@ -23,6 +22,7 @@ #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" +#include "webrtc/test/gtest.h" namespace { diff --git a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc index 971ccc55f4..4aaae98852 100644 --- a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc +++ b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc @@ -18,11 +18,11 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" // #define VERBOSE_OUTPUT diff --git a/webrtc/modules/rtp_rtcp/test/testFec/test_packet_masks_metrics.cc b/webrtc/modules/rtp_rtcp/test/testFec/test_packet_masks_metrics.cc index edbe15f15e..7188e2215d 100644 --- a/webrtc/modules/rtp_rtcp/test/testFec/test_packet_masks_metrics.cc +++ b/webrtc/modules/rtp_rtcp/test/testFec/test_packet_masks_metrics.cc @@ -47,9 +47,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h" #include "webrtc/modules/rtp_rtcp/test/testFec/average_residual_loss_xor_codes.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/utility/source/audio_frame_operations_unittest.cc b/webrtc/modules/utility/source/audio_frame_operations_unittest.cc index 67ee7987bf..5842b90c0a 100644 --- a/webrtc/modules/utility/source/audio_frame_operations_unittest.cc +++ b/webrtc/modules/utility/source/audio_frame_operations_unittest.cc @@ -8,11 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - +#include "webrtc/base/checks.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/utility/include/audio_frame_operations.h" -#include "webrtc/base/checks.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/modules/utility/source/file_player_unittests.cc b/webrtc/modules/utility/source/file_player_unittests.cc index 8adbdd384b..cc7865d150 100644 --- a/webrtc/modules/utility/source/file_player_unittests.cc +++ b/webrtc/modules/utility/source/file_player_unittests.cc @@ -18,9 +18,9 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/md5digest.h" #include "webrtc/base/stringencode.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" DEFINE_bool(file_player_output, false, "Generate reference files."); diff --git a/webrtc/modules/utility/source/process_thread_impl_unittest.cc b/webrtc/modules/utility/source/process_thread_impl_unittest.cc index 567ed4b025..8f25b112a9 100644 --- a/webrtc/modules/utility/source/process_thread_impl_unittest.cc +++ b/webrtc/modules/utility/source/process_thread_impl_unittest.cc @@ -11,12 +11,12 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/task_queue.h" #include "webrtc/base/timeutils.h" #include "webrtc/modules/include/module.h" #include "webrtc/modules/utility/source/process_thread_impl.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_capture/test/video_capture_unittest.cc b/webrtc/modules/video_capture/test/video_capture_unittest.cc index 4cc06cfadf..0090006fea 100644 --- a/webrtc/modules/video_capture/test/video_capture_unittest.cc +++ b/webrtc/modules/video_capture/test/video_capture_unittest.cc @@ -14,7 +14,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/base/timeutils.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" @@ -24,6 +23,7 @@ #include "webrtc/system_wrappers/include/critical_section_wrapper.h" #include "webrtc/system_wrappers/include/sleep.h" #include "webrtc/test/frame_utils.h" +#include "webrtc/test/gtest.h" #include "webrtc/video_frame.h" using webrtc::CriticalSectionWrapper; diff --git a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc index 44a963e247..1c6bd273e4 100644 --- a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc +++ b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc @@ -11,10 +11,9 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/arraysize.h" #include "webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h" +#include "webrtc/test/gtest.h" #if defined(WEBRTC_VIDEO_TOOLBOX_SUPPORTED) diff --git a/webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h b/webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h index c40993d65c..e58da7920b 100644 --- a/webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h +++ b/webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h @@ -16,8 +16,8 @@ #include #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gmock.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/codecs/test/packet_manipulator_unittest.cc b/webrtc/modules/video_coding/codecs/test/packet_manipulator_unittest.cc index 3b9b17eecc..69598e26a7 100644 --- a/webrtc/modules/video_coding/codecs/test/packet_manipulator_unittest.cc +++ b/webrtc/modules/video_coding/codecs/test/packet_manipulator_unittest.cc @@ -12,9 +12,9 @@ #include -#include "webrtc/test/gtest.h" -#include "webrtc/modules/video_coding/include/video_codec_interface.h" #include "webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.h" +#include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/unittest_utils.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc index 3d54d5db74..5ca9e55ab3 100644 --- a/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc +++ b/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc @@ -10,16 +10,15 @@ #include -#include "webrtc/test/gtest.h" - -#include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/modules/video_coding/codecs/h264/include/h264.h" #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" -#include "webrtc/modules/video_coding/codecs/h264/include/h264.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" +#include "webrtc/modules/video_coding/include/video_codec_interface.h" #include "webrtc/modules/video_coding/include/video_coding.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/frame_reader.h" #include "webrtc/test/testsupport/frame_writer.h" diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc index 92445d6fe8..9d6e5762a4 100644 --- a/webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc +++ b/webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc @@ -8,12 +8,12 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" -#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/codecs/test/mock/mock_packet_manipulator.h" #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" +#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/include/video_coding.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/mock/mock_frame_reader.h" #include "webrtc/test/testsupport/mock/mock_frame_writer.h" #include "webrtc/test/testsupport/packet_reader.h" diff --git a/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc index 2290fe3e4b..1e36c44810 100644 --- a/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc +++ b/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc @@ -8,12 +8,11 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" -#include "webrtc/modules/video_coding/include/video_codec_interface.h" -#include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h" - -#include "vpx/vpx_encoder.h" #include "vpx/vp8cx.h" +#include "vpx/vpx_encoder.h" +#include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h" +#include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/codecs/vp8/reference_picture_selection_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/reference_picture_selection_unittest.cc index 082634fa10..fcae60e0fa 100644 --- a/webrtc/modules/video_coding/codecs/vp8/reference_picture_selection_unittest.cc +++ b/webrtc/modules/video_coding/codecs/vp8/reference_picture_selection_unittest.cc @@ -8,10 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" -#include "vpx/vpx_encoder.h" #include "vpx/vp8cx.h" +#include "vpx/vpx_encoder.h" #include "webrtc/modules/video_coding/codecs/vp8/reference_picture_selection.h" +#include "webrtc/test/gtest.h" using webrtc::ReferencePictureSelection; diff --git a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc index b6ffcbaa33..e6316d6af9 100644 --- a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc +++ b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc @@ -11,15 +11,15 @@ #include #include -#include "webrtc/test/gtest.h" -#include "vpx/vpx_encoder.h" #include "vpx/vp8cx.h" -#include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "vpx/vpx_encoder.h" #include "webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h" +#include "webrtc/modules/video_coding/include/video_codec_interface.h" #include "webrtc/modules/video_coding/utility/mock/mock_frame_dropper.h" #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::NiceMock; diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc index 1fa06f693a..0ccbb54855 100644 --- a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc +++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc @@ -11,10 +11,10 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/modules/video_coding/include/video_codec_interface.h" #include "webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h" #include "webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h" +#include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gmock.h" namespace webrtc { namespace testing { diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h b/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h index cc14819874..e2d5bb8738 100644 --- a/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h +++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h @@ -15,12 +15,12 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" -#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" +#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" +#include "webrtc/test/gtest.h" #include "webrtc/video_frame.h" using ::testing::_; diff --git a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc index 40203a4d75..5616c92c49 100644 --- a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc +++ b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc @@ -12,12 +12,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/base/timeutils.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" #include "webrtc/test/frame_utils.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc index 8eb091e291..006ff65eee 100644 --- a/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc +++ b/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc @@ -10,12 +10,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/base/timeutils.h" #include "webrtc/common_video/include/video_image.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/metrics/video_metrics.h" #include "webrtc/tools/simple_command_line_parser.h" diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc index 7038a192f4..eaced9d97b 100644 --- a/webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc +++ b/webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc @@ -11,12 +11,12 @@ #include #include -#include "webrtc/test/gtest.h" #include "vpx/vp8cx.h" #include "webrtc/base/logging.h" #include "webrtc/modules/video_coding/codecs/vp9/screenshare_layers.h" #include "webrtc/modules/video_coding/codecs/vp9/vp9_impl.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/decoding_state_unittest.cc b/webrtc/modules/video_coding/decoding_state_unittest.cc index 5d9733ce68..c147354a6f 100644 --- a/webrtc/modules/video_coding/decoding_state_unittest.cc +++ b/webrtc/modules/video_coding/decoding_state_unittest.cc @@ -10,12 +10,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/video_coding/decoding_state.h" #include "webrtc/modules/video_coding/frame_buffer.h" #include "webrtc/modules/video_coding/jitter_buffer_common.h" #include "webrtc/modules/video_coding/packet.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/frame_buffer2_unittest.cc b/webrtc/modules/video_coding/frame_buffer2_unittest.cc index 1397aebb32..7f8ac67440 100644 --- a/webrtc/modules/video_coding/frame_buffer2_unittest.cc +++ b/webrtc/modules/video_coding/frame_buffer2_unittest.cc @@ -15,8 +15,6 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/platform_thread.h" #include "webrtc/base/random.h" #include "webrtc/modules/video_coding/frame_object.h" @@ -24,6 +22,8 @@ #include "webrtc/modules/video_coding/sequence_number_util.h" #include "webrtc/modules/video_coding/timing.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace video_coding { diff --git a/webrtc/modules/video_coding/histogram_unittest.cc b/webrtc/modules/video_coding/histogram_unittest.cc index c1089ba7f2..953f7db947 100644 --- a/webrtc/modules/video_coding/histogram_unittest.cc +++ b/webrtc/modules/video_coding/histogram_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_coding/histogram.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace video_coding { diff --git a/webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h b/webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h index 3aefea34b1..35362b9616 100644 --- a/webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h +++ b/webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h @@ -11,8 +11,8 @@ #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VCM_CALLBACKS_H_ #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VCM_CALLBACKS_H_ -#include "webrtc/test/gmock.h" #include "webrtc/modules/video_coding/include/video_coding_defines.h" +#include "webrtc/test/gmock.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h b/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h index c6665d73ab..ce024973cf 100644 --- a/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h +++ b/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h @@ -14,8 +14,8 @@ #include #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gmock.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/jitter_buffer_unittest.cc b/webrtc/modules/video_coding/jitter_buffer_unittest.cc index c7108c11d8..f2e5f10deb 100644 --- a/webrtc/modules/video_coding/jitter_buffer_unittest.cc +++ b/webrtc/modules/video_coding/jitter_buffer_unittest.cc @@ -13,8 +13,6 @@ #include #include -#include "webrtc/test/gtest.h" -#include "webrtc/test/gmock.h" #include "webrtc/modules/video_coding/frame_buffer.h" #include "webrtc/modules/video_coding/jitter_buffer.h" #include "webrtc/modules/video_coding/media_opt_util.h" @@ -26,6 +24,8 @@ #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" #include "webrtc/test/field_trial.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/jitter_estimator_tests.cc b/webrtc/modules/video_coding/jitter_estimator_tests.cc index 1a9afbf820..e2fd9f758a 100644 --- a/webrtc/modules/video_coding/jitter_estimator_tests.cc +++ b/webrtc/modules/video_coding/jitter_estimator_tests.cc @@ -9,8 +9,8 @@ #include "webrtc/modules/video_coding/jitter_estimator.h" -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/nack_module_unittest.cc b/webrtc/modules/video_coding/nack_module_unittest.cc index b11a4ad473..fb7d0955de 100644 --- a/webrtc/modules/video_coding/nack_module_unittest.cc +++ b/webrtc/modules/video_coding/nack_module_unittest.cc @@ -11,10 +11,10 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_coding/include/video_coding_defines.h" #include "webrtc/modules/video_coding/nack_module.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { class TestNackModule : public ::testing::Test, diff --git a/webrtc/modules/video_coding/percentile_filter_unittest.cc b/webrtc/modules/video_coding/percentile_filter_unittest.cc index 1e1fa96cfb..56cd99b39d 100644 --- a/webrtc/modules/video_coding/percentile_filter_unittest.cc +++ b/webrtc/modules/video_coding/percentile_filter_unittest.cc @@ -10,9 +10,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/constructormagic.h" #include "webrtc/modules/video_coding/percentile_filter.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/protection_bitrate_calculator_unittest.cc b/webrtc/modules/video_coding/protection_bitrate_calculator_unittest.cc index b442bba6b2..718929cafd 100644 --- a/webrtc/modules/video_coding/protection_bitrate_calculator_unittest.cc +++ b/webrtc/modules/video_coding/protection_bitrate_calculator_unittest.cc @@ -8,9 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_coding/protection_bitrate_calculator.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/receiver_unittest.cc b/webrtc/modules/video_coding/receiver_unittest.cc index 86ce036b4f..1fdbefd998 100644 --- a/webrtc/modules/video_coding/receiver_unittest.cc +++ b/webrtc/modules/video_coding/receiver_unittest.cc @@ -14,16 +14,16 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/modules/video_coding/encoded_frame.h" #include "webrtc/modules/video_coding/packet.h" #include "webrtc/modules/video_coding/receiver.h" #include "webrtc/modules/video_coding/test/stream_generator.h" -#include "webrtc/modules/video_coding/timing.h" #include "webrtc/modules/video_coding/test/test_util.h" +#include "webrtc/modules/video_coding/timing.h" #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/critical_section_wrapper.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc b/webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc index 606295fbc9..5fcb4425aa 100644 --- a/webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc +++ b/webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc @@ -14,12 +14,12 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/base/refcount.h" #include "webrtc/modules/video_coding/frame_object.h" #include "webrtc/modules/video_coding/packet_buffer.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace video_coding { diff --git a/webrtc/modules/video_coding/sequence_number_util_unittest.cc b/webrtc/modules/video_coding/sequence_number_util_unittest.cc index 41743358f3..1ed78b95b8 100644 --- a/webrtc/modules/video_coding/sequence_number_util_unittest.cc +++ b/webrtc/modules/video_coding/sequence_number_util_unittest.cc @@ -10,8 +10,8 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_coding/sequence_number_util.h" +#include "webrtc/test/gtest.h" namespace webrtc { class TestSeqNumUtil : public ::testing::Test { diff --git a/webrtc/modules/video_coding/session_info_unittest.cc b/webrtc/modules/video_coding/session_info_unittest.cc index 25d359a8cb..2cefc06581 100644 --- a/webrtc/modules/video_coding/session_info_unittest.cc +++ b/webrtc/modules/video_coding/session_info_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/video_coding/packet.h" #include "webrtc/modules/video_coding/session_info.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/test/stream_generator.cc b/webrtc/modules/video_coding/test/stream_generator.cc index b9bd51a2a3..a33ec9a432 100644 --- a/webrtc/modules/video_coding/test/stream_generator.cc +++ b/webrtc/modules/video_coding/test/stream_generator.cc @@ -14,10 +14,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_coding/packet.h" #include "webrtc/modules/video_coding/test/test_util.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/timing_unittest.cc b/webrtc/modules/video_coding/timing_unittest.cc index 88fb3d71a8..3aaa46d65d 100644 --- a/webrtc/modules/video_coding/timing_unittest.cc +++ b/webrtc/modules/video_coding/timing_unittest.cc @@ -12,14 +12,13 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/modules/video_coding/include/video_coding.h" #include "webrtc/modules/video_coding/internal_defines.h" -#include "webrtc/modules/video_coding/timing.h" #include "webrtc/modules/video_coding/test/test_util.h" +#include "webrtc/modules/video_coding/timing.h" #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/utility/frame_dropper_unittest.cc b/webrtc/modules/video_coding/utility/frame_dropper_unittest.cc index b5e2f45971..eec3d6065a 100644 --- a/webrtc/modules/video_coding/utility/frame_dropper_unittest.cc +++ b/webrtc/modules/video_coding/utility/frame_dropper_unittest.cc @@ -10,8 +10,8 @@ #include "webrtc/modules/video_coding/utility/frame_dropper.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/logging.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/utility/ivf_file_writer_unittest.cc b/webrtc/modules/video_coding/utility/ivf_file_writer_unittest.cc index e4017d191b..cb5c97b870 100644 --- a/webrtc/modules/video_coding/utility/ivf_file_writer_unittest.cc +++ b/webrtc/modules/video_coding/utility/ivf_file_writer_unittest.cc @@ -12,12 +12,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/helpers.h" #include "webrtc/base/logging.h" #include "webrtc/base/thread.h" #include "webrtc/base/timeutils.h" #include "webrtc/modules/rtp_rtcp/source/byte_io.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/utility/mock/mock_frame_dropper.h b/webrtc/modules/video_coding/utility/mock/mock_frame_dropper.h index d339922ab4..c5521b88d1 100644 --- a/webrtc/modules/video_coding/utility/mock/mock_frame_dropper.h +++ b/webrtc/modules/video_coding/utility/mock/mock_frame_dropper.h @@ -12,8 +12,8 @@ #include -#include "webrtc/test/gmock.h" #include "webrtc/modules/video_coding/utility/frame_dropper.h" +#include "webrtc/test/gmock.h" #include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/video_coding_robustness_unittest.cc b/webrtc/modules/video_coding/video_coding_robustness_unittest.cc index fd3b50be10..f407ba2094 100644 --- a/webrtc/modules/video_coding/video_coding_robustness_unittest.cc +++ b/webrtc/modules/video_coding/video_coding_robustness_unittest.cc @@ -10,13 +10,13 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" -#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h" +#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/include/video_coding.h" #include "webrtc/modules/video_coding/test/test_util.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/modules/video_coding/video_packet_buffer_unittest.cc b/webrtc/modules/video_coding/video_packet_buffer_unittest.cc index 53b7a573d9..7905e855b4 100644 --- a/webrtc/modules/video_coding/video_packet_buffer_unittest.cc +++ b/webrtc/modules/video_coding/video_packet_buffer_unittest.cc @@ -13,11 +13,11 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/modules/video_coding/frame_object.h" #include "webrtc/modules/video_coding/packet_buffer.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace video_coding { diff --git a/webrtc/modules/video_coding/video_receiver_unittest.cc b/webrtc/modules/video_coding/video_receiver_unittest.cc index f3c1ccc009..81f74fbc23 100644 --- a/webrtc/modules/video_coding/video_receiver_unittest.cc +++ b/webrtc/modules/video_coding/video_receiver_unittest.cc @@ -11,13 +11,13 @@ #include #include -#include "webrtc/test/gtest.h" -#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h" +#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/include/video_coding.h" -#include "webrtc/modules/video_coding/video_coding_impl.h" #include "webrtc/modules/video_coding/test/test_util.h" +#include "webrtc/modules/video_coding/video_coding_impl.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::NiceMock; diff --git a/webrtc/modules/video_coding/video_sender_unittest.cc b/webrtc/modules/video_coding/video_sender_unittest.cc index b5ffabf3e1..e32cdacdb1 100644 --- a/webrtc/modules/video_coding/video_sender_unittest.cc +++ b/webrtc/modules/video_coding/video_sender_unittest.cc @@ -11,17 +11,17 @@ #include #include -#include "webrtc/test/gtest.h" -#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" #include "webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h" +#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" #include "webrtc/modules/video_coding/include/video_coding.h" -#include "webrtc/modules/video_coding/video_coding_impl.h" #include "webrtc/modules/video_coding/test/test_util.h" +#include "webrtc/modules/video_coding/video_coding_impl.h" #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/test/frame_generator.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" using ::testing::_; diff --git a/webrtc/modules/video_processing/test/video_processing_unittest.h b/webrtc/modules/video_processing/test/video_processing_unittest.h index 92e91380e7..5a737acefe 100644 --- a/webrtc/modules/video_processing/test/video_processing_unittest.h +++ b/webrtc/modules/video_processing/test/video_processing_unittest.h @@ -13,9 +13,9 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_processing/include/video_processing.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/condition_variable_unittest.cc b/webrtc/system_wrappers/source/condition_variable_unittest.cc index ac61b5c3fa..67e473e2fb 100644 --- a/webrtc/system_wrappers/source/condition_variable_unittest.cc +++ b/webrtc/system_wrappers/source/condition_variable_unittest.cc @@ -13,13 +13,12 @@ // platforms. #if defined(WEBRTC_WIN) -#include "webrtc/system_wrappers/source/condition_variable_event_win.h" - -#include "webrtc/test/gtest.h" #include "webrtc/base/platform_thread.h" #include "webrtc/base/timeutils.h" #include "webrtc/system_wrappers/include/critical_section_wrapper.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/system_wrappers/source/condition_variable_event_win.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/critical_section_unittest.cc b/webrtc/system_wrappers/source/critical_section_unittest.cc index 0e9f8c82a0..6d73242f6a 100644 --- a/webrtc/system_wrappers/source/critical_section_unittest.cc +++ b/webrtc/system_wrappers/source/critical_section_unittest.cc @@ -10,10 +10,10 @@ #include "webrtc/system_wrappers/include/critical_section_wrapper.h" -#include "webrtc/test/gtest.h" -#include "webrtc/system_wrappers/include/sleep.h" #include "webrtc/base/platform_thread.h" +#include "webrtc/system_wrappers/include/sleep.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/data_log_unittest.cc b/webrtc/system_wrappers/source/data_log_unittest.cc index 8fb01bca27..da3cea3fe2 100644 --- a/webrtc/system_wrappers/source/data_log_unittest.cc +++ b/webrtc/system_wrappers/source/data_log_unittest.cc @@ -13,9 +13,9 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/data_log_c.h" #include "webrtc/system_wrappers/source/data_log_c_helpers_unittest.h" +#include "webrtc/test/gtest.h" using ::webrtc::DataLog; diff --git a/webrtc/system_wrappers/source/event_timer_posix_unittest.cc b/webrtc/system_wrappers/source/event_timer_posix_unittest.cc index 47ef47e8ff..f5b3de40b8 100644 --- a/webrtc/system_wrappers/source/event_timer_posix_unittest.cc +++ b/webrtc/system_wrappers/source/event_timer_posix_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/system_wrappers/source/event_timer_posix.h" -#include "webrtc/test/gtest.h" -#include "webrtc/base/event.h" #include "webrtc/base/criticalsection.h" +#include "webrtc/base/event.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/logging_unittest.cc b/webrtc/system_wrappers/source/logging_unittest.cc index b7318da1ad..6be4da10e1 100644 --- a/webrtc/system_wrappers/source/logging_unittest.cc +++ b/webrtc/system_wrappers/source/logging_unittest.cc @@ -10,10 +10,10 @@ #include "webrtc/system_wrappers/include/logging.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/arraysize.h" #include "webrtc/base/event.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/system_wrappers/source/metrics_default_unittest.cc b/webrtc/system_wrappers/source/metrics_default_unittest.cc index 4ffb4c264a..c2eefe5563 100644 --- a/webrtc/system_wrappers/source/metrics_default_unittest.cc +++ b/webrtc/system_wrappers/source/metrics_default_unittest.cc @@ -8,10 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/metrics_unittest.cc b/webrtc/system_wrappers/source/metrics_unittest.cc index 54942241d9..95f5554275 100644 --- a/webrtc/system_wrappers/source/metrics_unittest.cc +++ b/webrtc/system_wrappers/source/metrics_unittest.cc @@ -8,10 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/system_wrappers/source/ntp_time_unittest.cc b/webrtc/system_wrappers/source/ntp_time_unittest.cc index 50943aede2..a5057897d8 100644 --- a/webrtc/system_wrappers/source/ntp_time_unittest.cc +++ b/webrtc/system_wrappers/source/ntp_time_unittest.cc @@ -8,9 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" - #include "webrtc/system_wrappers/include/ntp_time.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/system_wrappers/source/rtp_to_ntp_unittest.cc b/webrtc/system_wrappers/source/rtp_to_ntp_unittest.cc index ce1f26d4aa..5ba3353f43 100644 --- a/webrtc/system_wrappers/source/rtp_to_ntp_unittest.cc +++ b/webrtc/system_wrappers/source/rtp_to_ntp_unittest.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/rtp_to_ntp.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/test/configurable_frame_size_encoder.cc b/webrtc/test/configurable_frame_size_encoder.cc index 1453418c11..9cb0c871ae 100644 --- a/webrtc/test/configurable_frame_size_encoder.cc +++ b/webrtc/test/configurable_frame_size_encoder.cc @@ -12,10 +12,9 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/common_video/include/video_image.h" #include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/test/direct_transport.cc b/webrtc/test/direct_transport.cc index 28a67a4bd6..18d3ee6362 100644 --- a/webrtc/test/direct_transport.cc +++ b/webrtc/test/direct_transport.cc @@ -9,10 +9,9 @@ */ #include "webrtc/test/direct_transport.h" -#include "webrtc/test/gtest.h" - #include "webrtc/call.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/test/fake_audio_device.cc b/webrtc/test/fake_audio_device.cc index 220755f02e..9e5e95fb0d 100644 --- a/webrtc/test/fake_audio_device.cc +++ b/webrtc/test/fake_audio_device.cc @@ -12,12 +12,12 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/platform_thread.h" #include "webrtc/modules/media_file/media_file_utility.h" #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/file_wrapper.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/test/fake_encoder.cc b/webrtc/test/fake_encoder.cc index 3a9ae4ec3c..ac1c6dec69 100644 --- a/webrtc/test/fake_encoder.cc +++ b/webrtc/test/fake_encoder.cc @@ -12,11 +12,10 @@ #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/checks.h" #include "webrtc/modules/video_coding/include/video_codec_interface.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace test { diff --git a/webrtc/test/fake_network_pipe_unittest.cc b/webrtc/test/fake_network_pipe_unittest.cc index fa58bf5174..7374bb1405 100644 --- a/webrtc/test/fake_network_pipe_unittest.cc +++ b/webrtc/test/fake_network_pipe_unittest.cc @@ -10,12 +10,11 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/call.h" #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/test/fake_network_pipe.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" using ::testing::_; using ::testing::AnyNumber; diff --git a/webrtc/test/frame_generator_unittest.cc b/webrtc/test/frame_generator_unittest.cc index 4b90458882..843a4c348c 100644 --- a/webrtc/test/frame_generator_unittest.cc +++ b/webrtc/test/frame_generator_unittest.cc @@ -13,8 +13,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/test/frame_generator.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" namespace webrtc { diff --git a/webrtc/test/mock_voe_channel_proxy.h b/webrtc/test/mock_voe_channel_proxy.h index 40fee1beb0..1847cf4711 100644 --- a/webrtc/test/mock_voe_channel_proxy.h +++ b/webrtc/test/mock_voe_channel_proxy.h @@ -12,6 +12,7 @@ #define WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ #include + #include "webrtc/test/gmock.h" #include "webrtc/voice_engine/channel_proxy.h" diff --git a/webrtc/test/rtp_file_reader_unittest.cc b/webrtc/test/rtp_file_reader_unittest.cc index 0a0d676531..a9cd09879e 100644 --- a/webrtc/test/rtp_file_reader_unittest.cc +++ b/webrtc/test/rtp_file_reader_unittest.cc @@ -11,8 +11,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/rtp_file_reader.h" #include "webrtc/test/testsupport/fileutils.h" diff --git a/webrtc/test/rtp_rtcp_observer.h b/webrtc/test/rtp_rtcp_observer.h index 72bcdda7a9..63e97be4dd 100644 --- a/webrtc/test/rtp_rtcp_observer.h +++ b/webrtc/test/rtp_rtcp_observer.h @@ -14,13 +14,12 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/criticalsection.h" #include "webrtc/base/event.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" #include "webrtc/test/constants.h" #include "webrtc/test/direct_transport.h" +#include "webrtc/test/gtest.h" #include "webrtc/typedefs.h" #include "webrtc/video_send_stream.h" diff --git a/webrtc/test/test_main.cc b/webrtc/test/test_main.cc index df7a82fb0c..b75e78c9dd 100644 --- a/webrtc/test/test_main.cc +++ b/webrtc/test/test_main.cc @@ -9,10 +9,10 @@ */ #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/logging.h" #include "webrtc/system_wrappers/include/metrics_default.h" #include "webrtc/test/field_trial.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" DEFINE_string(force_fieldtrials, "", diff --git a/webrtc/test/test_suite.cc b/webrtc/test/test_suite.cc index 174de020fd..e7adfc8ec5 100644 --- a/webrtc/test/test_suite.cc +++ b/webrtc/test/test_suite.cc @@ -11,13 +11,13 @@ #include "webrtc/test/test_suite.h" #include "gflags/gflags.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/logging.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/field_trial.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/trace_to_stderr.h" -#include "webrtc/test/field_trial.h" DEFINE_bool(logs, false, "print logs to stderr"); diff --git a/webrtc/tools/agc/activity_metric.cc b/webrtc/tools/agc/activity_metric.cc index 7eac140a48..a98730a342 100644 --- a/webrtc/tools/agc/activity_metric.cc +++ b/webrtc/tools/agc/activity_metric.cc @@ -17,15 +17,15 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/agc/agc.h" #include "webrtc/modules/audio_processing/agc/loudness_histogram.h" #include "webrtc/modules/audio_processing/agc/utility.h" -#include "webrtc/modules/audio_processing/vad/vad_audio_proc.h" #include "webrtc/modules/audio_processing/vad/common.h" #include "webrtc/modules/audio_processing/vad/pitch_based_vad.h" #include "webrtc/modules/audio_processing/vad/standalone_vad.h" +#include "webrtc/modules/audio_processing/vad/vad_audio_proc.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" static const int kAgcAnalWindowSamples = 100; static const double kDefaultActivityThreshold = 0.3; diff --git a/webrtc/tools/frame_editing/frame_editing_unittest.cc b/webrtc/tools/frame_editing/frame_editing_unittest.cc index c06829641b..d61ec00bd7 100644 --- a/webrtc/tools/frame_editing/frame_editing_unittest.cc +++ b/webrtc/tools/frame_editing/frame_editing_unittest.cc @@ -14,8 +14,8 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/tools/frame_editing/frame_editing_lib.h" diff --git a/webrtc/video/call_stats_unittest.cc b/webrtc/video/call_stats_unittest.cc index 7f98c91876..8a2a89a7c6 100644 --- a/webrtc/video/call_stats_unittest.cc +++ b/webrtc/video/call_stats_unittest.cc @@ -10,12 +10,11 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/video/call_stats.h" using ::testing::_; diff --git a/webrtc/video/encoder_state_feedback_unittest.cc b/webrtc/video/encoder_state_feedback_unittest.cc index fb9cf0c92e..958977ad3a 100644 --- a/webrtc/video/encoder_state_feedback_unittest.cc +++ b/webrtc/video/encoder_state_feedback_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/video/encoder_state_feedback.h" +#include "webrtc/modules/utility/include/mock/mock_process_thread.h" #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" -#include "webrtc/modules/utility/include/mock/mock_process_thread.h" #include "webrtc/video/vie_encoder.h" using ::testing::NiceMock; diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc index 4758817336..b9c1c2893e 100644 --- a/webrtc/video/end_to_end_tests.cc +++ b/webrtc/video/end_to_end_tests.cc @@ -15,8 +15,6 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/checks.h" #include "webrtc/base/event.h" #include "webrtc/base/file.h" @@ -47,6 +45,7 @@ #include "webrtc/test/fake_encoder.h" #include "webrtc/test/frame_generator.h" #include "webrtc/test/frame_generator_capturer.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/null_transport.h" #include "webrtc/test/rtcp_packet_parser.h" #include "webrtc/test/rtp_rtcp_observer.h" diff --git a/webrtc/video/overuse_frame_detector_unittest.cc b/webrtc/video/overuse_frame_detector_unittest.cc index 7f69ac00c9..64747fa684 100644 --- a/webrtc/video/overuse_frame_detector_unittest.cc +++ b/webrtc/video/overuse_frame_detector_unittest.cc @@ -10,13 +10,11 @@ #include -#include "webrtc/video/overuse_frame_detector.h" - -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - #include "webrtc/base/event.h" #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" +#include "webrtc/video/overuse_frame_detector.h" #include "webrtc/video_frame.h" namespace webrtc { diff --git a/webrtc/video/payload_router_unittest.cc b/webrtc/video/payload_router_unittest.cc index ed8af9f90f..5b87554a54 100644 --- a/webrtc/video/payload_router_unittest.cc +++ b/webrtc/video/payload_router_unittest.cc @@ -10,11 +10,11 @@ #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" #include "webrtc/modules/video_coding/include/video_codec_interface.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/video/payload_router.h" using ::testing::_; diff --git a/webrtc/video/replay.cc b/webrtc/video/replay.cc index 90bfc337ca..d88d6b394e 100644 --- a/webrtc/video/replay.cc +++ b/webrtc/video/replay.cc @@ -15,8 +15,6 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" - #include "webrtc/base/checks.h" #include "webrtc/call.h" #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" @@ -24,8 +22,9 @@ #include "webrtc/system_wrappers/include/clock.h" #include "webrtc/system_wrappers/include/sleep.h" #include "webrtc/test/encoder_settings.h" -#include "webrtc/test/null_transport.h" #include "webrtc/test/fake_decoder.h" +#include "webrtc/test/gtest.h" +#include "webrtc/test/null_transport.h" #include "webrtc/test/rtp_file_reader.h" #include "webrtc/test/run_loop.h" #include "webrtc/test/run_test.h" diff --git a/webrtc/video/report_block_stats_unittest.cc b/webrtc/video/report_block_stats_unittest.cc index 557f1f2a3b..d9863a712f 100644 --- a/webrtc/video/report_block_stats_unittest.cc +++ b/webrtc/video/report_block_stats_unittest.cc @@ -9,7 +9,6 @@ */ #include "webrtc/test/gtest.h" - #include "webrtc/video/report_block_stats.h" namespace webrtc { diff --git a/webrtc/video/screenshare_loopback.cc b/webrtc/video/screenshare_loopback.cc index b2e68beb49..65b51f77de 100644 --- a/webrtc/video/screenshare_loopback.cc +++ b/webrtc/video/screenshare_loopback.cc @@ -11,9 +11,8 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" - #include "webrtc/test/field_trial.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/run_test.h" #include "webrtc/video/video_quality_test.h" diff --git a/webrtc/video/send_delay_stats_unittest.cc b/webrtc/video/send_delay_stats_unittest.cc index 811d63b49c..0644ad2e7c 100644 --- a/webrtc/video/send_delay_stats_unittest.cc +++ b/webrtc/video/send_delay_stats_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/video/send_delay_stats.h" -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/video/send_statistics_proxy_unittest.cc b/webrtc/video/send_statistics_proxy_unittest.cc index f5bfaebd4c..46a984b414 100644 --- a/webrtc/video/send_statistics_proxy_unittest.cc +++ b/webrtc/video/send_statistics_proxy_unittest.cc @@ -15,9 +15,9 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/metrics_default.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/video/stats_counter_unittest.cc b/webrtc/video/stats_counter_unittest.cc index b906532bb7..e04b47fe86 100644 --- a/webrtc/video/stats_counter_unittest.cc +++ b/webrtc/video/stats_counter_unittest.cc @@ -10,9 +10,8 @@ #include "webrtc/video/stats_counter.h" -#include "webrtc/test/gtest.h" - #include "webrtc/system_wrappers/include/clock.h" +#include "webrtc/test/gtest.h" namespace webrtc { namespace { diff --git a/webrtc/video/video_decoder_unittest.cc b/webrtc/video/video_decoder_unittest.cc index 07bce411bb..5b4d431da3 100644 --- a/webrtc/video/video_decoder_unittest.cc +++ b/webrtc/video/video_decoder_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/video_decoder.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/modules/video_coding/include/video_error_codes.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/video/video_encoder_unittest.cc b/webrtc/video/video_encoder_unittest.cc index e1cfd233c6..5f6f17e7b4 100644 --- a/webrtc/video/video_encoder_unittest.cc +++ b/webrtc/video/video_encoder_unittest.cc @@ -10,9 +10,9 @@ #include "webrtc/video_encoder.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/video_coding/include/video_codec_interface.h" #include "webrtc/modules/video_coding/include/video_error_codes.h" +#include "webrtc/test/gtest.h" namespace webrtc { diff --git a/webrtc/video/video_loopback.cc b/webrtc/video/video_loopback.cc index 9b4f784698..3de0b1411e 100644 --- a/webrtc/video/video_loopback.cc +++ b/webrtc/video/video_loopback.cc @@ -11,9 +11,8 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" - #include "webrtc/test/field_trial.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/run_test.h" #include "webrtc/video/video_quality_test.h" diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc index 6186aaf085..41054db900 100644 --- a/webrtc/video/video_quality_test.cc +++ b/webrtc/video/video_quality_test.cc @@ -17,7 +17,6 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/checks.h" #include "webrtc/base/event.h" #include "webrtc/base/format_macros.h" @@ -29,6 +28,7 @@ #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" #include "webrtc/system_wrappers/include/cpu_info.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/layer_filtering_transport.h" #include "webrtc/test/run_loop.h" #include "webrtc/test/statistics.h" diff --git a/webrtc/video/video_send_stream_tests.cc b/webrtc/video/video_send_stream_tests.cc index cce29558f1..abfa511ebf 100644 --- a/webrtc/video/video_send_stream_tests.cc +++ b/webrtc/video/video_send_stream_tests.cc @@ -11,8 +11,6 @@ #include #include -#include "webrtc/test/gtest.h" - #include "webrtc/base/bind.h" #include "webrtc/base/checks.h" #include "webrtc/base/criticalsection.h" @@ -35,6 +33,7 @@ #include "webrtc/test/fake_texture_frame.h" #include "webrtc/test/frame_generator.h" #include "webrtc/test/frame_utils.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/null_transport.h" #include "webrtc/test/testsupport/perf_test.h" #include "webrtc/video/send_statistics_proxy.h" diff --git a/webrtc/video/vie_encoder_unittest.cc b/webrtc/video/vie_encoder_unittest.cc index 00e6cefa6a..ae8fc663b5 100644 --- a/webrtc/video/vie_encoder_unittest.cc +++ b/webrtc/video/vie_encoder_unittest.cc @@ -10,11 +10,11 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/logging.h" #include "webrtc/test/encoder_settings.h" #include "webrtc/test/fake_encoder.h" #include "webrtc/test/frame_generator.h" +#include "webrtc/test/gtest.h" #include "webrtc/video/send_statistics_proxy.h" #include "webrtc/video/vie_encoder.h" diff --git a/webrtc/video/vie_remb_unittest.cc b/webrtc/video/vie_remb_unittest.cc index f3f4edddcf..46ede3f9b5 100644 --- a/webrtc/video/vie_remb_unittest.cc +++ b/webrtc/video/vie_remb_unittest.cc @@ -11,11 +11,11 @@ #include #include -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" #include "webrtc/modules/utility/include/mock/mock_process_thread.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/video/vie_remb.h" using ::testing::_; diff --git a/webrtc/voice_engine/network_predictor_unittest.cc b/webrtc/voice_engine/network_predictor_unittest.cc index 22f9d3a868..9012379c75 100644 --- a/webrtc/voice_engine/network_predictor_unittest.cc +++ b/webrtc/voice_engine/network_predictor_unittest.cc @@ -12,9 +12,9 @@ #include +#include "webrtc/system_wrappers/include/clock.h" #include "webrtc/test/gtest.h" #include "webrtc/voice_engine/network_predictor.h" -#include "webrtc/system_wrappers/include/clock.h" namespace webrtc { namespace voe { diff --git a/webrtc/voice_engine/test/auto_test/fakes/conference_transport.h b/webrtc/voice_engine/test/auto_test/fakes/conference_transport.h index c0f563add2..d8a5a49bb7 100644 --- a/webrtc/voice_engine/test/auto_test/fakes/conference_transport.h +++ b/webrtc/voice_engine/test/auto_test/fakes/conference_transport.h @@ -16,13 +16,13 @@ #include #include -#include "webrtc/test/gtest.h" #include "webrtc/base/basictypes.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/platform_thread.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" #include "webrtc/system_wrappers/include/event_wrapper.h" +#include "webrtc/test/gtest.h" #include "webrtc/voice_engine/include/voe_base.h" #include "webrtc/voice_engine/include/voe_codec.h" #include "webrtc/voice_engine/include/voe_file.h" diff --git a/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h b/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h index 75f48b2c2a..7280a3a343 100644 --- a/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h +++ b/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h @@ -13,6 +13,8 @@ #include "webrtc/common_types.h" #include "webrtc/engine_configurations.h" +#include "webrtc/test/gmock.h" +#include "webrtc/test/gtest.h" #include "webrtc/voice_engine/include/voe_audio_processing.h" #include "webrtc/voice_engine/include/voe_base.h" #include "webrtc/voice_engine/include/voe_codec.h" @@ -27,9 +29,6 @@ #include "webrtc/voice_engine/include/voe_volume_control.h" #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" -#include "webrtc/test/gmock.h" -#include "webrtc/test/gtest.h" - // This convenient fixture sets up all voice engine interfaces automatically for // use by testing subclasses. It allocates each interface and releases it once // which means that if a tests allocates additional interfaces from the voice diff --git a/webrtc/voice_engine/test/auto_test/voe_conference_test.cc b/webrtc/voice_engine/test/auto_test/voe_conference_test.cc index 770df033a4..9c4d204925 100644 --- a/webrtc/voice_engine/test/auto_test/voe_conference_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_conference_test.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/format_macros.h" #include "webrtc/base/timeutils.h" #include "webrtc/system_wrappers/include/sleep.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/voice_engine/test/auto_test/fakes/conference_transport.h" diff --git a/webrtc/voice_engine/test/auto_test/voe_output_test.cc b/webrtc/voice_engine/test/auto_test/voe_output_test.cc index a732a2ec12..60e199700f 100644 --- a/webrtc/voice_engine/test/auto_test/voe_output_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_output_test.cc @@ -8,13 +8,13 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/base/random.h" #include "webrtc/base/timeutils.h" #include "webrtc/system_wrappers/include/sleep.h" -#include "webrtc/voice_engine/test/channel_transport/channel_transport.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" +#include "webrtc/voice_engine/test/channel_transport/channel_transport.h" namespace { diff --git a/webrtc/voice_engine/test/channel_transport/udp_socket_manager_unittest.cc b/webrtc/voice_engine/test/channel_transport/udp_socket_manager_unittest.cc index 7fce793015..178474a11c 100644 --- a/webrtc/voice_engine/test/channel_transport/udp_socket_manager_unittest.cc +++ b/webrtc/voice_engine/test/channel_transport/udp_socket_manager_unittest.cc @@ -15,8 +15,8 @@ // It also uses the static UdpSocketManager object. // The most important property of these tests is that they do not leak memory. -#include "webrtc/test/gtest.h" #include "webrtc/system_wrappers/include/trace.h" +#include "webrtc/test/gtest.h" #include "webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.h" #include "webrtc/voice_engine/test/channel_transport/udp_socket_wrapper.h" diff --git a/webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc b/webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc index 559b8ccdab..2938b411e4 100644 --- a/webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc +++ b/webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc @@ -13,9 +13,11 @@ #include "webrtc/test/gmock.h" #include "webrtc/test/gtest.h" #include "webrtc/voice_engine/test/channel_transport/udp_transport.h" + // We include the implementation header file to get at the dependency-injecting // constructor. #include "webrtc/voice_engine/test/channel_transport/udp_transport_impl.h" + // We must mock the socket manager, for which we need its definition. #include "webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.h" diff --git a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc index fbd5235810..350c63684b 100644 --- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc +++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc @@ -19,11 +19,10 @@ #include #include "gflags/gflags.h" -#include "webrtc/test/gtest.h" #include "webrtc/base/format_macros.h" #include "webrtc/engine_configurations.h" #include "webrtc/modules/audio_processing/include/audio_processing.h" -#include "webrtc/voice_engine/test/channel_transport/channel_transport.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/trace_to_stderr.h" #include "webrtc/voice_engine/include/voe_audio_processing.h" @@ -38,6 +37,7 @@ #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" #include "webrtc/voice_engine/include/voe_video_sync.h" #include "webrtc/voice_engine/include/voe_volume_control.h" +#include "webrtc/voice_engine/test/channel_transport/channel_transport.h" DEFINE_bool(use_log_file, false, "Output logs to a file; by default they will be printed to stderr."); diff --git a/webrtc/voice_engine/utility_unittest.cc b/webrtc/voice_engine/utility_unittest.cc index d52968297b..ecd0baaeb3 100644 --- a/webrtc/voice_engine/utility_unittest.cc +++ b/webrtc/voice_engine/utility_unittest.cc @@ -10,10 +10,10 @@ #include -#include "webrtc/test/gtest.h" #include "webrtc/base/format_macros.h" #include "webrtc/common_audio/resampler/include/push_resampler.h" #include "webrtc/modules/include/module_common_types.h" +#include "webrtc/test/gtest.h" #include "webrtc/voice_engine/utility.h" #include "webrtc/voice_engine/voice_engine_defines.h" diff --git a/webrtc/voice_engine/voe_base_unittest.cc b/webrtc/voice_engine/voe_base_unittest.cc index f87d324af2..a300f3b75e 100644 --- a/webrtc/voice_engine/voe_base_unittest.cc +++ b/webrtc/voice_engine/voe_base_unittest.cc @@ -10,8 +10,8 @@ #include "webrtc/voice_engine/include/voe_base.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_processing/include/audio_processing.h" +#include "webrtc/test/gtest.h" #include "webrtc/voice_engine/channel_manager.h" #include "webrtc/voice_engine/shared_data.h" #include "webrtc/voice_engine/voice_engine_fixture.h" diff --git a/webrtc/voice_engine/voe_codec_unittest.cc b/webrtc/voice_engine/voe_codec_unittest.cc index acef75a9a8..c0956147bc 100644 --- a/webrtc/voice_engine/voe_codec_unittest.cc +++ b/webrtc/voice_engine/voe_codec_unittest.cc @@ -12,8 +12,8 @@ #include "webrtc/voice_engine/include/voe_codec.h" -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_device/include/fake_audio_device.h" +#include "webrtc/test/gtest.h" #include "webrtc/voice_engine/include/voe_base.h" #include "webrtc/voice_engine/include/voe_hardware.h" #include "webrtc/voice_engine/voice_engine_defines.h" diff --git a/webrtc/voice_engine/voice_engine_fixture.h b/webrtc/voice_engine/voice_engine_fixture.h index 0dabf28304..4f4eaa865e 100644 --- a/webrtc/voice_engine/voice_engine_fixture.h +++ b/webrtc/voice_engine/voice_engine_fixture.h @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "webrtc/test/gtest.h" #include "webrtc/modules/audio_device/include/fake_audio_device.h" +#include "webrtc/test/gtest.h" #include "webrtc/test/mock_transport.h" #include "webrtc/voice_engine/include/voe_base.h" #include "webrtc/voice_engine/include/voe_network.h"