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

Issue 99097: Adding browser tests, for which the DLL is unloaded after each test (take 2) (Closed)

Created:
11 years, 8 months ago by jcampan
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Relanding this: This patch adds a new kind of tests: browser tests. They are intended to provide an alternative to the UI tests, hopefully helping with flackiness. These tests are in-process browser test. There are 2 projects to build the tests: - the browser_test.dll that contains the tests, the gtest framework and the browser classes. - the browser_test_launcher.exe. The launcher loads the browser_test.dll for each test, run the test and then unloads the DLL. This insures the static initializers are run before each test and that any atexit handler is invoked properly. This is Windows only for now. BUG=9764 TEST=Run browser_test.exe TBR=maruel Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14738

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -211 lines) Patch
A + chrome/browser/ssl/ssl_browser_tests.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/views/find_bar_win_browsertest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/browser/views/find_bar_win_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -202 lines 0 comments Download
M chrome/chrome.sln View 5 chunks +70 lines, -0 lines 0 comments Download
A + chrome/test/browser/browser_tests_dll.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
A + chrome/test/browser/browser_tests_launcher.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/browser/browser_tests_launcher.vcproj View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/browser/run_all_unittests.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/in_process_browser_test.cc View 1 2 3 4 5 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/test/unit/unittests.vcproj View 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
A + chrome/tools/build/win/browser_tests_dll.vsprops View 0 chunks +-1 lines, --1 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698