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

Unified Diff: Source/web/tests/SpinLockTest.cpp

Issue 1174283002: Fix unit test style in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove static Created 5 years, 6 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/web/tests/ScrollingCoordinatorTest.cpp ('k') | Source/web/tests/TextFinderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/SpinLockTest.cpp
diff --git a/Source/web/tests/SpinLockTest.cpp b/Source/web/tests/SpinLockTest.cpp
index c6e8ba7f0181f287d28f76861abe7313b69bcd5c..8233746ea6b2f14bae0f549717bdb6eec97b4ff0 100644
--- a/Source/web/tests/SpinLockTest.cpp
+++ b/Source/web/tests/SpinLockTest.cpp
@@ -40,9 +40,7 @@
#include "wtf/PassOwnPtr.h"
#include <gtest/gtest.h>
-namespace {
-
-using namespace blink;
+namespace blink {
static const size_t bufferSize = 16;
@@ -77,7 +75,7 @@ static void threadMain(volatile char* buffer)
}
}
-TEST(WTF_SpinLock, Torture)
+TEST(SpinLockTest, Torture)
{
char sharedBuffer[bufferSize];
@@ -91,4 +89,4 @@ TEST(WTF_SpinLock, Torture)
thread2.clear();
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/web/tests/ScrollingCoordinatorTest.cpp ('k') | Source/web/tests/TextFinderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698