diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-26 16:58:50 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-26 16:58:50 +0000 |
commit | 694179b0250d6a690cf878b343f1668e81d9d6fd (patch) | |
tree | e21b54cbc1abee676b7137cda381a0af1fc43134 /apps/DEPS | |
parent | ab2b8c100624bd9c575967b8b8d42653dbf0d2cc (diff) | |
download | chromium_src-694179b0250d6a690cf878b343f1668e81d9d6fd.zip chromium_src-694179b0250d6a690cf878b343f1668e81d9d6fd.tar.gz chromium_src-694179b0250d6a690cf878b343f1668e81d9d6fd.tar.bz2 |
Initial integration tests for the App Shim domain socket and IPC.
Integration testing for the app shim socket is difficult in
browser_tests because the nested temp dirs used by test swarming make a
deep directory hierarchy that exceeds the path limits for UNIX domain
sockets. This limit is only 104 characters because the kernel crams it
into a struct sockaddr_un. See `man 4 unix`.
This CL works around the path length limitation by creating a symlink in
a temporary folder under /tmp. Since app shims only exist on Mac, we
know /tmp will exist since Mac conforms to IEEE standard P1003.2 (POSIX,
part 2) via it's UNIX 03 certification.
Initial tests are added for non-argument "launch" IPC messages, and the
listening socket creation/destruction and error handling. This gives
explicit integration coverage to a range of fixes in the bugs below.
BUG=292566, 272577, 240554, 242941
Review URL: https://codereview.chromium.org/23463011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/DEPS')
-rw-r--r-- | apps/DEPS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,6 +60,8 @@ specific_include_rules = { "+chrome/browser/extensions/extension_test_message_listener.h", "+chrome/browser/extensions/test_extension_environment.h", "+chrome/browser/extensions/test_extension_prefs.h", + "+chrome/browser/ui/browser.h", + "+chrome/test/base/in_process_browser_test.h", "+chrome/test/base/interactive_test_utils.h", "+chrome/test/base/testing_profile.h", # Temporary allowed testing include. |