Skip to content
Snippets Groups Projects
  1. Sep 15, 2020
  2. Sep 11, 2020
    • Abseil Team's avatar
      Googletest export · a4ab0abb
      Abseil Team authored
      Mark ACTION_Pn()-generated functions as must-use-result.
      
      This catches when a client creates an action and discards it, thinking that the action has actually been applied to something.
      
      This will help people who make the mistake of defining, for example, both `void Use(Foo*)` and `ACTION(Use) { Use(arg); }` for later application to a Foo.  With such an overload, a client may then write `Use();`, forgetting the param and being confused why nothing happens.
      
      This also catches when a client defines their own action in terms of an ACTION()-generated one, invokes the ACTION's builder, and then fails to invoke the resulting action, thinking it's operating on the outer action's parameters.
      
      PiperOrigin-RevId: 330614454
      a4ab0abb
    • Derek Mauro's avatar
      Merge pull request #2994 from xerus2000:gmock-docs · 64660396
      Derek Mauro authored
      PiperOrigin-RevId: 330545489
      64660396
  3. Sep 09, 2020
    • dmauro's avatar
      Googletest export · 5f8fcf4a
      dmauro authored
      Implements GetTimeInMillis() using std::chrono for portability
      Fixes #2995
      
      PiperOrigin-RevId: 329709958
      5f8fcf4a
  4. Sep 02, 2020
    • Abseil Team's avatar
      Googletest export · 7b1cf6dd
      Abseil Team authored
      gtest.cc: make ColoredPrintf static
      
      the prototype was removed from gtest.h in cl/301446904; quiets a
      -Wmissing-declarations warning
      
      PiperOrigin-RevId: 329569020
      7b1cf6dd
    • Abseil Team's avatar
      Googletest export · af1e75ce
      Abseil Team authored
      Add millisecond precision to start timestamp in XML/JSON output
      
      - Previous timestamp had format YYYY-MM-DDThh:mm:ss, now YYYY-MM-DDThh:mm:ss.sss
      - This conforms to the ISO 8601 standard
      
      PiperOrigin-RevId: 329503623
      af1e75ce
  5. Aug 27, 2020
  6. Aug 25, 2020
  7. Aug 24, 2020
  8. Aug 14, 2020
    • krzysio's avatar
      Googletest export · adeef192
      krzysio authored
      Mention matchers as an alternative to assertions in subroutines.
      
      Matchers are often the better choice - they can provide more informative error messages and circumvent all of the complexity described in this section.
      
      PiperOrigin-RevId: 326332149
      adeef192
  9. Aug 13, 2020
  10. Aug 12, 2020
  11. Aug 08, 2020
  12. Aug 05, 2020
  13. Aug 04, 2020
  14. Aug 02, 2020
  15. Aug 01, 2020
  16. Jul 30, 2020
  17. Jul 29, 2020
Loading