Files
gem5/ext/googletest/docs/index.md
Yu-hsin Wang 52661838a4 ext: upgrade to googletest 1.11.x
Upgrade googletest to 1.11.x
upstream commit: 8306020a3e9eceafec65508868d7ab5c63bb41f7

sha1sum df8cdd26ee7cdf2a3d9c05a92d3630a96f406422 generated by command:
find . -type f ! -name SConscript ! -path "./.*" -print0 \
| sort -z | xargs -0 sha1sum | sha1sum

This upgrade is mainly for providing ConditionalMatcher support.

Change-Id: I27d971c02c59a3ad42c3002f1b4e1a8b18269c56
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/55384
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
2022-01-20 01:16:02 +00:00

1.0 KiB

GoogleTest User's Guide

Welcome to GoogleTest!

GoogleTest is Google's C++ testing and mocking framework. This user's guide has the following contents:

  • GoogleTest Primer - Teaches you how to write simple tests using GoogleTest. Read this first if you are new to GoogleTest.
  • GoogleTest Advanced - Read this when you've finished the Primer and want to utilize GoogleTest to its full potential.
  • GoogleTest Samples - Describes some GoogleTest samples.
  • GoogleTest FAQ - Have a question? Want some tips? Check here first.
  • Mocking for Dummies - Teaches you how to create mock objects and use them in tests.
  • Mocking Cookbook - Includes tips and approaches to common mocking use cases.
  • Mocking Cheat Sheet - A handy reference for matchers, actions, invariants, and more.
  • Mocking FAQ - Contains answers to some mocking-specific questions.