chromium/components/open_from_clipboard/clipboard_recent_content_generic_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/open_from_clipboard/clipboard_recent_content_generic.h"

#include <memory>
#include <string>
#include <utility>

#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "components/open_from_clipboard/clipboard_recent_content_features.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/clipboard/test/test_clipboard.h"
#include "ui/gfx/image/image_unittest_util.h"
#include "ui/gfx/skia_util.h"
#include "url/gurl.h"
#include "url/url_util.h"

namespace {

class HasDataCallbackWaiter {};

}  // namespace

const char kChromeUIScheme[] =;

class ClipboardRecentContentGenericTest : public testing::Test {};

TEST_F(ClipboardRecentContentGenericTest, RecognizesURLs) {}

TEST_F(ClipboardRecentContentGenericTest,
       OlderContentNotSuggestedDefaultLimit) {}

TEST_F(ClipboardRecentContentGenericTest, OlderContentNotSuggestedLowerLimit) {}

TEST_F(ClipboardRecentContentGenericTest, GetClipboardContentAge) {}

TEST_F(ClipboardRecentContentGenericTest, SuppressClipboardContent) {}

TEST_F(ClipboardRecentContentGenericTest, GetRecentTextFromClipboard) {}

TEST_F(ClipboardRecentContentGenericTest, ClearClipboardContent) {}

TEST_F(ClipboardRecentContentGenericTest, HasRecentImageFromClipboard) {}

TEST_F(ClipboardRecentContentGenericTest, HasRecentContentFromClipboard_URL) {}

TEST_F(ClipboardRecentContentGenericTest, HasRecentContentFromClipboard_Text) {}

TEST_F(ClipboardRecentContentGenericTest, HasRecentContentFromClipboard_Image) {}