summaryrefslogtreecommitdiffstats
path: root/chrome/test/unit/unit_tests.scons
Commit message (Collapse)AuthorAgeFilesLines
* Construct AudioRendererHost in BrowserRendererProcessHost, also constructhclam@chromium.org2009-02-111-0/+1
| | | | | | | | ResourceMessageFilter with pointer to it so we can delegate requests to it from IPC later. Review URL: http://codereview.chromium.org/20131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9551 0039d316-1c4b-4281-b951-d872f2087c98
* Porting unit tests in chrome/phajdan.jr@chromium.org2009-02-101-6/+2
| | | | | | | | | | | | | | | | | | | | | - Make following unit tests compile and pass on Linux: browser/ command_updater_unittest.cc metrics/metrics_log_unittest.cc search_engines/template_url_parser_unittest.cc search_engines/template_url_prepopulate_data_unittest.cc - Add renderer/renderer_main_unittest.cc to list of compiled files (currently stubbed out on Linux) - Remove DebuggerWrapper stubs and make more files from browser/debugger build on Linux. - Sync XCode project file. - Misc cleanups needed for GCC. Review URL: http://codereview.chromium.org/21181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9490 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Clean up dns prefetch code, and also port it."tc@google.com2009-02-061-1/+1
| | | | | | | | | | | | | | | | This reverts commit r9312. Revert "Fix HostResolver crash when MessageLoop is destroyed during" This reverts commit r9317. BUG=5687,6683 TBR=ph Review URL: http://codereview.chromium.org/21133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9325 0039d316-1c4b-4281-b951-d872f2087c98
* Enable more SafeBrowsing unittests on Mac and linux.paul@chromium.org2009-02-061-1/+0
| | | | | | Review URL: http://codereview.chromium.org/21130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9323 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up dns prefetch code, and also port it.phajdan.jr@chromium.org2009-02-061-1/+1
| | | | | | | | | | | | | | - remove slave threads and use HostResolver in asynchronous mode instead (while still limiting number of concurrent lookups) - make the implementation portable and make DnsMaster unit test compile and pass on Linux - add more tests to DnsMaster unit test to simulate various shutdown scenarios, concurrent lookups, and to verify that we don't exceed our limit of concurrent lookup requests) - remove some tests which relied on specifics of slaves' inner working Bonus: shutdown is almost instant now, no need to have a timeout. BUG=5687, 6683 Review URL: http://codereview.chromium.org/15076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9312 0039d316-1c4b-4281-b951-d872f2087c98
* Make render_widget_host_unittest compile and run on POSIX.thestig@chromium.org2009-02-061-1/+1
| | | | | | Review URL: http://codereview.chromium.org/20115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9288 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate URLPattern with Extension user scripts.aa@chromium.org2009-02-051-1/+1
| | | | | | | | | | Also refactored the UserScript class in UserScriptSlave and the UserScriptInfo structure in UserScriptMaster into a common location. Review URL: http://codereview.chromium.org/21070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9270 0039d316-1c4b-4281-b951-d872f2087c98
* Usual round of porting in chrome/phajdan.jr@chromium.org2009-02-051-2/+0
| | | | | | | | | | | | | | | | - make following unit tests run and pass on Linux: browser/cache_manager_host_unittest.cc browser/google_url_tracker_unittest.cc - trivial cleanups needed for GCC - remove CacheManagerHost and ResolveProxyMsgHelper from temporary scaffolding stubs and use real implementations instead - update chrome.xcodeproj to reflect above change Review URL: http://codereview.chromium.org/20057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9215 0039d316-1c4b-4281-b951-d872f2087c98
* Make mock_render_process_host, test_web_contents, and testing_profile ↵thestig@chromium.org2009-02-051-4/+0
| | | | | | | | compile on POSIX. Review URL: http://codereview.chromium.org/23005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9200 0039d316-1c4b-4281-b951-d872f2087c98
* Include test_web_contents in windows scons build, take 2.estade@chromium.org2009-02-041-2/+5
| | | | | | Review URL: http://codereview.chromium.org/20008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9144 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my change to get the tree green. Not sure why the tests became ↵jam@chromium.org2009-02-041-0/+1
| | | | | | | | | | flaky. I'll try to check them in again but in smaller chunks tomorrow. TBR=mpcomplete Review URL: http://codereview.chromium.org/21039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9132 0039d316-1c4b-4281-b951-d872f2087c98
* Make it easier/less work/less error-prone to create new IPC channel types ↵jam@chromium.org2009-02-041-1/+0
| | | | | | | | (i.e. renderer/plugin).Instead of having each message file include the internal one several times with different ifdefs, move that logic to ipc_message_macros.h. Also make the message class starting IDs come from an enum to ensure we don't use a value twice. I simplified the logging code a bit so we don't need X_messages.cc files.Clean up places that we were doing manual packing/unpacking. Most of this was in the automation code. I added a few new template functions to make it convenient to read the parameters from a message, and updated the code to use them.I also removed unnecessary includes of render/plugin_messages.h from headers to speed up compiling.I moved the traits of IPC structs beside the struct definition to make it more apparent what's going on, so we avoid people modifying the struct and forgetting to update the traits.Amit: please look at chrome/test/automation/tab_proxy.ccMarc-Antoine: chrome/browser/printing/*Matt: the rest Review URL: http://codereview.chromium.org/20015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9123 0039d316-1c4b-4281-b951-d872f2087c98
* Porting unit tests.phajdan.jr@chromium.org2009-02-031-4/+1
| | | | | | Review URL: http://codereview.chromium.org/19723 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9079 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9060.ojan@google.com2009-02-031-5/+2
| | | | | | | Broke linux build Review URL: http://codereview.chromium.org/21002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9061 0039d316-1c4b-4281-b951-d872f2087c98
* Add test_web_contents to scons build.estade@chromium.org2009-02-031-2/+5
| | | | | | Review URL: http://codereview.chromium.org/19762 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9060 0039d316-1c4b-4281-b951-d872f2087c98
* Port some unit tests from chrome/browser/phajdan.jr@chromium.org2009-02-021-5/+0
| | | | | | | | Makes over 200 tests pass on Linux. Review URL: http://codereview.chromium.org/18758 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9041 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce UrlPattern. This is basically me resuming work onaa@chromium.org2009-02-021-0/+1
| | | | | | | | | | | | issue 14106, but as it is a complete rewrite, I have started a new issue. I also added supporting JoinString() and ReplaceAll() utility functions. Review URL: http://codereview.chromium.org/19704 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9031 0039d316-1c4b-4281-b951-d872f2087c98
* Move proxy resolve requests out of plugin/renderer process, and into the ↵ericroman@google.com2009-01-311-0/+2
| | | | | | | | browser. Review URL: http://codereview.chromium.org/14142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9006 0039d316-1c4b-4281-b951-d872f2087c98
* Fix our link madness on linux. We now properly linktc@google.com2009-01-291-13/+1
| | | | | | | | | | | | | | | webkit into unit_tests. There was also a problem with simple_clipboard_impl.cc which should only be compiled into test_shell. I can't remove mock_webkit_glue.cc until I verify that the mac build doesn't need it anymore. Review URL: http://codereview.chromium.org/19474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8910 0039d316-1c4b-4281-b951-d872f2087c98
* Makes unit tests depend upon chrome_exe.sky@google.com2009-01-281-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/19432 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8810 0039d316-1c4b-4281-b951-d872f2087c98
* Write some basic RenderWidgetHost unittests for the more tricky behavior.brettw@chromium.org2009-01-281-0/+2
| | | | | | Review URL: http://codereview.chromium.org/19419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8806 0039d316-1c4b-4281-b951-d872f2087c98
* Another merge conflictjrg@chromium.org2009-01-281-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8786 0039d316-1c4b-4281-b951-d872f2087c98
* Merge conflict (crossed wires; this file was added somewhere else)jrg@chromium.org2009-01-281-1/+0
| | | | | | Review URL: http://codereview.chromium.org/19415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8785 0039d316-1c4b-4281-b951-d872f2087c98
* Unit test addition, cleanup for render_process/thread.jrg@chromium.org2009-01-281-0/+5
| | | | | | Review URL: http://codereview.chromium.org/19606 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8782 0039d316-1c4b-4281-b951-d872f2087c98
* Try2 of issue 18772. (move jpeg_codec* to base/gfx)estade@chromium.org2009-01-271-1/+0
| | | | | | Review URL: http://codereview.chromium.org/18838 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8699 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 8627,8625.maruel@chromium.org2009-01-261-1/+1
| | | | | | Review URL: http://codereview.chromium.org/18598 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8628 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up dns prefetch code, and also port it.phajdan.jr@chromium.org2009-01-261-1/+1
| | | | | | | | BUG=5687, 6683 Review URL: http://codereview.chromium.org/15076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8625 0039d316-1c4b-4281-b951-d872f2087c98
* Try again to commit r8486, which updates the manifestaa@chromium.org2009-01-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | parsing in the Extension class to also parse out user script details. The problem was that extension_protocols.cc appears to link OK if you don't refer to anything in it, but as soon as you try to use something defined in it, a bunch of other symbols it refers to turn up undefined. To avoid this problem in the future, I stopped compiling extensions_protocol.cc so that we would realize if we tried to use it. Also in this change, I absolutified paths in ExtensionsService before creating Extension instances. On Linux, the path that PathService was giving us was not absolute. Review URL: http://codereview.chromium.org/18704 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8576 0039d316-1c4b-4281-b951-d872f2087c98
* Fix strings in url_fixer_upper.estade@chromium.org2009-01-231-1/+0
| | | | | | | | | | * change URLs from wstring to string * change filenames from wstring to FilePath * url_fixer_upper{_unittest}.cc building on posix Review URL: http://codereview.chromium.org/18525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8536 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Parse more user script info out of the manifest and expose"aa@chromium.org2009-01-221-0/+1
| | | | | | | | This reverts commit fc3fd1062c06f803775c16d11f742d85d540e415. Review URL: http://codereview.chromium.org/18681 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8494 0039d316-1c4b-4281-b951-d872f2087c98
* Parse more user script info out of the manifest and exposeaa@chromium.org2009-01-221-1/+0
| | | | | | | | | | | | | | | | | it on the Extension class. Removed Extension::CopyToValue() because it was only being used in unit tests. Centralize functions for creation of absolute URLs and paths to extension resources in Extension class and move corresponding unit tests. Various other minor nitpickery. Review URL: http://codereview.chromium.org/18352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8486 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome.dll's resources to unit_tests.exe for "in-process" testing.maruel@chromium.org2009-01-211-2/+28
| | | | | | | Add missing .h files in chrome_dll.vcproj. Review URL: http://codereview.chromium.org/18605 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8366 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the scons buildben@chromium.org2009-01-211-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8357 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Get IPCSyncChannel unittests workingagl@chromium.org2009-01-201-1/+0
| | | | | | | Review URL: http://codereview.chromium.org/18324 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8328 0039d316-1c4b-4281-b951-d872f2087c98
* Shuffle unit_tests.scons.maruel@chromium.org2009-01-201-146/+167
| | | | | | | | Add missing mock_render_process_host.*. Remove focus_manager_unittest.cc duplicate entry in unit_tests.vcproj. Review URL: http://codereview.chromium.org/18411 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8303 0039d316-1c4b-4281-b951-d872f2087c98
* fix win scons unit test compiletc@google.com2009-01-181-1/+2
| | | | | | | | | Some files were moved and include path needed to be updated. There are still link problems, but this gets us closer. Review URL: http://codereview.chromium.org/18169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8264 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot test file in the CL for the test sink change.brettw@chromium.org2009-01-171-0/+1
| | | | | | Review URL: http://codereview.chromium.org/18348 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8256 0039d316-1c4b-4281-b951-d872f2087c98
* Generate all chrome .vcproj files:sgk@google.com2009-01-171-19/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Path name translation (/ to \) of various MSVSTool attributes. * Explicit keyword= arguments to MSVSProject. This will likely go away eventually in favor of uniform behavior. * Add a relative_path_substitutions array that can be used to substitute in Visual Studio variable like $(OutDir). * Add a local_directory_prefix that can be set to './' to only affect files in the current directory. * Additional Keyword ordering in Tool attributes to continue to match the default order Visual Studio generates. * Add a Derived() proxy class that can wrap a File node to tell the .vcproj generation that we want the derived file, not its source(s), in the file list. * In the individual *.scons files, add the necessary files (mostly .h files) to file lists, and update MSVSProject() calls with the additional necessary information. Result is identical .vcproj files modulo the following differences: * Four locales .vcproj files (da, en-US, he and zh-TW) with source file orders that don't match the other locale .vcproj files have re-ordered file lists to match the rest. * Cosmetic XML changes (white space, ending tags) in: chrome/app/chrome_dll.vcproj chrome/app/generated_resources.vcproj net/build/net_resources.vcproj * Removal or addition of ./ prefixes from various files that don't match the other file specifications within their individual .vcproj files: chrome/installer/util/util.vcproj net/build/net.vcproj net/build/net_unittests.vcproj * Add missing empty sections (<ToolFiles>, <References>, <Globals>) for consistency with other .vcproj files: chrome/tools/test/image_diff/image_diff.vcproj third_party/libpng/libpng.vcproj third_party/zlib/zlib.vcproj * Add missing RootNameSpace attribute: chrome/test/automation/automation.vcproj testing/gtest.vcproj * Use && instead of \r\n as a command separator, to sidestep XML-generation problems: chrome/app/chrome_exe.vcproj * Remove unnecessary (?) duplicate files in the file list: chrome/browser/views/browser_views.vcproj (event_utils.cc and event_utils.h were duplicated) Review URL: http://codereview.chromium.org/17603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8253 0039d316-1c4b-4281-b951-d872f2087c98
* fix linuxben@chromium.org2009-01-161-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8225 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux unittest bustageben@chromium.org2009-01-161-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8158 0039d316-1c4b-4281-b951-d872f2087c98
* Move search code to a subdirben@chromium.org2009-01-161-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8148 0039d316-1c4b-4281-b951-d872f2087c98
* Fie.ben@chromium.org2009-01-151-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8111 0039d316-1c4b-4281-b951-d872f2087c98
* Move search engines files into subdirben@chromium.org2009-01-151-4/+4
| | | | | | Review URL: http://codereview.chromium.org/18263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8108 0039d316-1c4b-4281-b951-d872f2087c98
* post-winhttp cleanup: refactor net/base/auth_cache into net/ftp/ftp_auth_cache.ericroman@google.com2009-01-151-0/+1
| | | | | | | | Also moves AuthCache::HttpKey() --> GetSignonRealmKey(). Review URL: http://codereview.chromium.org/18218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8085 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in chrome/common/phajdan.jr@chromium.org2009-01-141-0/+1
| | | | | | Review URL: http://codereview.chromium.org/17604 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8020 0039d316-1c4b-4281-b951-d872f2087c98
* Add more tests to unit_tests on Linux, and some platform cleanups.phajdan.jr@chromium.org2009-01-121-5/+8
| | | | | | Review URL: http://codereview.chromium.org/17277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7864 0039d316-1c4b-4281-b951-d872f2087c98
* This is a rename of the term 'Greasemonkey' to 'user script' in Chromium.aa@chromium.org2009-01-091-2/+2
| | | | | | | | | | | I'm doing this to avoid confusion with the Firefox version of Greasemonkey and also because 'user script' is really the correct generic term. At the same time, I also moved user_script_master* into extensions/ because I want these two pieces to get closer and closer such that standalone user scripts are just a very small extension. Also extensions will be relying on most of the user script code. Review URL: http://codereview.chromium.org/17281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7827 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7574 which reverted 7570. It was an error on my part.maruel@chromium.org2009-01-061-2/+2
| | | | | | Review URL: http://codereview.chromium.org/16529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7575 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7570.maruel@chromium.org2009-01-061-2/+2
| | | | | | Review URL: http://codereview.chromium.org/16528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7574 0039d316-1c4b-4281-b951-d872f2087c98
* * Port l10n_utiL and it's unit test on POSIX.jeremy@chromium.org2009-01-051-2/+2
| | | | | | | | * Bringup visit_database_unittest.cc on POSIX Review URL: http://codereview.chromium.org/17025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7570 0039d316-1c4b-4281-b951-d872f2087c98