// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef QUICHE_HTTP2_TEST_TOOLS_HTTP2_RANDOM_H_ #define QUICHE_HTTP2_TEST_TOOLS_HTTP2_RANDOM_H_ #include <cmath> #include <cstdint> #include <limits> #include <random> #include <string> #include "absl/strings/string_view.h" #include "quiche/common/platform/api/quiche_export.h" namespace http2 { namespace test { // The random number generator used for unit tests. Since the algorithm is // deterministic and fixed, this can be used to reproduce flakes in the unit // tests caused by specific random values. class QUICHE_NO_EXPORT Http2Random { … }; } // namespace test } // namespace http2 #endif // QUICHE_HTTP2_TEST_TOOLS_HTTP2_RANDOM_H_