summaryrefslogtreecommitdiffstats
path: root/chrome/test/startup
Commit message (Collapse)AuthorAgeFilesLines
* Don't let users set the number of cycles to be more than kNumCyclesMax in ↵thestig@chromium.org2010-04-152-4/+20
| | | | | | | | | | startup_tests. BUG=none TEST=Setting STARTUP_TESTS_NUMCYCLES to 200 doesn't crash the test. Review URL: http://codereview.chromium.org/1652010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44689 0039d316-1c4b-4281-b951-d872f2087c98
* Only disable ShutdownTest.TwentyTabsSessionEnding in Debug mode. It runs ↵thestig@chromium.org2010-04-071-1/+1
| | | | | | | | | | just fine on Windows in Release mode. BUG=40671 TEST=Enable one more test on perf bots; perf bots remain green. Review URL: http://codereview.chromium.org/1634001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43877 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable ShutdownTest.TwentyTabsSessionEnding on Windows.viettrungluu@chromium.org2010-04-071-1/+7
| | | | | | | | | | | | It's making Windows Perf startup_tests red. BUG=40671 TEST=greener bot TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/1599022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43852 0039d316-1c4b-4281-b951-d872f2087c98
* Add some shutdown perf tests. We measure shutdown for the combination ofthestig@chromium.org2010-04-062-21/+136
| | | | | | | | | | | shutdown method: {Close all windows, clicking exit, terminating process} and number of tabs open: {just about:blank, twenty tabs} BUG=23118 TEST=This CL adds a test. Review URL: http://codereview.chromium.org/1594008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43758 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Make automation framework more solid by making sure thatphajdan.jr@chromium.org2010-03-161-3/+3
| | | | | | | | | | | | | | | | | | | important return values are not ignored. The macro used here, WARN_UNUSED_RESULT, takes effect only for GCC, but that's enough since we have bots for all platforms. Adding these warnings already detected some cases where a return value was ignored. In some of them the test was trying to get the information about success "some other way", in some it could sometimes confuse test failure with test success. TEST=ui_tests BUG=none Review URL: http://codereview.chromium.org/948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41696 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/gfx contents to gfx/ben@chromium.org2010-03-141-1/+1
| | | | | | | | | TBR=darin BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41559 0039d316-1c4b-4281-b951-d872f2087c98
* Reuse UseReferenceBuild() cleanup in startup test.chase@chromium.org2009-12-211-21/+3
| | | | | | | | | BUG=none TEST=startup test continues running Review URL: http://codereview.chromium.org/507059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35082 0039d316-1c4b-4281-b951-d872f2087c98
* Rename a conflicting trace.chase@chromium.org2009-12-181-1/+2
| | | | | | | | | | | | | After r34888, there were two warm/t traces. Rename the latter to be extension_empty to match the other extension-related traces. BUG=22287 TEST=mac startup perf goes green Review URL: http://codereview.chromium.org/506067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34910 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable startup tests on Mac since process leak bug fixed.jrg@chromium.org2009-12-171-6/+0
| | | | | | | | BUG=http://crbug.com/22287 Review URL: http://codereview.chromium.org/505041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34888 0039d316-1c4b-4281-b951-d872f2087c98
* Add reference build to tab switching tests.chase@chromium.org2009-12-141-14/+0
| | | | | | | | | | | | | | | | | Moves 'UseReferenceBuild' from NewTabUIStartupTest into UITest. Run multiple tab switching tests for the current and reference build. Locate the debug log based on the current browser directory. Reformat the output of the test so we print "times" as our test type instead of "tab_switch" (probably requires a perf dashboard update). BUG=25200 TEST=tab switching test also tests reference build Review URL: http://codereview.chromium.org/491090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34483 0039d316-1c4b-4281-b951-d872f2087c98
* Enable new tab test reference builds on Mac now that the reference builds ↵tony@chromium.org2009-12-041-8/+0
| | | | | | | | | | are new enough. BUG=28028 Review URL: http://codereview.chromium.org/463034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33865 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable NewTabUIStartupTest.PerfRefWarm on Linux. Roll to a newtony@chromium.org2009-11-251-2/+1
| | | | | | | | | | reference build for Linux that passes this test. BUG=28028 Review URL: http://codereview.chromium.org/441026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33155 0039d316-1c4b-4281-b951-d872f2087c98
* Disable New Tab UI Warm ref test on Linux too, it's failing there too.tony@chromium.org2009-11-251-1/+2
| | | | | | | | TBR=chase Review URL: http://codereview.chromium.org/444005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33143 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the new tab reference tests on mac since the reference buildtony@chromium.org2009-11-251-0/+8
| | | | | | | | | | | doesn't seem to support all the IPC messages. BUG=28028 TBR=chase Review URL: http://codereview.chromium.org/437072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33134 0039d316-1c4b-4281-b951-d872f2087c98
* Convert a few other places from using ApplyAccelerator (async) totony@chromium.org2009-11-251-2/+3
| | | | | | | | using RunCommand (sync). Review URL: http://codereview.chromium.org/436031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33131 0039d316-1c4b-4281-b951-d872f2087c98
* Add new tab warm and new tab cold reference build runs.tony@chromium.org2009-11-252-3/+27
| | | | | | | | BUG=28028 Review URL: http://codereview.chromium.org/436040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33123 0039d316-1c4b-4281-b951-d872f2087c98
* reenable toolstrips for startup testserikkay@chromium.org2009-11-241-0/+4
| | | | | | | | | BUG=24475 TEST=startup_tests.exe --gtest_filter=*Toolstrip* Review URL: http://codereview.chromium.org/431037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32974 0039d316-1c4b-4281-b951-d872f2087c98
* Try to make the start up tests less flaky by switchingtony@chromium.org2009-11-231-4/+6
| | | | | | | | | | | from ApplyAccelerator (which uses RunCommandAsync) to using RunCommand. This shouldn't impact the timing any. BUG=28448 Review URL: http://codereview.chromium.org/427005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32809 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the warm perf load test.chase@chromium.org2009-10-301-1/+1
| | | | | | | | | | | | This is an experiment to see the current status of the test. BUG=13921 TEST=warm perf load test is greenish Review URL: http://codereview.chromium.org/342045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30545 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment with startup tests and file urls. asargent@chromium.org2009-10-231-1/+1
| | | | | | | | | | | | | | | For extensions purposes, content scripts don't see any DOM when running on the existing empty.html file. We're curious if using an html file with a real (but empty) body makes any difference in startup time for the extensions tests. BUG=none TEST=none Review URL: http://codereview.chromium.org/332003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29899 0039d316-1c4b-4281-b951-d872f2087c98
* Add histogram for how tab closing time. Did some cleanup along the way. ↵jam@chromium.org2009-10-141-3/+3
| | | | | | | | Moved the is_showing_before_unload_dialog_ stuff from RenderViewHost to TabContents since we need that bit there as well. Review URL: http://codereview.chromium.org/274057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29063 0039d316-1c4b-4281-b951-d872f2087c98
* Convert a CopyRecursiveDirNoCache to use FilePaths insteadtony@chromium.org2009-10-122-4/+4
| | | | | | | | | of wstrings. Also convert template_user_data_ in UITest to be a FilePath. Review URL: http://codereview.chromium.org/273021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28762 0039d316-1c4b-4281-b951-d872f2087c98
* Move more ICU-dependent stuff from base into base/i18n. Some test stuff alsobrettw@chromium.org2009-10-091-1/+1
| | | | | | | | | | | | depended on this, so to make the DEPS work out, I made a new base/test directory where I moved the testing-related files into a new directory base/test. TEST=none BUG=none Review URL: http://codereview.chromium.org/266038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28569 0039d316-1c4b-4281-b951-d872f2087c98
* Fix startup_tests failure. I added a new test but sometimes on a slow bottony@chromium.org2009-10-071-3/+0
| | | | | | | | | | | | we don't get a new tab load (see valleys here: http://build.chromium.org/buildbot/perf/xp-release-single-core/new-tab-ui-cold/report.html?history=300 ). Paper over these errors. TBR=evanm Review URL: http://codereview.chromium.org/264003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28313 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert "Add startup tests that log start script, domcontentloaded, ↵tony@chromium.org2009-10-072-11/+77
| | | | | | | | | | | | | | | and onload."" This reverts commit r28209 and relands r28199. The failure seems to have been flaky (it passed on the other bots and on the following run). I want to try to land again. If it fails again, I'll disable the test. TBR=mattm Review URL: http://codereview.chromium.org/268003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28268 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add startup tests that log start script, domcontentloaded, and onload."mattm@chromium.org2009-10-072-77/+11
| | | | | | | | | | | | which failed on XP Perf (single). This reverts commit r28199. TBR=tony Review URL: http://codereview.chromium.org/265002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28209 0039d316-1c4b-4281-b951-d872f2087c98
* Add startup tests that log start script, domcontentloaded, and onload.tony@chromium.org2009-10-072-11/+77
| | | | | | | | | | | | | | | | TabContents sends a notification which is picked up by the browser automation controller which keeps a map of events and times. Add an automation IPC so that tests can get these values from the browser automation controller. Finally, add a feature startup test to collect these values. This is just to get some consistent timings from the buildbot. BUG=23120 Review URL: http://codereview.chromium.org/246105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28199 0039d316-1c4b-4281-b951-d872f2087c98
* Last checkin contained a typo. Fixing.mpcomplete@chromium.org2009-09-181-1/+0
| | | | | | TBR=erikkay git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26622 0039d316-1c4b-4281-b951-d872f2087c98
* Disable extension startup tests on Mac, since they're causing it to hang.mpcomplete@chromium.org2009-09-181-1/+7
| | | | | | | | | | BUG=22287 TEST=no TBR=erikkay Review URL: http://codereview.chromium.org/212022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26619 0039d316-1c4b-4281-b951-d872f2087c98
* Add a handful of startup tests that run with different types of installed ↵mpcomplete@chromium.org2009-09-181-21/+69
| | | | | | | | | | | extensions. BUG=18445 TEST=no Review URL: http://codereview.chromium.org/216019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26600 0039d316-1c4b-4281-b951-d872f2087c98
* Enable startup tests for custom frame. I meant to do this with thetony@chromium.org2009-08-211-0/+10
| | | | | | | | | last change, but missed it. Review URL: http://codereview.chromium.org/174115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23921 0039d316-1c4b-4281-b951-d872f2087c98
* Remove include of IPC headers from headers they crept into. This slows down ↵jam@chromium.org2009-08-201-0/+1
| | | | | | | | the build. Review URL: http://codereview.chromium.org/174148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23884 0039d316-1c4b-4281-b951-d872f2087c98
* More linux startup tests. Add startup tests for custom frametony@chromium.org2009-08-191-0/+12
| | | | | | | | | | | | | | and custom frame + gtk theme. By default, we try to detect custom frame or not based on the window manager. On the bots, we run the startup tests in Xvfb with no window manager running, so they don't get the custom frame. Review URL: http://codereview.chromium.org/174032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23778 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Theme: Add startup tests for gtk themes.erg@google.com2009-08-182-5/+20
| | | | | | | | http://crbug.com/19376 Review URL: http://codereview.chromium.org/173010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23646 0039d316-1c4b-4281-b951-d872f2087c98
* Fix startup tests with complex theme.mirandac@chromium.org2009-08-152-11/+19
| | | | | | | | | | BUG= http://crbug.com/18767 TEST= none Review URL: http://codereview.chromium.org/165478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23524 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 23313.mirandac@chromium.org2009-08-132-19/+11
| | | | | | Review URL: http://codereview.chromium.org/165463 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23314 0039d316-1c4b-4281-b951-d872f2087c98
* Enable StartupTest.PerfColdComplexTheme, and add rewriting of Preference ↵mirandac@chromium.org2009-08-132-11/+19
| | | | | | | | | | | file to ensure that the images are picked up for the complex theme tests. BUG= http://crbug.com/18767 TEST= none Review URL: http://codereview.chromium.org/164402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23313 0039d316-1c4b-4281-b951-d872f2087c98
* Fix failing startup test.mirandac@chromium.org2009-08-112-9/+9
| | | | | | Review URL: http://codereview.chromium.org/164328 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23046 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off startup test until I figure out problem.mirandac@chromium.org2009-08-111-5/+5
| | | | | | Review URL: http://codereview.chromium.org/165304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23039 0039d316-1c4b-4281-b951-d872f2087c98
* Make new complex theme startup tests work. Change the name of the ↵mirandac@chromium.org2009-08-112-5/+5
| | | | | | | | | | | NewTabUIStartupTest to ComplexThemeCold so it's picked up by the bot that runs --gtest_filter=NewTabUIStartupTest.*Cold. Also, uncomment startup_test so that it gets tested, now that the theme is installed. BUG= http://crbug.com/18767 TEST= none Review URL: http://codereview.chromium.org/164268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23031 0039d316-1c4b-4281-b951-d872f2087c98
* Fix startup test error for now.mirandac@chromium.org2009-08-101-1/+1
| | | | | | Review URL: http://codereview.chromium.org/164267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22937 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off startup test for now to fix bots.mirandac@chromium.org2009-08-101-3/+3
| | | | | | Review URL: http://codereview.chromium.org/165249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22935 0039d316-1c4b-4281-b951-d872f2087c98
* Test startup of new tab page with a complex theme.mirandac@chromium.org2009-08-102-21/+33
| | | | | | | | | BUG= http://crbug.com/18767 TEST= none Review URL: http://codereview.chromium.org/165168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22925 0039d316-1c4b-4281-b951-d872f2087c98
* Disable first run for the New Tab Cold perf test.arv@google.com2009-07-281-0/+5
| | | | | | | | | | BUG=17668 TEST=Run the test Review URL: http://codereview.chromium.org/160108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21854 0039d316-1c4b-4281-b951-d872f2087c98
* Fix new_tab_ui_cold_test for linuxarv@google.com2009-07-081-0/+8
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/155200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20127 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a way to set the boundaries of the browser window througharv@google.com2009-07-081-0/+3
| | | | | | | | | | | | | | | automation and use that to set the size of the window in the "New Tab Cold" to ensure we are testing the normal case and not the small case. BUG=None TEST=The NewTabUIStartupTest, PerfCold should still work. Review URL: http://codereview.chromium.org/149233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20124 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the perf reference test.thomasvl@chromium.org2009-06-111-2/+0
| | | | | | Review URL: http://codereview.chromium.org/122043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18188 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in .vcproj files obviated by r17687.sgk@chromium.org2009-06-051-210/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17709 0039d316-1c4b-4281-b951-d872f2087c98
* Make automation proxy objects to ref_counted. That allows to process async ↵stoyan@chromium.org2009-05-281-3/+3
| | | | | | | | | | | notifications directly in channel background thread. Add support for listener-less ChannelProxy. BUG=none TEST=none Review URL: http://codereview.chromium.org/113722 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17093 0039d316-1c4b-4281-b951-d872f2087c98
* Fix errant comments on parameters.pinkerton@chromium.org2009-05-271-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/112062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16988 0039d316-1c4b-4281-b951-d872f2087c98