Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / base / test / test_clipboard_unittest.cc
blob8d3a4367428634669def78fcabeee8cd4d5ce4c7
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/base/test/test_clipboard.h"
7 #include "testing/gtest/include/gtest/gtest.h"
9 namespace ui {
11 struct TestClipboardTraits {
12 static Clipboard* Create() { return TestClipboard::CreateForCurrentThread(); }
14 static void Destroy(Clipboard* clipboard) {
15 ASSERT_EQ(Clipboard::GetForCurrentThread(), clipboard);
16 Clipboard::DestroyClipboardForCurrentThread();
20 typedef TestClipboardTraits TypesToTest;
22 } // namespace ui
24 #include "ui/base/clipboard/clipboard_test_template.h"