Use NiceMock for MockRandom to fix test failures in Envoy.

I encountered this issue when merging cl/473306804 into Envoy.
It seems that this change somehow caused the mocked object to be strict. And the lack of EXPECT_CALL() fails many tests.

I don't know why this is not an issue in Google3 though.

PiperOrigin-RevId: 474050286
1 file changed
tree: 8d3a310ced5ee549c38d12b2d364adf8ce75f117
  1. build/
  2. quiche/
  3. .bazelrc
  4. BUILD.bazel
  9. WORKSPACE.bazel


QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.

There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:

To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:

To contribute to QUICHE, follow instructions at

QUICHE is only supported on little-endian platforms.