1. 31 Aug, 2018 5 commits
    • Add user-defined copy constructor to ValueArray · 13c5230b
      Dominic Sacré authored
      Fix Clang warning:
      | warning: definition of implicit copy constructor for 'ValueArray2<bool, bool>'
      | is deprecated because it has a user-declared copy assignment operator [-Wdeprecated]
    • Add missing declarations for Google Tests flags · 8f279122
      Dominic Sacré authored
      Add declarations for install_failure_signal_handler and flagfile.
      
      Fix Clang warnings:
      | warning: no previous extern declaration for non-static variable
      | 'FLAGS_gtest_install_failure_signal_handler' [-Wmissing-variable-declarations]
      | warning: no previous extern declaration for non-static variable
      | 'FLAGS_gtest_flagfile' | [-Wmissing-variable-declarations]
    • 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]
    • Make dummy variables static to avoid compiler warnings · d41f53ae
      Dominic Sacré authored
      Fix -Wmissing-variable-declarations warnings from Clang.
    • Re-generate gtest-param-test.h from gtest-param-test.h.pump · e41f38b3
      Dominic Sacré authored
      Commit 6a26e47c changed the formatting
      of INSTANTIATE_TEST_CASE_P() in the generated header file only.
      
      This commit reverts to the formatting produced by running "pump
      gtest-param-test.h.pump", which seems to be more consistent with the
      rest of the file.
  2. 30 Aug, 2018 9 commits
  3. 29 Aug, 2018 8 commits
  4. 28 Aug, 2018 6 commits
    • Googletest export · 65d03530
      Abseil Team authored
      Fix line that was wrapping in the middle of a link
      
      This looks uglier, but has the advantage that the link is kept in one
      piece.
      
      PiperOrigin-RevId: 210537337
    • Googletest export · 03867b53
      Abseil Team authored
      Add the possibility of specifying the name in type parameterized tests.
      
      Similar to how the last parameter of INSTANTIATE_TEST_CASE_P allows to override the name for (non-type) parametrized tests, this adds the possibility of adding a parameter to INSTANTIATE_TYPED_TEST_CASE_P. The argument has to be a class, which contains a static templated function GetName<T>(int), returning the name for type T.
      
      PiperOrigin-RevId: 210532231
    • Googletest export · 52f8183e
      Abseil Team authored
      Breaks Windows builds
      
      PiperOrigin-RevId: 210434120
    • Googletest export · 167c5e81
      Abseil Team authored
      Fix Theta(N^2) memory usage of EXPECT_EQ(string) when the strings don't match.
      
      The underlying CalculateOptimalEdits() implementation used a simple
      dynamic-programming approach that always used N^2 memory and time. This meant
      that tests for equality of large strings were ticking time bombs: They'd work
      fine as long as the test passed, but as soon as the strings differed the test
      would OOM, which is very hard to debug.
      I switched it out for a Dijkstra search, which is still worst-case O(N^2), but
      in the usual case of mostly-matching strings, it is much closer to linear.
      
      PiperOrigin-RevId: 210405025
    • Googletest export · 1bb76182
      misterg authored
      Code Cleanup
      
      PiperOrigin-RevId: 210393771
  5. 27 Aug, 2018 6 commits
  6. 24 Aug, 2018 6 commits