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

Unified Diff: webkit/user_agent/user_agent_unittest.cc

Issue 14304004: Convert a bunch of test_shell_tests to content_browsertests. These are tests that depend on loading… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync 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 | « webkit/tools/test_shell/test_shell.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/user_agent/user_agent_unittest.cc
===================================================================
--- webkit/user_agent/user_agent_unittest.cc (revision 195684)
+++ webkit/user_agent/user_agent_unittest.cc (working copy)
@@ -8,15 +8,13 @@
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/tools/test_shell/test_shell_test.h"
namespace {
-class WebkitGlueUserAgentTest : public TestShellTest {
-};
+typedef testing::Test WebkitGlueUserAgentTest;
bool IsSpoofedUserAgent(const std::string& user_agent) {
- return user_agent.find("TestShell") == std::string::npos;
+ return user_agent.find("TestContentClient") == std::string::npos;
}
TEST_F(WebkitGlueUserAgentTest, UserAgentSpoofingHack) {
« no previous file with comments | « webkit/tools/test_shell/test_shell.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698