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

Unified Diff: Source/WebKit/chromium/tests/LayoutUnitTest.cpp

Issue 13881010: Move Layout unit test into webkit_unit_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/WebKit.gypi ('k') | Tools/TestWebKitAPI/TestWebKitAPI.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/tests/LayoutUnitTest.cpp
diff --git a/Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp b/Source/WebKit/chromium/tests/LayoutUnitTest.cpp
similarity index 99%
rename from Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp
rename to Source/WebKit/chromium/tests/LayoutUnitTest.cpp
index ceafb039c3a84027cde5ecad07dedb0a27cb2778..fb4a074201bb69f571b88c7b009971901365b3c5 100644
--- a/Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp
+++ b/Source/WebKit/chromium/tests/LayoutUnitTest.cpp
@@ -32,11 +32,12 @@
#define ENABLE_SATURATED_LAYOUT_ARITHMETIC 1
#include "config.h"
-#include <WebCore/LayoutUnit.h>
+#include <LayoutUnit.h>
abarth-chromium 2013/04/14 17:47:08 You can just use "LayoutUnit.h". There's no need
tfarina 2013/04/14 18:11:18 Done.
+#include <gtest/gtest.h>
using namespace WebCore;
-namespace TestWebKitAPI {
+namespace {
TEST(WebCoreLayoutUnit, LayoutUnitInt)
{
@@ -251,4 +252,4 @@ TEST(WebCoreLayoutUnit, LayoutUnitFloor)
}
-} // namespace TestWebKitAPI
+} // namespace
« no previous file with comments | « Source/WebKit/chromium/WebKit.gypi ('k') | Tools/TestWebKitAPI/TestWebKitAPI.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698