1. 04 Dec, 2020 1 commit
  2. 12 Nov, 2020 1 commit
    • dmauro's avatar
      Googletest export · 336fd36f
      dmauro authored
      Rollback change from
      https://github.com/google/googletest/pull/1836. This change generates
      a script on Windows to actually run each test, but the script itself
      doesn't correctly report if the test passed.
      
      This change will "break tests" that were already broken on Windows,
      but weren't being reported as such.
      
      PiperOrigin-RevId: 341850671
      336fd36f
  3. 30 Oct, 2020 1 commit
  4. 21 Mar, 2020 1 commit
  5. 21 Feb, 2020 1 commit
  6. 17 Oct, 2019 1 commit
    • Alexey Spiridonov's avatar
      [googletest] Output skip message · cbf019de
      Alexey Spiridonov authored
      Closes #2208
      
      Previously, skip messages were invisible, so debugging skips was hard.
      
      Now we have this:
      
      ```
      $ ./googletest/gtest_skip_test
      Running main() from /home/lesha/github/snarkmaster/googletest/googletest/src/gtest_main.cc
      [==========] Running 3 tests from 2 test suites.
      [----------] Global test environment set-up.
      [----------] 1 test from SkipTest
      [ RUN      ] SkipTest.DoesSkip
      /home/lesha/github/snarkmaster/googletest/googletest/test/gtest_skip_test.cc:38: Skipped
      skipping single test
      [  SKIPPED ] SkipTest.DoesSkip (0 ms)
      [----------] 1 test from SkipTest (1 ms total)
      ...
      ```
      cbf019de
  7. 27 Jul, 2019 1 commit
  8. 20 May, 2019 1 commit
  9. 03 May, 2019 1 commit
    • misterg's avatar
      Googletest export · 63be3dcc
      misterg authored
      Clarify build system support - CMake and automake community supported
      
      PiperOrigin-RevId: 245821927
      63be3dcc
  10. 26 Apr, 2019 1 commit
  11. 30 Mar, 2019 1 commit
    • Enji Cooper's avatar
      Handle GTEST_SKIP() when calling `Environment::SetUp()` · 67c75ff8
      Enji Cooper authored
      
      
      gtest prior to this change would completely ignore `GTEST_SKIP()` if
      called in `Environment::SetUp()`, instead of bailing out early, unlike
      `Test::SetUp()`, which would cause the tests themselves to be skipped.
      The only way (prior to this change) to skip the tests would be to
      trigger a fatal error via `GTEST_FAIL()`.
      
      Desirable behavior, in this case, when dealing with
      `Environment::SetUp()` is to check for prerequisites on a system
      (example, kernel supports a particular featureset, e.g., capsicum), and
      skip the tests. The alternatives prior to this change would be
      undesirable:
      
      - Failing sends the wrong message to the test user, as the result of the
        tests is indeterminate, not failed.
      - Having to add per-test class abstractions that override `SetUp()` to
        test for the capsicum feature set, then skip all of the tests in their
        respective SetUp fixtures, would be a lot of human and computational
        work; checking for the feature would need to be done for all of the
        tests, instead of once for all of the tests.
      
      For those reasons, making `Environment::SetUp()` handle `GTEST_SKIP()`,
      by not executing the testcases, is the most desirable solution.
      
      In order to properly diagnose what happened when running the tests if
      they are skipped, print out the diagnostics in an ad hoc manner.
      
      Update the documentation to note this change and integrate a new test,
      gtest_skip_in_environment_setup_test, into the test suite.
      
      This change addresses #2189.
      Signed-off-by: default avatarEnji Cooper <yaneurabeya@gmail.com>
      67c75ff8
  12. 11 Feb, 2019 1 commit
  13. 29 Oct, 2018 1 commit
    • misterg's avatar
      Googletest export · 80b43d90
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 219129336
      80b43d90
  14. 26 Oct, 2018 2 commits
    • Abseil Team's avatar
      Googletest export · b57c7039
      Abseil Team authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218618184
      b57c7039
    • misterg's avatar
      Googletest export · a50e4f05
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218571466
      a50e4f05
  15. 09 Oct, 2018 1 commit
  16. 02 Oct, 2018 2 commits
  17. 13 Sep, 2018 2 commits
    • misterg's avatar
      Googletest export · 21d52d3a
      misterg authored
      Project import generated by Copybara.
      
      PiperOrigin-RevId: 212656749
      21d52d3a
    • misterg's avatar
      Googletest export · e1b8d82f
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 212656679
      e1b8d82f
  18. 24 Aug, 2018 1 commit
  19. 22 Aug, 2018 1 commit
  20. 21 Aug, 2018 1 commit
    • Dakota Hawkins's avatar
      Improve CMake exported targets. · 759ef7c4
      Dakota Hawkins authored
      
      
      I _think_ this represents some of the "best practices" for exporting
      targets. They'll be available in a `googletest::` namespace (e.g.
      `googletest::gmock`) with non-namespaced `ALIAS` targets.
      
      - Added GOOGLETEST_VERSION variable
      - Use `CMakePackageConfigHelpers`, bump minimum CMake version to 2.8.8
      Signed-off-by: default avatarDakota Hawkins <dakotahawkins@gmail.com>
      759ef7c4
  21. 13 Aug, 2018 1 commit
  22. 03 Aug, 2018 1 commit
  23. 02 Aug, 2018 6 commits
    • Gennadiy Civil's avatar
      · 0d29f970
      Gennadiy Civil authored
      more fixes
      0d29f970
    • Gennadiy Civil's avatar
      · 95c313e6
      Gennadiy Civil authored
      add --no_stacktrace_support for json-output-unittest
      95c313e6
    • Gennadiy Civil's avatar
      · 677df883
      Gennadiy Civil authored
      cmake test fixes
      677df883
    • Gennadiy Civil's avatar
      · b7244ff3
      Gennadiy Civil authored
      cmake fixes
      b7244ff3
    • Gennadiy Civil's avatar
      · 930f0f86
      Gennadiy Civil authored
      cmake tests changes
      930f0f86
    • Gennadiy Civil's avatar
      · f3511bf1
      Gennadiy Civil authored
      cleaning up and adding test changes to CMake
      f3511bf1
  24. 01 Aug, 2018 1 commit
    • Gennadiy Civil's avatar
      · 5b9b39ff
      Gennadiy Civil authored
      Corresponding CMake Changes
      5b9b39ff
  25. 10 Jul, 2018 1 commit
  26. 05 Apr, 2018 1 commit
  27. 28 Feb, 2018 1 commit
    • Petr Hosek's avatar
      Support JSON output format in addition to XML · 6baf17e9
      Petr Hosek authored
      This change allows emitting output in JSON format in addition to the
      already supported XML format. The implementation as well as the file
      structure is intentionally modelled after the XML one.
      6baf17e9
  28. 26 Feb, 2018 1 commit
    • David Neto's avatar
      Use DEBUG_POSTFIX instead of CMAKE_DEBUG_POSTFIX · 20074be1
      David Neto authored
      CMAKE_DEBUG_POSTFIX is a global configuration parameter, and
      changing it pollutes the configuration space for other projects
      that enclose this project.
      
      DEBUG_POSTFIX is better to use since it is a target-specific poperty.
      
      Fixes #1334
      Fixes #1268
      20074be1
  29. 11 Dec, 2017 1 commit
  30. 07 Dec, 2017 1 commit
  31. 27 Nov, 2017 1 commit
  32. 27 Oct, 2017 1 commit