1. 12 May, 2019 1 commit
  2. 10 May, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 52998153
      Abseil Team authored
      Print the test output on assertion failure.
      
      PiperOrigin-RevId: 247283764
      52998153
  3. 03 May, 2019 3 commits
  4. 02 May, 2019 1 commit
  5. 29 Apr, 2019 4 commits
  6. 26 Apr, 2019 3 commits
  7. 24 Apr, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 84d98653
      Abseil Team authored
      Add GTEST_FAIL_AT, an equivalent to ADD_FAILURE_AT but that
      spawns a fatal failure rather than a non-fatal, eg. the equivalent
      of an ASSERT* failure rather than an EXPECT* failure.
      
      PiperOrigin-RevId: 244746609
      84d98653
  8. 18 Apr, 2019 5 commits
  9. 16 Apr, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · 9f893b99
      Abseil Team authored
      [googletest] Fix death test condition.
      
      PiperOrigin-RevId: 243742424
      9f893b99
    • Abseil Team's avatar
      Googletest export · 6d668180
      Abseil Team authored
      Migrate ZX_WAIT_ASYNC_REPEATING to ZX_WAIT_ASYNC_ONCE
      
      ZX_WAIT_ASYNC_REPEATING is deprecated so convert code to use
      ZX_WAIT_ASYNC_ONCE instead.
      
      PiperOrigin-RevId: 243707147
      6d668180
  10. 12 Apr, 2019 2 commits
  11. 11 Apr, 2019 6 commits
  12. 09 Apr, 2019 2 commits
  13. 08 Apr, 2019 2 commits
  14. 07 Apr, 2019 1 commit
  15. 06 Apr, 2019 1 commit
    • Enji Cooper's avatar
      clang: fix `-Wsign-conversion` errors · 3829b84e
      Enji Cooper authored
      
      
      Cast some values as their unsigned equivalents or `size_t` to match the
      parameter type used for the template object under test. Also, provide
      UInt32 equivalent delegate methods for some callers (with
      int-equivalents for backwards compatibility).
      
      This closes #2146.
      Signed-off-by: default avatarEnji Cooper <yaneurabeya@gmail.com>
      3829b84e
  16. 05 Apr, 2019 2 commits
    • Gennadiy Civil's avatar
      Merge pull request #2148 from ngie-eign:clang-add-explicit-c++11-rtti-flag · 5ba69d5c
      Gennadiy Civil authored
      PiperOrigin-RevId: 242038269
      5ba69d5c
    • Abseil Team's avatar
      Googletest export · c061ffaf
      Abseil Team authored
      [fdio] Improve fdio_pipe_half signature, step 3.
      
      The return value on fdio_pipe_half conflated two things: the error code
      on failure (as a zx_status_t) or a file descriptor on success. This
      technically worked, because they're both ints, the error code was always
      negative, and the file descriptor always positive. However, the stated
      return type of zx_status_t was misleading. This changes the signature
      such that it always returns an actual zx_status_t, and the file
      descriptor is returned through a pointer argument.
      
      Also remove the last argument, since it was always given the same value.
      
      This needs to be done as a soft transition because it's called from the
      Dart runtime, from googletest, and from Crashpad, and Crashpad and
      Chromium both depend on googletest on Fuchsia. The steps are as follows:
      1) Add fdio_pipe_half2.
      2) Update Dart to use fdio_pipe_half2.
      3) Update googletest to use fdio_pipe_half2.
      4) Roll updated googletest into Chronium.
      5) Update Crashpad to use fdio_pipe_half2 and roll updated googletest into it.
      6) Update fdio_pipe_half to match fdio_pipe_half2.
      7) Update Dart to use fdio_pipe_half again.
      8) Update googletest to use fdio_pipe_half again.
      9) Roll updated googletest into Chronium.
      10) Update Crashpad to use fdio_pipe_half again and roll updated googletest into it.
      11) Remove fdio_pipe_half2.
      
      This is step 3.
      
      PiperOrigin-RevId: 241957137
      c061ffaf
  17. 04 Apr, 2019 1 commit
    • Enji Cooper's avatar
      clang: explicitly enable/disable RTTI support with the compiler · 7475ba50
      Enji Cooper authored
      
      
      Add `-frtti` to the compiler with the base flags case so that RTTI is
      enabled by default with clang. Add its inverse analog,
      `cxx_no_rtti_flags` in order to test the case with RTTI off, similar to
      gcc.
      
      This reduces the amount of testing/support overhead needed in the
      non-RTTI case with clang, as the tests currently fail when these two
      features are off with version 1.8.1. This something I used in when
      investigating test failures on FreeBSD, as the tests that rely on
      RTTI were failing with googletest 1.8.1 on the OS platform.
      
      More investigation is being done to determine how this should be fixed
      on FreeBSD 11.2-RELEASE with ports, as the package doesn't currently
      compile the tests, and when enabled (based on my WIP diff), the tests
      fail in similar ways.
      Signed-off-by: default avatarEnji Cooper <yaneurabeya@gmail.com>
      7475ba50
  18. 03 Apr, 2019 2 commits