| 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
|
|
|
|
|