1. 15 Sep, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 6202251f
      Abseil Team authored
      Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros.
      
      PiperOrigin-RevId: 396649214
      6202251f
  2. 14 Sep, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 159c9ad2
      Abseil Team authored
      Avoid segfault on null premature_exit_filepath.
      
      PiperOrigin-RevId: 395965853
      159c9ad2
  3. 26 Aug, 2021 1 commit
  4. 24 Aug, 2021 2 commits
    • CJ Johnson's avatar
      Merge pull request #3513 from victordk13:patch-1 · ff21b36e
      CJ Johnson authored
      PiperOrigin-RevId: 392665206
      ff21b36e
    • Abseil Team's avatar
      Googletest export · 62046339
      Abseil Team authored
      Bump `cmake_minimum_required` to 3.5.
      
      Delete conditional branches exclusive to older versions.
      
      Notable dependents:
        - github.com/grpc/grpc >= 3.5.1
        - github.com/abseil/abseil-cpp >= 3.5
        - github.com/googleapis/google-cloud-cpp >= 3.5
      
      On the other hand, github.com/protocolbuffers/protobuf is >= 3.1.3, but it only depends on GoogleTest 1.10.
      
      Fixes #3523
      
      PiperOrigin-RevId: 392073834
      62046339
  5. 20 Aug, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 2f80c2ba
      Abseil Team authored
      Standardize access to GoogleTest flags on GTEST_FLAG_GET/GTEST_FLAG_SET
      
      Custom implementations can decide how access to flags is performed depending on the implementation of flags being used.
      
      PiperOrigin-RevId: 391971115
      2f80c2ba
  6. 19 Aug, 2021 1 commit
  7. 13 Aug, 2021 3 commits
  8. 10 Aug, 2021 2 commits
    • dmauro's avatar
      Googletest export · 47f819c3
      dmauro authored
      Remove deprecated/unsupported scripts
      
      PiperOrigin-RevId: 389873391
      47f819c3
    • dmauro's avatar
      Googletest export · eb7e38df
      dmauro authored
      Fix a Python 2 to 3 issue
      
      PiperOrigin-RevId: 389720056
      eb7e38df
  9. 06 Aug, 2021 2 commits
  10. 05 Aug, 2021 1 commit
  11. 04 Aug, 2021 4 commits
    • Abseil Team's avatar
      Googletest export · 5b401530
      Abseil Team authored
      Format documentation
      
      PiperOrigin-RevId: 388592443
      5b401530
    • Abseil Team's avatar
      Googletest export · 652ec31f
      Abseil Team authored
      Introduce a new matcher for unescaping Base-64 strings to gmock.
      
      PiperOrigin-RevId: 388471904
      652ec31f
    • Abseil Team's avatar
      Googletest export · c22ce887
      Abseil Team authored
      Standardize access to GoogleTest flags on GTEST_FLAG_GET/GTEST_FLAG_SET
      
      Custom implementations can decide how access to flags is performed depending on the implementation of flags being used.
      
      PiperOrigin-RevId: 388181424
      c22ce887
    • Abseil Team's avatar
      Googletest export · 29d25406
      Abseil Team authored
      Proliferation of inclusive language.
      
      PiperOrigin-RevId: 387535677
      29d25406
  12. 29 Jul, 2021 3 commits
  13. 24 Jul, 2021 1 commit
  14. 22 Jul, 2021 5 commits
  15. 14 Jul, 2021 1 commit
  16. 09 Jul, 2021 2 commits
    • Abseil Team's avatar
      Googletest export · 8d51ffdf
      Abseil Team authored
      Remove unneeded using ::std::get;
      
      PiperOrigin-RevId: 383688097
      8d51ffdf
    • Abseil Team's avatar
      Googletest export · 43cf5291
      Abseil Team authored
      Suppress a clang-tidy warning in the MATCHER(name, description) macro.
      
      PiperOrigin-RevId: 383587271
      43cf5291
  17. 07 Jul, 2021 4 commits
    • Abseil Team's avatar
      Googletest export · 8306020a
      Abseil Team authored
      Add `Conditional` wrapper to gtest
      
      This follows an initial proposal for an 'EqIff` matcher. `Conditional` was considered more precise as an EqIff() matcher may suffer from `Iff` not being universally understood.
      
      PiperOrigin-RevId: 383407665
      8306020a
    • Abseil Team's avatar
      Googletest export · 977cffc4
      Abseil Team authored
      Introduce GTEST_FLAG_GET and GTEST_FLAG_SET macros.
      
      PiperOrigin-RevId: 382808313
      977cffc4
    • Abseil Team's avatar
      Googletest export · 4cfd1498
      Abseil Team authored
      gtest: Add a flag to only set up/tear down test environments once when repeating
      
      Currently when running a test multiple times using `--gtest_repeat` the global
      test environment(s) are set up and torn down for each iteration of the test.
      When checking for flakes in tests that have expensive dependencies that are set
      up in the test environment (subprocesses, external dependencies, etc) this can
      become expensive.
      
      To support finding flakes in tests that fit into this category, where the setup
      phase is expensive but each test case is fast, allow callers to specify via
      `--gtest_recreate_environments_when_repeating=false` that the test environments
      should only be set up once, for the first iteration, and only torn down once, on
      the last iteration. This makes running a test with `--gtest_repeat=1000` a much
      faster and more pleasant experience.
      
      PiperOrigin-RevId: 382748942
      4cfd1498
    • Manuel Binna's avatar
      Link -lregex on QNX · f0ff512b
      Manuel Binna authored
      According to the 2nd point on [1], -lregex is required on QNX.
      
      [1] https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.ide.userguide/topic/writing_test_programs.html
      f0ff512b
  18. 01 Jul, 2021 1 commit
    • Jeremy Nimmer's avatar
      Use GTEST_DONT_DEFINE_TEST_F to guard TEST_F · 155de14c
      Jeremy Nimmer authored
      The documentation is clear that the FOO we'll be guarding always matches
      the spelling of the DONT macro.  A single guard macro should not toggle
      more than one implementation macro.
      
      This fixes a regression in 7413280c.
      
      Relatedly, improve the documentation of the DONT macros to bring the
      list of valid FOO values up to date.
      155de14c
  19. 30 Jun, 2021 4 commits