#include "third_party/blink/renderer/modules/peerconnection/media_stream_track_metrics.h"
#include <stddef.h>
#include <memory>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/threading/thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/modules/peerconnection/mock_peer_connection_dependency_factory.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/webrtc/api/media_stream_interface.h"
AudioSourceInterface;
AudioTrackInterface;
AudioTrackSinkInterface;
MediaStreamInterface;
ObserverInterface;
PeerConnectionInterface;
VideoTrackInterface;
VideoTrackSourceInterface;
namespace blink {
class MockAudioTrackInterface : public AudioTrackInterface { … };
class MockVideoTrackInterface : public VideoTrackInterface { … };
class MockMediaStreamTrackMetrics : public MediaStreamTrackMetrics { … };
class MediaStreamTrackMetricsTest : public testing::Test { … };
TEST_F(MediaStreamTrackMetricsTest, MakeUniqueId) { … }
TEST_F(MediaStreamTrackMetricsTest, BasicRemoteStreams) { … }
TEST_F(MediaStreamTrackMetricsTest, BasicLocalStreams) { … }
TEST_F(MediaStreamTrackMetricsTest, LocalStreamAddedAferIceConnect) { … }
TEST_F(MediaStreamTrackMetricsTest, RemoteStreamAddedAferIceConnect) { … }
TEST_F(MediaStreamTrackMetricsTest, LocalStreamTrackRemoved) { … }
TEST_F(MediaStreamTrackMetricsTest, RemoveAfterDisconnect) { … }
TEST_F(MediaStreamTrackMetricsTest, RemoteStreamMultipleDisconnects) { … }
TEST_F(MediaStreamTrackMetricsTest, RemoteStreamConnectDisconnectTwice) { … }
TEST_F(MediaStreamTrackMetricsTest, LocalStreamRemovedNoDisconnect) { … }
TEST_F(MediaStreamTrackMetricsTest, LocalStreamLargerTest) { … }
}