1. 12 Apr, 2018 6 commits
    • Gennadiy Civil's avatar
      · fa658e0c
      Gennadiy Civil authored
      merging 
      fa658e0c
    • Gennadiy Civil's avatar
      · c67f51b5
      Gennadiy Civil authored
      msvc
      c67f51b5
    • Gennadiy Civil's avatar
      · 9b5940e0
      Gennadiy Civil authored
      revert this one
      9b5940e0
    • Gennadiy Civil's avatar
      · b2d81b4f
      Gennadiy Civil authored
      merge, ... gmock-matchers test
      b2d81b4f
    • Gennadiy Civil's avatar
      small cleanup · e77deb29
      Gennadiy Civil authored
      e77deb29
    • Victor Costan's avatar
      Remove multiple inheritance from "unintesting call" mock classes. · 1324e2d7
      Victor Costan authored
      Internal CL 156157936, which was published in commit
      fe402c27, introduced undefined behavior
      by casting a base class (internal::{Naggy,Nice,Strict}Base<MockClass>,
      using the curiously recurring template pattern) pointer to a derived
      class ({Naggy,Nice,Strict}Mock<MockClass>), in the base class'
      constructor. At that point, the object isn't guaranteed to have taken on
      the shape of the derived class, and casting is undefined behavior.
      
      The undefined behavior was caught by Chrome's CFI build bot [1], and
      prevents rolling googletest past that commit / CL.
      
      This commit simplifies the {Naggy,Nice,Strict}Mock class hierarchy in
      a way that removes the undefined behavior.
      
      [1] https://www.chromium.org/developers/testing/control-flow-integrity
      1324e2d7
  2. 11 Apr, 2018 8 commits
  3. 10 Apr, 2018 4 commits
  4. 09 Apr, 2018 16 commits
  5. 07 Apr, 2018 1 commit
    • Victor Costan's avatar
      Sync gmock-generated-nice-strict.h.pump with gmock-generated-nice-strict.h. · 51f8ad47
      Victor Costan authored
      Commit fe402c27 published the changes in
      internal CL 156157936, but missed the diff in
      gmock-generated-nice-strict.h.pump. This makes it difficult to reason
      about the change, because the .pump file is more concise than the
      generated file.
      
      This PR was tested by re-generating the .h file using the command below
      and checking the git diff.
      
      ./googletest/scripts/pump.py \
          googlemock/include/gmock/gmock-generated-nice-strict.h.pump
      51f8ad47
  6. 06 Apr, 2018 5 commits