Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: third_party/WebKit/Source/platform/wtf/TypeTraitsTest.cpp

Issue 2771783003: Move wtf_unittests to platform/wtf/. (Closed)
Patch Set: Rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #include "wtf/TypeTraits.h" 22 #include "platform/wtf/TypeTraits.h"
23 23
24 #include "wtf/Noncopyable.h" 24 #include "platform/wtf/Noncopyable.h"
25 25
26 // No gtest tests; only static_assert checks. 26 // No gtest tests; only static_assert checks.
27 27
28 namespace WTF { 28 namespace WTF {
29 29
30 namespace { 30 namespace {
31 31
32 struct VirtualClass { 32 struct VirtualClass {
33 virtual void A() {} 33 virtual void A() {}
34 }; 34 };
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 "EnsurePtrConvertibleArgDecl<U, T> should pass if U is a subclass of T"); 262 "EnsurePtrConvertibleArgDecl<U, T> should pass if U is a subclass of T");
263 263
264 static_assert(!std::is_convertible<Wrapper<TestBaseClass<int>>, 264 static_assert(!std::is_convertible<Wrapper<TestBaseClass<int>>,
265 Wrapper<TestDerivedClass>>::value, 265 Wrapper<TestDerivedClass>>::value,
266 "EnsurePtrConvertibleArgDecl<U, T> should not pass if U is a " 266 "EnsurePtrConvertibleArgDecl<U, T> should not pass if U is a "
267 "base class of T"); 267 "base class of T");
268 268
269 } // anonymous namespace 269 } // anonymous namespace
270 270
271 } // namespace WTF 271 } // namespace WTF
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/TreeNodeTest.cpp ('k') | third_party/WebKit/Source/platform/wtf/VectorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698