summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for the flakiness in the chrome frame net tests run seen on the per ↵ananta@chromium.org2011-03-081-0/+3
| | | | | | | | | | | | | | | | | | user IE8 builder. The flakiness occurs because IE starts up before chrome_frame_helper which results in a failure to register a BHO for the IE window. Fix is to make the ChromeFrame registrar object a member of the chrome frame net test suite. Rearranged some code which ensures that we can now run chrome_frame_net_tests in debug builds without annoying DCHECKs BUG=none TEST=chrome frame net tests. Review URL: http://codereview.chromium.org/6650003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77362 0039d316-1c4b-4281-b951-d872f2087c98
* Add an integration test for Chrome Frame's DllRedirector class.robertshield@chromium.org2011-03-011-1/+5
| | | | | | | | | | | | | | | Fix a bug in the DllRedirector module loading code. Expand the alternate version generator code to provide a function for generating new versions of single modules. Remove the LI SACL from the shared memory lock for Win XP. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6600001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76338 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for running per user chrome frame tests on the relevant ↵ananta@chromium.org2011-02-011-4/+15
| | | | | | | | | | | | | | | | | | | | | | ChromeFrame builders. This includes the chrome_frame_net_tests, chrome_frame_tests and the chrome_frame_unittests test suites. We determine whether per user tests are to be run based on a registry config value PerUserTestBed under HKCU\Software\Google\ChromeFrame. As part of this CL we also register chrome frame in the chrome frame net tests suite. We unregister the chrome frame dll on the builder for per user installs after every test run. BUG=none TEST=Existing chrome frame tests. Review URL: http://codereview.chromium.org/6347056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73354 0039d316-1c4b-4281-b951-d872f2087c98
* Some input tests no longer marked flakyamit@chromium.org2010-11-051-0/+2
| | | | | | | | | | | | | | | | For tests like CtrlW, CtrlN it's better to notice failures when they execute and not run them at all if the workstation is locked i.e. when they will certainly fail. Added a check to do exactly that :) BUG=none TESTS=CtrlR, CtrlW, CtrlN, CtrlF, AltD Review URL: http://codereview.chromium.org/4615001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65279 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 6)thestig@chromium.org2010-08-191-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3093013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56641 0039d316-1c4b-4281-b951-d872f2087c98
* chrome_frame: Remove several instances of the deprecated wstrings functionstfarina@chromium.org2010-05-271-2/+2
| | | | | | | | | | | and use their FilePath equivalents. BUG=24874 TEST=included Review URL: http://codereview.chromium.org/2125021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48376 0039d316-1c4b-4281-b951-d872f2087c98
* Test for GCF install flow auto-patching.slightlyoff@chromium.org2010-05-011-0/+3
| | | | | | | | | BUG=42790 TEST=run chrome_frame_tests.exe --gtest_filter=*InstallFlow* Review URL: http://codereview.chromium.org/1727018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46172 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes GCF perf tests in prep for re-enabling them on the bots.slightlyoff@chromium.org2010-03-261-0/+1
| | | | | | | | | BUG=36734 TEST=build/run chrome_frame_perftests.exe, note that they all run now Review URL: http://codereview.chromium.org/1433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42870 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome Frame's reliability tests to allow them to register a given CF ↵robertshield@chromium.org2010-02-241-1/+3
| | | | | | | | | | | dll. BUG=29451 TEST=Reliability tests can be staged more easily on the vm tests. Review URL: http://codereview.chromium.org/656021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39903 0039d316-1c4b-4281-b951-d872f2087c98
* Some Chrome Frame cleanup:robertshield@chromium.org2010-01-051-2/+4
| | | | | | | | | | | | | | | | | | 1) Rearrange the chrome_frame.gyp file to: a) Split out most of CF into a static lib to make writing unit tests easier (not having to re-include source files). b) Remove most of the un-needed xulrunner-sdk includes. 2) Move all OBJECT_ENTRY_AUTO macros to chrome_tab.cc since they don't work without extra work when residing in a lib. 3) Rename npchrome_tab.dll to npchrome_frame.dll. BUG=none TEST=none Review URL: http://codereview.chromium.org/523040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35543 0039d316-1c4b-4281-b951-d872f2087c98
* Kill all browser instances at test start up in addition to at tear down ↵robertshield@chromium.org2009-12-071-0/+6
| | | | | | | | | | | | | which should improve test reliability. Make running the Chrome Frame integration tests slightly less onerous by not killing non-ChromeFrame instances of Chrome. BUG=All chrome.exe instances would die when running these tests, which made them annoying to run. TEST=Only Chrome Frame instances of Chrome will be killed when running the integration tests. Review URL: http://codereview.chromium.org/467036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33991 0039d316-1c4b-4281-b951-d872f2087c98
* Back/Forward support for url fragmentsamit@chromium.org2009-11-191-0/+39
| | | | | | | | | | | | | | | | | Added support for anchor (url fragments). this involves mainly implementing IPersistHistory. The rest of the stuff is a song and dance to get called in IPersistHistory in the first place and then behave correctly when we do. BUG=23981 TEst=unit tests added and back forward with '#' URLs, sub frames etc. Review URL: http://codereview.chromium.org/371004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32454 0039d316-1c4b-4281-b951-d872f2087c98
* Re-try r29078: Remove some deprecated file_util wstring functions.estade@chromium.org2009-10-151-1/+3
| | | | | | | | | | | | | With the previous patch, the try bots failed with mysterious messages, so I ignored them, patched it into my windows box and tested it there manually, and found no problems. As it turns out, the try failures were real :(. But nsylvain and I found the problem: the behavior of file_util::GetDirectoryFromPath() differs from DirName() when the path is empty (officially, GetDirectoryFromPath is not supposed to support non-absolute paths, but that is not enforced). Here is a green win try result: http://build.chromium.org/buildbot/try-server/builders/win/builds/3705 mac: http://build.chromium.org/buildbot/try-server/builders/mac/builds/3491 linux: http://build.chromium.org/buildbot/try-server/builders/linux/builds/3466 I also applied this patch locally in Windows to test that it doesn't break the chrome frame compile or tests, since that's not covered by the trybots yet. Review URL: http://codereview.chromium.org/271099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29094 0039d316-1c4b-4281-b951-d872f2087c98
* Initial import of the Chrome Frame codebase. Integration in chrome.gyp ↵slightlyoff@chromium.org2009-09-241-0/+39
coming in a separate CL. BUG=None TEST=None Review URL: http://codereview.chromium.org/218019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27042 0039d316-1c4b-4281-b951-d872f2087c98