README.chromium 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Name: ocmock
  2. URL: https://github.com/erikdoe/ocmock
  3. Version: 3.1.5
  4. Revision: f03b3cc126edc8d6a2d4466d227fb41a1b2c2a14
  5. License: Apache Version 2.0
  6. License File: NOT_SHIPPED
  7. Security Critical: no
  8. Description:
  9. OCMock is an Objective-C implementation of mock objects. If you are unfamiliar
  10. with the concept of mock objects please visit mockobjects.com which has more
  11. details and discussions about this approach to testing software.
  12. Local Modifications:
  13. This is only a partial inclusion of the OCMock tree. This only includes
  14. /Source/OCMock because the tests and other files are not necessary for Chromium.
  15. The License.txt and Changes.txt file are also present from /Source.
  16. Chromium can no longer sync to the tip-of-tree because upstream OCMock requires
  17. OS X 10.11.
  18. Chromium adds gtest_support.h/.mm and ocmock_extensions.h/.mm.
  19. Chromium patches in 3e193f3c2d4ea4ada63df54c8ce98e7ea4cf768f to use OCMock with
  20. libc++'s string for return types having vtables.
  21. Chromium patches in c32abcaba428921d8ac12ac98b272ecf8241f9bb and
  22. 33aeea46b0912d9f57ff0ee2763f2667ac099acc to allow the use of .andReturn(...)
  23. because our version of clang does not support __builtin_types_compatible_p.
  24. As we are building with Objective-C++, we need to add 'extern "C"' in
  25. OCMFunctions.h to have C linkage.
  26. Chromium patches in a fix for crbug.com/731129 to assume that unnamed types
  27. are equal to named ones (see bug for example of types). This is probably due
  28. to differences between the type embedded by Chromium version of clang and by
  29. the introspection used by Xcode 9 SDK.
  30. Chromium patches in https://github.com/erikdoe/ocmock/pull/343 to fix the
  31. comparison of structure representation as strings (again).
  32. Chromium patches in a fix for iOS15 ptrath failures in OCMArg to cache all
  33. OCMPassByRefSetters rather than checking with object_getClass.