1. 06 Dec, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 9ed99c6c
      Abseil Team authored
      Change googletest to notice failures during SetUpTestSuite() and TearDownTestSuite().
      
      Previously, errors that occurred during those functions were logged but otherwise ignored. After this change, such failures will cause the test to fail and a brief summary will be printed at the bottom of the test log.
      
      See https://github.com/google/googletest/issues/2330.
      
      PiperOrigin-RevId: 284033342
      9ed99c6c
  2. 22 Nov, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 717ce7fe
      Abseil Team authored
      Use standard C++11 integer types in gtest-port.h.
      
      Remove testing::internal::{Int,Uint}{32,64} in favor of types
      guaranteed to be in <cstdint> since C++11.
      
      Tests for built-in integer type coverage are switched from
      {Int,Uint}64 to [unsigned] long long, which is guaranteed by
      C++11 to exist and be at least 64-bit wide.
      
      PiperOrigin-RevId: 281565263
      717ce7fe
  3. 24 Oct, 2019 1 commit
  4. 18 Oct, 2019 1 commit
  5. 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
  6. 11 Oct, 2019 1 commit
  7. 06 Sep, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 3f05f651
      Abseil Team authored
      Extend gtest-port and stubs for ESP_PLATFORM
      
      ESP_PLATFORM is the macro used to indicate compilation for the ESP32
      using the esp-idf. This isn't a fully posix compatible system so
      various features of google test need to be stubbed out in order for
      it to work. It's oddly similar to the GTEST_OS_WINDOWS_PHONE setup.
      
      PiperOrigin-RevId: 267471968
      3f05f651
  8. 20 Aug, 2019 1 commit
  9. 06 Aug, 2019 1 commit
  10. 01 Aug, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · b15335df
      Abseil Team authored
      Fix signed conversion warning for wchar_t -> wint_t.
      Fixes Github issue #2300
      
      PiperOrigin-RevId: 261045497
      b15335df
    • misterg's avatar
      Googletest export · 2221875d
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 260939845
      2221875d
  11. 30 Jul, 2019 1 commit
  12. 26 Jul, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 2134e3fd
      Abseil Team authored
      Adds ISO8601 timestamps to XML output and RFC3339 timestamps to JSON output.
      
      Adds timestamps to testsuites, testsuite and testcases structured JSON/XML output for better reporting how/where time is spent on tests.
      
      PiperOrigin-RevId: 260039817
      2134e3fd
  13. 22 May, 2019 1 commit
    • Lingfeng Yang's avatar
      unbreak windows build · 2f58f41d
      Lingfeng Yang authored
      windows msvc toolchain with werror and wconversion
      will break if converting long to DWORD.
      2f58f41d
  14. 18 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. 01 Apr, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · d9825431
      Abseil Team authored
      Remove support for "global" ::string and ::wstring types.
      This support existed for legacy codebases that existed from before namespaces
      where a thing. It is no longer necessary.
      
      PiperOrigin-RevId: 241335738
      d9825431
  17. 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
  18. 28 Mar, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 5b752b19
      Abseil Team authored
      Update XML and JSON output to be consistent with the standard.
      
      PiperOrigin-RevId: 239833242
      5b752b19
  19. 05 Mar, 2019 1 commit
  20. 11 Feb, 2019 1 commit
  21. 03 Jan, 2019 1 commit
    • misterg's avatar
      Googletest export · 3a460a26
      misterg authored
      TestCase->TestSuite refactoring
      
      PiperOrigin-RevId: 227702164
      3a460a26
  22. 02 Jan, 2019 2 commits
    • misterg's avatar
      Googletest export · 14c2fba7
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 227575279
      14c2fba7
    • Abseil Team's avatar
      Googletest export · f8b1c1af
      Abseil Team authored
      Remove the #ifs for old, unsupported and buggy compilers:
      * old versions of GCC & MSVC
      * Symbian
      
      PiperOrigin-RevId: 227116941
      f8b1c1af
  23. 13 Dec, 2018 2 commits
  24. 03 Dec, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · 26743363
      Abseil Team authored
      Applied fixes for ClangTidy modernize-use-override and modernize-use-using.
      
      PiperOrigin-RevId: 223800219
      26743363
  25. 20 Nov, 2018 1 commit
  26. 10 Nov, 2018 1 commit
  27. 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
  28. 28 Oct, 2018 1 commit
  29. 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
  30. 24 Oct, 2018 1 commit
    • durandal's avatar
      Googletest export · 59f90a33
      durandal authored
      Honor GTEST_SKIP() in SetUp().
      
      PiperOrigin-RevId: 218387359
      59f90a33
  31. 17 Oct, 2018 1 commit
  32. 11 Oct, 2018 1 commit
  33. 05 Oct, 2018 2 commits
  34. 02 Oct, 2018 1 commit
  35. 31 Aug, 2018 1 commit
    • Dominic Sacré's avatar
      Make g_argvs static · bb18e25d
      Dominic Sacré authored
      Fix Clang warning:
      | warning: no previous extern declaration for non-static variable 'g_argvs'
      | [-Wmissing-variable-declarations]
      bb18e25d