chromium/third_party/blink/renderer/platform/mediastream/transferred_media_stream_component_test.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {};

// TODO(crbug.com/1288839): Move this mock out into a share place.
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) {}

}  // namespace blink