summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/testing_automation_provider.h
Commit message (Collapse)AuthorAgeFilesLines
* Delete automation code needed by old (and deleted) ChromeDriver.kkania@chromium.org2013-09-241-26/+0
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/24396002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224949 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all NetworkLibrary dependencies from AutomationTestingProviderstevenjb@chromium.org2013-09-101-13/+0
| | | | | | | | | BUG=259896 TBR=phajdan.jr@chromium.org, achuith@chromium.org for c/b/automation Review URL: https://chromiumcodereview.appspot.com/23503040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222379 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate unused PYAUTO tests and TestingAutomationProvider methodsstevenjb@chromium.org2013-08-261-30/+0
| | | | | | | | | | | | My understanding is that none of these tests are currently being run, so we should eliminate them so that we can remove the supporting code. BUG=259896 R=dennisjeffrey@chromium.org, phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/23359003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219570 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all traces of deprecated Get/SetReleaseTrack calls.sosa@chromium.org2013-08-031-6/+0
| | | | | | | | | | | | | In early M30 we deprecated this API and are planning on removing the calling end in the update engine. This CL removes the browser-side stubs/callbacks and any trace of them left in the code. BUG=chromium:221850 TEST=try + build Review URL: https://chromiumcodereview.appspot.com/21015010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215431 0039d316-1c4b-4281-b951-d872f2087c98
* Use content instead of WebKit for synthesizing keycodesjamesr@chromium.org2013-07-261-12/+0
| | | | | | | | | | | Also removes unused automation provider code related to key synthesis. BUG=237267 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/20581002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213987 0039d316-1c4b-4281-b951-d872f2087c98
* Move webplugininfo.h to content/public.jam@chromium.org2013-07-211-5/+2
| | | | | | | | | BUG=237249 TBR=scottmg Review URL: https://codereview.chromium.org/19894003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212812 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Remove PowerSupplyStatus struct.derat@chromium.org2013-07-031-6/+12
| | | | | | | | | | | | This removes the PowerSupplyStatus struct in favor of directly using PowerSupplyProperties protocol buffers sent by the power manager. BUG=254173 Review URL: https://chromiumcodereview.appspot.com/18307002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209830 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the import PYAUTO tests.gab@chromium.org2013-07-021-26/+0
| | | | | | | | | | | | | They have now all been replaced by importer browser_tests (http://crrev.com/196518) and ProfileWriter unit tests (http://crrev.com/204421). This is a prerequisite for https://codereview.chromium.org/18052010/ BUG=243423, 254672, 114244, 89768, 63001 R=jam@chromium.org Review URL: https://codereview.chromium.org/18556002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209764 0039d316-1c4b-4281-b951-d872f2087c98
* Update Blink include pathsabarth@chromium.org2013-06-171-1/+1
| | | | | | | | | | | | | This CL changes the majority of include paths from the old Source/WebKit/chromium/public to the new public/web directory. TBR=darin BUG=239545 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/17148003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206664 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate auto_tests about proxy configuration to browser_tests.pneubeck@chromium.org2013-05-291-6/+0
| | | | | | | | | | | | | At the same time this - removes a lot of unnecessary code testing_automation_provider* and pyauto, - removes the dependency of testing_automation_provider* on ProxyConfigServiceImpl. BUG=234982 TEST=New browser_tests. Ran pyauto test testCachedCredentialsAddUser locally. Review URL: https://chromiumcodereview.appspot.com/16045005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202849 0039d316-1c4b-4281-b951-d872f2087c98
* Delete Automation[Tab/Renderer]Helper and fix users.kkania@chromium.org2013-05-241-44/+0
| | | | | | | | | | For Chrome Endure, use the memory benchmarking V8 extension instead. For the old ChromeDriver, just mark the messages as deprecated on the client side. I'll remove all the old ChromeDriver code later. I want to keep it here since we release ChromeDriver from HEAD, and we might need to do critical fixes for Chrome 28 and below still. BUG=240580 Review URL: https://chromiumcodereview.appspot.com/14977013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202205 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused |first_run| parameter in ImporterHost::CheckForFirefoxLock() ↵gab@chromium.org2013-04-241-1/+0
| | | | | | | | | | | | | which results in a cascade of unused parameter removal. This is a precursor CL to https://codereview.chromium.org/12670013/ TBR=ben@chromium.org BUG=219419 Review URL: https://chromiumcodereview.appspot.com/14316007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196209 0039d316-1c4b-4281-b951-d872f2087c98
* net: extract net/cert out of net/basephajdan.jr@chromium.org2013-03-291-1/+1
| | | | | | | | | | | | This introduces the following dependency of net/base on things outside: net/base/openssl_client_key_store.cc:#include "net/cert/x509_certificate.h" BUG=70818 Review URL: https://codereview.chromium.org/13006020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191450 0039d316-1c4b-4281-b951-d872f2087c98
* Delete Instant pyauto tests.sreeram@chromium.org2013-02-131-11/+0
| | | | | | | | | | | | | | | | | | Pyauto is deprecated. We'll add some of these tests back as browser tests. Some don't make sense because they are very specific to Google and not Chrome Instant generally (such as the case insensitivity test). We're not losing much test coverage here because many of these tests already exist as browser tests (e.g.: testing that Instant doesn't preview URLs, testing a non-Instant supporting engine). BUG=165843,168809 R=phajdan.jr@chromium.org TEST=none Review URL: https://chromiumcodereview.appspot.com/12223125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182319 0039d316-1c4b-4281-b951-d872f2087c98
* history: Rename history.h to history_service.htfarina@chromium.org2013-01-251-1/+1
| | | | | | | | | | | | | history.h contains HistoryService class as its main class, so rename the file to match with the class name. BUG=169591 R=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/12036069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178753 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old cloud policy code.mnissler@chromium.org2013-01-231-9/+0
| | | | | | | | | | | | | | | The old framework has been abandoned in favor of a more flexible rewrite which is already being used for the desktop cloud policy implementation. Chrome OS has switched over with M25, so it's time to remove the old code. BUG=chromium:108928 TEST=Still compiles and passes tests. Review URL: https://chromiumcodereview.appspot.com/11946017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178283 0039d316-1c4b-4281-b951-d872f2087c98
* [sync] Divorce python sync test server chromiumsync.py from testserver.pyrsimha@chromium.org2013-01-201-41/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various chrome test suites use the infrastructure in net::LocalTestServer and net/tools/testserver.py to create local test server instances against which to run automated tests. Sync tests use reference implementations of sync and xmpp servers, which build on the testserver infrastructure in net/. In the past, the sync testserver was small enough that it made sense for it to be a part of the testserver in net/. This, however, resulted in an unwanted dependency from net/ onto sync/, due to the sync proto modules needed to run a python sync server. Now that the sync testserver has grown considerably in scope, it is time to separate it out from net/ while reusing base testserver code, and eliminate the dependency from net/ onto sync/. This work also provides us with the opportunity to remove a whole bunch of dead pyauto sync test code in chrome/test/functional. This patch does the following: - Moves the native class LocalSyncTestServer from net/test/ to sync/test/. - Moves chromiumsync{_test}.py and xmppserver{_test}.py from net/tools/testserver/ to sync/tools/testserver/. - Removes all sync server specific code from net/. - Adds a new sync_testserver.py runner script for the python sync test. - Moves some base classes from testserver.py to testserver_base.py so they can be reused by sync_testserver.py. - Audits all the python imports in testserver.py, testserver_base.py and sync_testserver.py to make sure there are no unnecessary / missing imports. - Adds a new run_sync_testserver runner executable to launch a sync testserver. - Removes a couple of static methods from LocalTestServer, that were being used by run_testserver, and refactors run_sync_testserver to use their non-static versions. - Adds the ability to run both chromiumsync_test.py and xmppserver_test.py from run_sync_testserver. - Fixes chromiumsync.py to undo / rectify some older changes that broke tests in chromiumsync_test.py. - Adds a new test target called test_support_sync_testserver to sync.gyp. - Removes the hacky dependency on sync_proto from net.gyp:net_test_support. - Updates various gyp files across chrome to use the new sync testserver target. - Audits dependencies of net_test_support, run_testserver, and the newly added targets. - Fixes the android chrome testserver spawner script to account for the above changes. - Removes all mentions of TYPE_SYNC from the pyauto TestServer shim. - Deletes all (deprecated) pyauto sync tests. (They had all become broken over time, gotten disabled, and were all redundant due to their equivalent sync integration tests.) - Removes all sync related pyauto hooks from TestingAutomationProvider, since they are no longer going to be used. - Takes care of a TODO in safe_browser_testserver.py to remove an unnecessary code block. Note: A majority of the bugs listed below are for individual pyauto sync tests. Deleting the sync pyauto test script fixes all these bugs in one fell swoop. TBR=mattm@chromium.org BUG=117559, 119403, 159731, 15016, 80329, 49378, 87642, 86949, 88679, 104227, 88593, 124913 TEST=run_testserver, run_sync_testserver, sync_integration_tests, sync_performance_tests. All chrome tests that use a testserver should continue to work. Review URL: https://codereview.chromium.org/11971025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177864 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ui_controls.h usage in shipping browser code. In a followup ↵jam@chromium.org2013-01-111-23/+0
| | | | | | | | | change, I'll move the code to a test directory. I switched the page_load reliablity test to send synthesized keystrokes instead. I removed the reliablity tag drag tests, since these duplicate the newer interactive_ui_tests. The ChromeDriver method has been deprecated after discussion with kkania. Review URL: https://codereview.chromium.org/11875004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176470 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the protector service.ivankr@chromium.org2012-12-141-14/+0
| | | | | | | | | | BUG=165008 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11493003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173169 0039d316-1c4b-4281-b951-d872f2087c98
* - testSetTheme was already covered (after adding theme name verification).nirnimesh@chromium.org2012-09-181-10/+0
| | | | | | | | | | | | | | | | | | | - testThemeUndo was already covered - testThemeOverInstall was already covered - testThemeInFullScreen -> TestInstallThemeInFullScreen - testThemeReset -> TestThemeReset - Runner was not running by default and is missing data files so it doesn't look like it has run in a while. Remove automation hooks: GetThemeInfo, ResetToDefaultTheme BUG=143637 TEST=browser_tests --gtest_filter=ExtensionInstallUIBrowserTest.* Review URL: https://chromiumcodereview.appspot.com/10916328 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157427 0039d316-1c4b-4281-b951-d872f2087c98
* Converted policy_prefs_ui.py pyauto test to a browser_test.joaodasilva@chromium.org2012-09-181-10/+0
| | | | | | | | | | | This is a reland of http://codereview.chromium.org/10905223/ after parameterizing the tests so they don't timeout on chromeos debug bots. BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10918263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157346 0039d316-1c4b-4281-b951-d872f2087c98
* Enables us to setproxysettings through the chromeos options UI and have it ↵beeps@chromium.org2012-09-181-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | propogate to the system. TestingAutomationProvider Get/SetProxySettings: 1. uses profile on shell 2. handles shared proxy settings through internetoptionshandler 3. changed setproxysettings from a browserhandler call to handler call Pyauto.py: 1. Gets servicepath and network type for sharedproxysettings call 2. uses network_type parameter (used to be windex) to get network information, since setproxysettings is now a handler call. Chromeos_proxy.py: 1. changed to check value in result dictionary instead of presence of key 2. navigate to url and perform setup needed to setproxysettings TEST=functional/chromeos_proxy.py BUG=27040 Review URL: https://chromiumcodereview.appspot.com/10829388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157295 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156629 - Converted policy_prefs_ui.py pyauto test to a browser_test.miket@chromium.org2012-09-131-0/+10
| | | | | | | | | | | | BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10905223 TBR=joaodasilva@chromium.org Review URL: https://codereview.chromium.org/10918235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156662 0039d316-1c4b-4281-b951-d872f2087c98
* Converted policy_prefs_ui.py pyauto test to a browser_test.joaodasilva@chromium.org2012-09-131-10/+0
| | | | | | | | | BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10905223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156629 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the popups pyauto test to browser_tests.jam@chromium.org2012-09-011-12/+0
| | | | | | | | | | | | testPopupBlockedEverySec: I didn't port this since it seemed redundant with other tests, and it's permanently disabled anyways. testPopupBlockerEnabled is a duplicate of a subset of testLaunchBlockedPopup. same with the incognito version testAllowPopupsFromExternalSite was really just testing that an exception works, not that it's going to an external networkw which we don't want for tests. I rewrote it to use a local url. testBlockedPopupNotShowInHistory is testing something that's not the current behavior, which is why it's disabled. if this changes, someone can add a test for the new behavior then BUG=143637,83827,47935 Review URL: https://chromiumcodereview.appspot.com/10913043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154602 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154464 - Revert 154453 - Remove the translate pyauto test to chrome ↵jam@chromium.org2012-08-311-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests and all the supporting automation hooks. I've added new tests for the non-duplicate cases. Most of the Chrome tests use a test harness to avoid network requests to the Translate server, which is inline with our testing phiolosophy (i.e. new bots don't even have network access). There is a browser_test in BrowserTest.PageLanguageDetection. testTranslate is a duplicate of TranslateManagerTest.NormalTranslate testNoTranslate is a duplicate of TranslateManagerTest.MultipleOnPageContents and TranslateManagerTest.DenyTranslateInPageNavigation testNeverTranslateLanguage and testAlwaysTranslateLanguage are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons testNeverTranslateSite is a duplicate of TranslateManagerTest.NeverTranslateSitePref testRevert is a duplicate of TranslateManagerTest.ServerReportsUnsupportedLanguage testBarNotVisibleOnSSLErrorPage seems unnecessary, i.e. we don't check that infobar comes up for all of our internal pages testBarNotVisibleOnEnglishPage is a duplicate of TranslateManagerTest.AutoTranslateOnNavigate testTranslateDiffURLs, like in other pyauto test suites, seems unnecessary (i.e. we don't retest every feature across all schemes) testNotranslateMetaTag is a duplicate of ChromeRenderViewTest.TranslatablePage testToggleTranslateOption is a duplicate of TranslateManagerTest.AlwaysTranslateLanguagePref testGoBackAndForwardToTranslatePage: the interesting bits are tested by ChromeRenderViewTest.BackToTranslatablePage testForCrashedTab seems unnecessary, we don't verify that all infobars are gone when a page crashes testTranslatePrefs is a duplicate of of TranslateManagerTest.TranslateEnabledPref testAlwaysTranslateLanguageButton and testNeverTranslateLanguageButton are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons testChangeTargetLanguageAlwaysTranslate: I added a reload step to TranslateManagerTest.NormalTranslate to cover this testHistoryNotTranslated and testDownloadsNotTranslated: I added a simple unittest for them testSeveralLanguages is redundant with many of the above tests testMultipleTabsAndWindows is not very useful testAlwaysTranslateInIncognito is a duplicate of a subset of TranslateManagerTest.AlwaysTranslateLanguagePref testNoTranslateInfobarAfterNeverTranslate is a duplicate of TranslateManagerTest.NeverTranslateLanguagePref testGoBackAndForwardToTranslatePage is a duplicate of ChromeRenderViewTest.BackToTranslatablePage testSessionRestore: I added a browser test for (BrowserTest.SessionRestore) BUG=143637,95140,129802,12648,12639 Review URL: https://chromiumcodereview.appspot.com/10922002 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917042 TBR=dmazzoni@chromium.org Review URL: https://chromiumcodereview.appspot.com/10914041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154466 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154453 - Remove the translate pyauto test to chrome tests and all the ↵dmazzoni@chromium.org2012-08-311-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supporting automation hooks. I've added new tests for the non-duplicate cases. Most of the Chrome tests use a test harness to avoid network requests to the Translate server, which is inline with our testing phiolosophy (i.e. new bots don't even have network access). There is a browser_test in BrowserTest.PageLanguageDetection. testTranslate is a duplicate of TranslateManagerTest.NormalTranslate testNoTranslate is a duplicate of TranslateManagerTest.MultipleOnPageContents and TranslateManagerTest.DenyTranslateInPageNavigation testNeverTranslateLanguage and testAlwaysTranslateLanguage are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons testNeverTranslateSite is a duplicate of TranslateManagerTest.NeverTranslateSitePref testRevert is a duplicate of TranslateManagerTest.ServerReportsUnsupportedLanguage testBarNotVisibleOnSSLErrorPage seems unnecessary, i.e. we don't check that infobar comes up for all of our internal pages testBarNotVisibleOnEnglishPage is a duplicate of TranslateManagerTest.AutoTranslateOnNavigate testTranslateDiffURLs, like in other pyauto test suites, seems unnecessary (i.e. we don't retest every feature across all schemes) testNotranslateMetaTag is a duplicate of ChromeRenderViewTest.TranslatablePage testToggleTranslateOption is a duplicate of TranslateManagerTest.AlwaysTranslateLanguagePref testGoBackAndForwardToTranslatePage: the interesting bits are tested by ChromeRenderViewTest.BackToTranslatablePage testForCrashedTab seems unnecessary, we don't verify that all infobars are gone when a page crashes testTranslatePrefs is a duplicate of of TranslateManagerTest.TranslateEnabledPref testAlwaysTranslateLanguageButton and testNeverTranslateLanguageButton are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons testChangeTargetLanguageAlwaysTranslate: I added a reload step to TranslateManagerTest.NormalTranslate to cover this testHistoryNotTranslated and testDownloadsNotTranslated: I added a simple unittest for them testSeveralLanguages is redundant with many of the above tests testMultipleTabsAndWindows is not very useful testAlwaysTranslateInIncognito is a duplicate of a subset of TranslateManagerTest.AlwaysTranslateLanguagePref testNoTranslateInfobarAfterNeverTranslate is a duplicate of TranslateManagerTest.NeverTranslateLanguagePref testGoBackAndForwardToTranslatePage is a duplicate of ChromeRenderViewTest.BackToTranslatablePage testSessionRestore: I added a browser test for (BrowserTest.SessionRestore) BUG=143637,95140,129802,12648,12639 Review URL: https://chromiumcodereview.appspot.com/10922002 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154464 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the translate pyauto test to chrome tests and all the supporting ↵jam@chromium.org2012-08-311-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automation hooks. I've added new tests for the non-duplicate cases. Most of the Chrome tests use a test harness to avoid network requests to the Translate server, which is inline with our testing phiolosophy (i.e. new bots don't even have network access). There is a browser_test in BrowserTest.PageLanguageDetection. testTranslate is a duplicate of TranslateManagerTest.NormalTranslate testNoTranslate is a duplicate of TranslateManagerTest.MultipleOnPageContents and TranslateManagerTest.DenyTranslateInPageNavigation testNeverTranslateLanguage and testAlwaysTranslateLanguage are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons testNeverTranslateSite is a duplicate of TranslateManagerTest.NeverTranslateSitePref testRevert is a duplicate of TranslateManagerTest.ServerReportsUnsupportedLanguage testBarNotVisibleOnSSLErrorPage seems unnecessary, i.e. we don't check that infobar comes up for all of our internal pages testBarNotVisibleOnEnglishPage is a duplicate of TranslateManagerTest.AutoTranslateOnNavigate testTranslateDiffURLs, like in other pyauto test suites, seems unnecessary (i.e. we don't retest every feature across all schemes) testNotranslateMetaTag is a duplicate of ChromeRenderViewTest.TranslatablePage testToggleTranslateOption is a duplicate of TranslateManagerTest.AlwaysTranslateLanguagePref testGoBackAndForwardToTranslatePage: the interesting bits are tested by ChromeRenderViewTest.BackToTranslatablePage testForCrashedTab seems unnecessary, we don't verify that all infobars are gone when a page crashes testTranslatePrefs is a duplicate of of TranslateManagerTest.TranslateEnabledPref testAlwaysTranslateLanguageButton and testNeverTranslateLanguageButton are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons testChangeTargetLanguageAlwaysTranslate: I added a reload step to TranslateManagerTest.NormalTranslate to cover this testHistoryNotTranslated and testDownloadsNotTranslated: I added a simple unittest for them testSeveralLanguages is redundant with many of the above tests testMultipleTabsAndWindows is not very useful testAlwaysTranslateInIncognito is a duplicate of a subset of TranslateManagerTest.AlwaysTranslateLanguagePref testNoTranslateInfobarAfterNeverTranslate is a duplicate of TranslateManagerTest.NeverTranslateLanguagePref testGoBackAndForwardToTranslatePage is a duplicate of ChromeRenderViewTest.BackToTranslatablePage testSessionRestore: I added a browser test for (BrowserTest.SessionRestore) BUG=143637,95140,129802,12648,12639 Review URL: https://chromiumcodereview.appspot.com/10922002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154453 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the browsing_data pyauto tests to chrome tests. Remove the ↵jam@chromium.org2012-08-221-7/+0
| | | | | | | | | | | | | | | | | ClearBrowsingData automation code since it's not used anymore. -browsing_data.testClearAutofillData was flaky because it exposed an actual problem in BrowsingDataRemover (it didn't wait for autofill data to be deleted). Fixed BrowsingDataRemover and added a unittest for removing form data along with the other BrowsingDataRemover unit tests. -browsing_data.testClearDownloads was hard to write as a unit test so I added a browser test -database.testDeleteAndUpdateDatabase was also converted to a browser test -the rest of the tests in browsing_data.py had equivalent unit tests in browsing_data_remover_unittest.cc -the clear password calls in the passwords test aren't needed since each test has a fresh profile Also fix a flake in the BrowsingDataRemoverTest harness. The end time needs to be pushed further into the future, since there could be pending writes. BUG=143637,141443,95165,123419 Review URL: https://chromiumcodereview.appspot.com/10866013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152782 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the autofill pyauto tests to browser tests, and remove all the ↵jam@chromium.org2012-08-211-68/+0
| | | | | | | | | | | | | | | supporting automation hooks that are no longer necessary. Tests I left: -AutofillCrowdsourcing: this is a manual, non-automated test against the autofill server. I've been told it's not used, but I left it anyways. It was composed of two parts: testing chrome autofill works and sending the resulting form to the server. The former is tested in many tests already, so I took that out. -autofill edit address dialog tests: these are using webdriver. Also remove the autofill tests in sync.py since they used the same automation hooks. testAutofillProfileSync is redundant because many of the tests in two_client_autofill_sync_test.cc do this. For testNoCreditCardSync, I added a test case in two_client_autofill_sync_test.cc. BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10855253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152560 0039d316-1c4b-4281-b951-d872f2087c98
* Final set of conversions of automation calls to the JSON interface.craigdh@chromium.org2012-08-131-28/+22
| | | | | | | | | | | | Converts the old bookmark automation commands. TEST=PyAuto CONTINUOUS suite BUG=132794 Review URL: https://chromiumcodereview.appspot.com/10828245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151380 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests.craigdh@chromium.org2012-08-071-20/+31
| | | | | | | | | | BUG=132789, 132794 TEST=PyAuto CONTINUOUS suite Review URL: https://chromiumcodereview.appspot.com/10830193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150434 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more automation calls to the JSON interface.craigdh@chromium.org2012-08-011-3/+31
| | | | | | | | | | | | | | | | | OpenFindInPage IsFindInPageVisible ResetToDefaultTheme OpenNewBrowserWindow CloseBrowserWindow GetBrowserWindowCount BUG=132794 TEST=PyAuto CONTINUOUS suite Review URL: https://chromiumcodereview.appspot.com/10836015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149527 0039d316-1c4b-4281-b951-d872f2087c98
* Convert cookie and download automation commands to the JSON interface.craigdh@chromium.org2012-07-271-14/+61
| | | | | | | | | | | | | GetCookie, SetCookie, DeleteCookie, SetDownloadShelfVisible, IsDownloadShelfVisible, GetDownloadDirectory BUG=132794 TEST=PyAuto CONTINUOUS suite Review URL: https://chromiumcodereview.appspot.com/10804038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148809 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] pyauto.CancelOOBEUpdate always returns a non-empty dict with ↵ivankr@chromium.org2012-07-261-1/+0
| | | | | | | | | | | | 'next_screen'. BUG=None TEST=chromeos_oobe.py Review URL: https://chromiumcodereview.appspot.com/10821031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148587 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more PyAuto proxy calls to the JSON interface.craigdh@chromium.org2012-07-241-0/+24
| | | | | | | | | | | | | | | Converts: ActivateTab, GetTabCount, GetActiveTabTitle, GetActiveTabURL Adds: BringBrowserToFront, GetTabInfo BUG=132794 TEST=PyAuto CONTINUOUS suite Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147748 Review URL: https://chromiumcodereview.appspot.com/10790055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148222 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 147748 - Convert more PyAuto proxy calls to the JSON interface.nirnimesh@chromium.org2012-07-211-24/+0
| | | | | | | | | | | | | | | | | | | | +++ REVERT NOTICE +++ Broke all pyauto bots +++ +++ Converts: ActivateTab, GetTabCount, GetActiveTabTitle, GetActiveTabURL Adds: BringBrowserToFront, GetTabInfo BUG=132794 TEST=PyAuto CONTINUOUS suite Review URL: https://chromiumcodereview.appspot.com/10790055 TBR=craigdh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10796078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147787 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more PyAuto proxy calls to the JSON interface.craigdh@chromium.org2012-07-211-0/+24
| | | | | | | | | | | | | Converts: ActivateTab, GetTabCount, GetActiveTabTitle, GetActiveTabURL Adds: BringBrowserToFront, GetTabInfo BUG=132794 TEST=PyAuto CONTINUOUS suite Review URL: https://chromiumcodereview.appspot.com/10790055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147748 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 147517 - there are outstanding review comments.jam@chromium.org2012-07-191-47/+0
| | | | | | | | | | | | | | | Basic hooks for web intents pyauto tests. TEST=python chrome/test/functional/webintents.py Review URL: https://chromiumcodereview.appspot.com/10692143 TBR=danhn@chromium.org Review URL: https://chromiumcodereview.appspot.com/10796046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147525 0039d316-1c4b-4281-b951-d872f2087c98
* Basic hooks for web intents pyauto tests.danhn@chromium.org2012-07-191-0/+47
| | | | | | | | | TEST=python chrome/test/functional/webintents.py Review URL: https://chromiumcodereview.appspot.com/10692143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147517 0039d316-1c4b-4281-b951-d872f2087c98
* Convert PyAuto's ApplyAccelerator, RunCommand, and IsMenuCommandEnabled to ↵craigdh@chromium.org2012-07-141-0/+31
| | | | | | | | | | | the JSON automation interface. BUG=132794 TEST=functional/shortcuts.py, functional/policy.py policy.PolicyTest.testJavascriptPolicies Review URL: https://chromiumcodereview.appspot.com/10758023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146698 0039d316-1c4b-4281-b951-d872f2087c98
* Convert PyAuto's NavigateToURL, GetActiveTabIndex, Refresh, ↵craigdh@chromium.org2012-07-131-0/+18
| | | | | | | | | | | RefreshActiveTab, and AppendTab to the JSON interface. BUG=132794 TEST=chrome/test/functional/browser.py, chrome/test/functional/navigation.py, CONTINUOS suite, indexeddb.IndexedDBTest.testConnectionsClosedOnTabClose, indexeddb.IndexedDBTest.testVersionChangeCrashResilience, shortcuts.ShortcutsTest.testReopenClosedTabShortcut Review URL: https://chromiumcodereview.appspot.com/10693168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146531 0039d316-1c4b-4281-b951-d872f2087c98
* Move implementation of BrowserList onto an inner, instantiatable class, ↵ben@chromium.org2012-07-121-3/+3
| | | | | | | | | | | | | | BrowserListImpl. This is so we can create one BrowserListImpl per universe. Eventually we'll get rid of BrowserList, but for now this change strives for compat. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10690151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146476 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 146273 - Convert PyAuto's NavigateToURL, GetActiveTabIndex, Refresh, ↵joi@chromium.org2012-07-121-18/+0
| | | | | | | | | | | | | | | | | | | RefreshActiveTab, and AppendTab to the JSON interface. BUG=132794 TEST=chrome/test/functional/browser.py, chrome/test/functional/navigation.py Reason for revert is that the following tests started failing every run after this: indexeddb.IndexedDBTest.testConnectionsClosedOnTabClose indexeddb.IndexedDBTest.testVersionChangeCrashResilience shortcuts.ShortcutsTest.testReopenClosedTabShortcut Review URL: https://chromiumcodereview.appspot.com/10692067 TBR=craigdh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10704188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146354 0039d316-1c4b-4281-b951-d872f2087c98
* Convert PyAuto's NavigateToURL, GetActiveTabIndex, Refresh, ↵craigdh@chromium.org2012-07-121-0/+18
| | | | | | | | | | | | RefreshActiveTab, and AppendTab to the JSON interface. BUG=132794 TEST=chrome/test/functional/browser.py, chrome/test/functional/navigation.py Review URL: https://chromiumcodereview.appspot.com/10692067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146273 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Remove browser::FindTabbedBrowser call in ui test code.jam@chromium.org2012-07-101-1/+0
| | | | | | | BUG=129187 Review URL: https://chromiumcodereview.appspot.com/10704129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145936 0039d316-1c4b-4281-b951-d872f2087c98
* Initial refactor of pyautolib and TestingAutomationProvider in preparation ↵craigdh@chromium.org2012-07-021-1/+17
| | | | | | | | | | | | | for removing proxy dependencies. This *should not* break IPC compatability with previous versions of Chrome, unlike the previous issue http://codereview.chromium.org/10534163/. TEST=functional/apptest.py, functional/browser.py, functional/navigation.py BUG=132789, 135059 Review URL: https://chromiumcodereview.appspot.com/10692061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145212 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 144610 (speculative; possibly caused http://crbug.com/135059)thakis@chromium.org2012-06-291-17/+1
| | | | | | | | | | | | | | | - First pass at refactoring pyautolib in preparation for removing proxy dependencies. BUG=132789 TEST=functional/apptest.py, functional/browser.py, functional/navigation.py Review URL: https://chromiumcodereview.appspot.com/10534163 TBR=craigdh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10703040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144868 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at refactoring pyautolib in preparation for removing proxy ↵craigdh@chromium.org2012-06-271-1/+17
| | | | | | | | | | | | dependencies. BUG=132789 TEST=functional/apptest.py, functional/browser.py, functional/navigation.py Review URL: https://chromiumcodereview.appspot.com/10534163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144610 0039d316-1c4b-4281-b951-d872f2087c98