#include "third_party/blink/renderer/platform/mediastream/transferred_media_stream_component.h"
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/modules/mediastream/media_stream_video_source.h"
#include "third_party/blink/public/web/web_heap.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_component.h"
namespace blink {
Return;
class MockSourceObserver : public GarbageCollected<MockSourceObserver>,
public MediaStreamSource::Observer { … };
class MockMediaStreamComponent
: public GarbageCollected<MockMediaStreamComponent>,
public MediaStreamComponent { … };
class TransferredMediaStreamComponentTest : public testing::Test { … };
TEST_F(TransferredMediaStreamComponentTest, InitialProperties) { … }
TEST_F(TransferredMediaStreamComponentTest, AddingObserver) { … }
TEST_F(TransferredMediaStreamComponentTest,
ObserverStateChangeFiresWhenSettingImplementation) { … }
TEST_F(TransferredMediaStreamComponentTest,
ObserverCaptureHandleChangeFiresWhenSettingImplementation) { … }
}