Files
platform-external-webrtc/third_party/ocmock
Artem Titov 739351d476 Roll chromium_revision 95336cb92b..191d55580e (557816:557824)
Change log: 95336cb92b..191d55580e
Full diff: 95336cb92b..191d55580e

Roll chromium third_party 4e16929f46..3a8f2a9e1e
Change log: 4e16929f46..3a8f2a9e1e

Changed dependencies:
* src/tools: c44a3f5eca..f524a53b81
DEPS diff: 95336cb92b..191d55580e/DEPS

No update to Clang.

TBR=titovartem@google.com,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e
Reviewed-on: https://webrtc-review.googlesource.com/76120
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23205}
2018-05-11 11:17:05 +00:00
..

Name: ocmock
URL: https://github.com/erikdoe/ocmock
Version: 3.1.5
Revision: f03b3cc126edc8d6a2d4466d227fb41a1b2c2a14
License: Apache Version 2.0
License File: NOT_SHIPPED
Security Critical: no

Description:
OCMock is an Objective-C implementation of mock objects. If you are unfamiliar
with the concept of mock objects please visit mockobjects.com which has more
details and discussions about this approach to testing software.

Local Modifications:
This is only a partial inclusion of the OCMock tree. This only includes
/Source/OCMock because the tests and other files are not necessary for Chromium.
The License.txt and Changes.txt file are also present from /Source.

Chromium can no longer sync to the tip-of-tree because upstream OCMock requires
OS X 10.11.

Chromium adds gtest_support.h/.mm and ocmock_extensions.h/.mm.

Chromium patches in 3e193f3c2d4ea4ada63df54c8ce98e7ea4cf768f to use OCMock with
libc++'s string for return types having vtables.

Chromium patches in c32abcaba428921d8ac12ac98b272ecf8241f9bb and
33aeea46b0912d9f57ff0ee2763f2667ac099acc to allow the use of .andReturn(...)
because our version of clang does not support __builtin_types_compatible_p.
As we are building with Objective-C++, we need to add 'extern "C"' in
OCMFunctions.h to have C linkage.

Chromium patches in a fix for crbug.com/731129 to assume that unnamed types
are equal to named ones (see bug for example of types). This is probably due
to differences between the type embedded by Chromium version of clang and by
the introspection used by Xcode 9 SDK.

Chromium patches in https://github.com/erikdoe/ocmock/pull/343 to fix the
comparison of structure representation as strings (again).