chromium/third_party/blink/renderer/modules/mediastream/transferred_media_stream_track_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/modules/mediastream/transferred_media_stream_track.h"

#include "third_party/blink/public/web/web_heap.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_track_capabilities.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_track_constraints.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_track_settings.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/modules/mediastream/mock_media_stream_track.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

namespace blink {

namespace {
_;
Return;

class TestObserver : public GarbageCollected<TestObserver>,
                     public MediaStreamTrack::Observer {};

}  // namespace

class TransferredMediaStreamTrackTest : public testing::Test {};

class MockEventListener final : public NativeEventListener {};

TEST_F(TransferredMediaStreamTrackTest, InitialProperties) {}

TEST_F(TransferredMediaStreamTrackTest, PropertiesInheritFromImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, EventsArePropagated) {}

TEST_F(TransferredMediaStreamTrackTest,
       ConstraintsAppliedBeforeImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, ConstraintsAppliedAfterImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, ContentHintSetBeforeImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, ContentHintSetAfterImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, SetEnabledBeforeImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, SetEnabledAfterImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, MultipleSetterFunctions) {}

TEST_F(TransferredMediaStreamTrackTest, SetImplementationTriggersObservers) {}

TEST_F(TransferredMediaStreamTrackTest, ObserversAddedToImpl) {}

TEST_F(TransferredMediaStreamTrackTest, CloneInitialProperties) {}

TEST_F(TransferredMediaStreamTrackTest, CloneSetImplementation) {}

TEST_F(TransferredMediaStreamTrackTest, CloneMutationsReplayed) {}

TEST_F(TransferredMediaStreamTrackTest, CloneDoesntIncludeLaterMutations) {}

}  // namespace blink