summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/chrome_frame_test_utils.cc
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 15:24:05 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 15:24:05 +0000
commit5b811ad2f12a21e218e92d1498f972a4c95ce68d (patch)
tree2d4ff0078076fd5a566d7543b4d6285fc2a5825e /chrome_frame/test/chrome_frame_test_utils.cc
parenta973a7147660bff86c36c43a30969bb179492f47 (diff)
downloadchromium_src-5b811ad2f12a21e218e92d1498f972a4c95ce68d.zip
chromium_src-5b811ad2f12a21e218e92d1498f972a4c95ce68d.tar.gz
chromium_src-5b811ad2f12a21e218e92d1498f972a4c95ce68d.tar.bz2
Test Selenium core on chrome frame
First cut of Selenium core support on Chrome Frame. 2 tests fail. Selenium tests are now served by mock http server. When the test is finished it posts a message with number of tests ran and failures. Also fixed 'attach external tab' mechanism to include the same URL origin including the port. BUG=50372 TEST=FullTabSeleniumTest.Core Review URL: http://codereview.chromium.org/5371001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/chrome_frame_test_utils.cc')
-rw-r--r--chrome_frame/test/chrome_frame_test_utils.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc
index 7d6a28b..5917022 100644
--- a/chrome_frame/test/chrome_frame_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_test_utils.cc
@@ -454,6 +454,14 @@ FilePath GetTestDataFolder() {
return test_dir;
}
+FilePath GetSeleniumTestFolder() {
+ FilePath test_dir;
+ PathService::Get(base::DIR_SOURCE_ROOT, &test_dir);
+ test_dir = test_dir.Append(FILE_PATH_LITERAL("data"))
+ .Append(FILE_PATH_LITERAL("selenium_core"));
+ return test_dir;
+}
+
std::wstring GetPathFromUrl(const std::wstring& url) {
string16 url16 = WideToUTF16(url);
GURL gurl = GURL(url16);