summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 17:17:10 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 17:17:10 +0000
commit76fdc21de47ba710cd71f1d06ca55362b118c390 (patch)
treed9ec9563c0229fbce61def9bb34b24bf713c11a5 /chrome/tools
parente19516d9748c6bfc5798880dc0bbe03374d722c4 (diff)
downloadchromium_src-76fdc21de47ba710cd71f1d06ca55362b118c390.zip
chromium_src-76fdc21de47ba710cd71f1d06ca55362b118c390.tar.gz
chromium_src-76fdc21de47ba710cd71f1d06ca55362b118c390.tar.bz2
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 Review URL: http://codereview.chromium.org/99097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r--chrome/tools/build/win/browser_tests_dll.vsprops18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/tools/build/win/browser_tests_dll.vsprops b/chrome/tools/build/win/browser_tests_dll.vsprops
new file mode 100644
index 0000000..4498ca8
--- /dev/null
+++ b/chrome/tools/build/win/browser_tests_dll.vsprops
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="browser_tests_dll"
+ InheritedPropertySheets="$(SolutionDir)tools\build\win\unit_test.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ AdditionalIncludeDirectories="&quot;$(IntDir)&quot;"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ />
+</VisualStudioPropertySheet>