summaryrefslogtreecommitdiffstats
path: root/chrome/test/startup
Commit message (Collapse)AuthorAgeFilesLines
* base: Finish moving the SplitString functions from string_util.h to ↵tfarina@chromium.org2010-09-241-0/+1
| | | | | | | | | | | string_split.h BUG=None TEST=trybos Review URL: http://codereview.chromium.org/3447008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60422 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Extract performance-testing-specific parts of UITestBase to UIPerfTest.phajdan.jr@chromium.org2010-08-263-6/+6
| | | | | | | | | | | In the future this may even be used to tune some settings/behaviors (like timeouts) for performance tests. TEST=ui_tests, page_cycler_*, etc BUG=none Review URL: http://codereview.chromium.org/3137040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57552 0039d316-1c4b-4281-b951-d872f2087c98
* Mark another test as flaky on mac to try and keep the bot greenerthomasvl@chromium.org2010-08-231-1/+3
| | | | | | | | BUG=52858 TEST=greener tree Review URL: http://codereview.chromium.org/3201007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57089 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a bunch of startup_tests as FLAKY on Mac:rsesek@chromium.org2010-08-202-6/+26
| | | | | | | | | | | | | | | | * ShutdownTest.SimpleSessionEnding * ShutdownTest.TwentyTabsUserQuit * StartupTest.PerfRestoreFewTabs * StartupTest.PerfRestoreSeveralTabs * StartupTest.PerfExtensionContentScript50 R=thomasvl BUG=44067,52858 TEST=startup_tests Review URL: http://codereview.chromium.org/3142024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56890 0039d316-1c4b-4281-b951-d872f2087c98
* CommandLine: eliminate wstring-accepting AppendLooseValueevan@chromium.org2010-08-131-2/+2
| | | | | | | | Instead use AppendArg variants which accept a FilePath or an ASCII string. Review URL: http://codereview.chromium.org/3134008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56100 0039d316-1c4b-4281-b951-d872f2087c98
* remove toolstripserikkay@chromium.org2010-08-121-17/+0
| | | | | | | | | | | BUG=51703 BUG=30178 BUG=25106 TEST=none Review URL: http://codereview.chromium.org/3129003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55921 0039d316-1c4b-4281-b951-d872f2087c98
* base: rename Environment::GetEnv to Environment::GetVar.tfarina@chromium.org2010-08-072-2/+2
| | | | | | | | | | | This is the part 4 and the latest of this series. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3029062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55326 0039d316-1c4b-4281-b951-d872f2087c98
* Add #include utf_string_conversions.h to all files that use ASCIIToWide andbrettw@chromium.org2010-08-031-0/+1
| | | | | | | | | | | | | | | ASCIIToUTF16. I removed string_util includes from a few places where it obviously wasn't needed. In a separate pass, I'm going to remove ASCIITo* from string_util, then I'm going to do an even later pass to find the unnecessary string_util.h includes and remove them. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3058027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54746 0039d316-1c4b-4281-b951-d872f2087c98
* base: Rename EnvVarGetter to Environment.tfarina@chromium.org2010-08-032-4/+4
| | | | | | | | | | | | | | | Now EnvVarGetter do much more than getting environment variables. Per suggestion from Pawel in http://codereview.chromium.org/3043018/. BUG=None TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3052034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54696 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more callers of the integer/string functions to usingbrettw@chromium.org2010-07-312-4/+5
| | | | | | | | | | string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
* Move the number conversions from string_util to a new file.brettw@chromium.org2010-07-301-1/+2
| | | | | | | | | | | | | Use the base namespace in the new file. Update callers. I removed all wstring variants and also the string->number ones that ignore the return value. That encourages people to write code and forget about error handling. TEST=included unit tests BUG=none Review URL: http://codereview.chromium.org/3056029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54355 0039d316-1c4b-4281-b951-d872f2087c98
* Drop usage of IntToWString in switch values; we can use ASCII now.evan@chromium.org2010-07-301-2/+2
| | | | | | Review URL: http://codereview.chromium.org/3037034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54286 0039d316-1c4b-4281-b951-d872f2087c98
* Move multiple tabs tests to new graph and use reference build.pathorn@chromium.org2010-06-181-10/+42
| | | | | | | | | | | Added new startup tests that use the reference build to compare against. Also, I changed the graph name for FewTabs and SeveralTabs so that that they both appear in a separate graphs. BUG=44129 TEST=none Review URL: http://codereview.chromium.org/2862014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50297 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ShutdownTest flakiness by opening tabs one at a time.pathorn@chromium.org2010-06-171-25/+28
| | | | | | | | | BUG=46609 TEST=startup_tests should no longer flake out as much Review URL: http://codereview.chromium.org/2809017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50174 0039d316-1c4b-4281-b951-d872f2087c98
* Make new startup test use GetInitialLoadTimes for more accurate times.pathorn@chromium.org2010-06-171-53/+127
| | | | | | | | | | | | | This change modifies RunStartupTest to call GetInitialLoadTimes, if applicable, to print out additional statistics for each tab computed on the browser. Additionally, changes |test_cold| and |important| parameters to be enums instead of booleans to make tests more readable. BUG=44129 TEST=none Review URL: http://codereview.chromium.org/2714015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50075 0039d316-1c4b-4281-b951-d872f2087c98
* Mark StartupTests.Perf*SeveralTabs and ShutdownTests.*TwentyTabs* as flaky ↵pathorn@chromium.org2010-06-162-8/+30
| | | | | | | | | | | on mac. BUG=46609 TEST=startup_tests don't fail on mac Review URL: http://codereview.chromium.org/2850006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50018 0039d316-1c4b-4281-b951-d872f2087c98
* Test end-to-end startup performance of loading several tabs.pathorn@chromium.org2010-06-151-0/+68
| | | | | | | | | | | This test is similar to other startup tests, with the exception that it loads multible tabs at once, and it tests both with and without the session restore command line flag. In both cases, WaitForInitialLoads waits for all the tabs to finish loading before returning. BUG=44129 TEST=none Review URL: http://codereview.chromium.org/2753001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49827 0039d316-1c4b-4281-b951-d872f2087c98
* 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