chromium/third_party/blink/renderer/modules/presentation/presentation_connection_callbacks_test.cc

// Copyright 2020 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/presentation/presentation_connection_callbacks.h"

#include <utility>

#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/presentation/presentation.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/core/testing/mock_function_scope.h"
#include "third_party/blink/renderer/modules/presentation/presentation_connection.h"
#include "third_party/blink/renderer/modules/presentation/presentation_request.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"

constexpr char kPresentationUrl[] =;
constexpr char kPresentationId[] =;

namespace blink {

PresentationConnectionResult;
PresentationConnectionResultPtr;
PresentationConnectionState;
PresentationError;
PresentationErrorType;
PresentationInfo;
PresentationInfoPtr;

namespace {

static PresentationRequest* MakeRequest(V8TestingScope* scope) {}

}  // namespace

TEST(PresentationConnectionCallbacksTest, HandleSuccess) {}

TEST(PresentationConnectionCallbacksTest, HandleReconnect) {}

TEST(PresentationConnectionCallbacksTest, HandleError) {}

}  // namespace blink