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

Unified Diff: chrome/test/wtflib/wtf_testsuite.cc

Issue 2043006: WTF NPAPI extension. Early draft. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 7 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 | « chrome/test/wtflib/wtf_testsuite.h ('k') | tools/nixysa/COPYING » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/wtflib/wtf_testsuite.cc
===================================================================
--- chrome/test/wtflib/wtf_testsuite.cc (revision 0)
+++ chrome/test/wtflib/wtf_testsuite.cc (revision 0)
@@ -0,0 +1,40 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/scoped_ptr.h"
+#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
+#include "chrome/test/automation/tab_proxy.h"
+#include "googleurl/src/gurl.h"
+#include "chrome/test/wtflib/wtf_testsuite.h"
+
+WTFTestSuite::WTFTestSuite(bool clear_profile, std::wstring homepage)
+ : UITestBase() {
+ set_clear_profile(clear_profile);
+ set_homepage(homepage);
+}
+
+WTFTestSuite::~WTFTestSuite() {
+}
+
+void WTFTestSuite::Initialize(const FilePath& browser_dir) {
+ UITestBase::SetBrowserDirectory(browser_dir);
+}
+
+void WTFTestSuite::SetUp() {
+ UITestBase::SetUp();
+}
+
+void WTFTestSuite::TearDown() {
+ UITestBase::TearDown();
+}
+
+void WTFTestSuite::NavigateToURL(const std::string url_string) {
+ GURL url(url_string.c_str());
+ UITestBase::NavigateToURL(url);
+}
+
+bool WTFTestSuite::OpenNewBrowserWindow(bool show) {
+ return automation()->OpenNewBrowserWindow(Browser::TYPE_NORMAL, show);
+}
Property changes on: chrome/test/wtflib/wtf_testsuite.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/wtflib/wtf_testsuite.h ('k') | tools/nixysa/COPYING » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698