chromium/ui/base/dragdrop/os_exchange_data_unittest.cc

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

#include <memory>

#include "base/files/file_util.h"
#include "base/pickle.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "net/base/filename_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
#include "ui/base/clipboard/clipboard_format_type.h"
#include "ui/base/clipboard/file_info.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/dragdrop/os_exchange_data_provider.h"
#include "ui/events/platform/platform_event_source.h"
#include "url/gurl.h"

namespace ui {

class OSExchangeDataTest : public PlatformTest {};

TEST_F(OSExchangeDataTest, StringDataGetAndSet) {}

TEST_F(OSExchangeDataTest, TestURLExchangeFormats) {}

// Test that setting the URL does not overwrite a previously set custom string
// and that the synthesized URL shortcut file is ignored by GetFileContents().
TEST_F(OSExchangeDataTest, URLStringFileContents) {}

TEST_F(OSExchangeDataTest, TestFileToURLConversion) {}

TEST_F(OSExchangeDataTest, TestPickledData) {}

TEST_F(OSExchangeDataTest, TestFilenames) {}

#if defined(USE_AURA)
TEST_F(OSExchangeDataTest, TestHTML) {}
#endif

TEST_F(OSExchangeDataTest, NotRendererTainted) {}

TEST_F(OSExchangeDataTest, RendererTaintedOpaqueOrigin) {}

TEST_F(OSExchangeDataTest, RendererTaintedTupleOrigin) {}

}  // namespace ui