forked from boostorg/beast
Add RatePolicy to basic_stream
This commit is contained in:
1 parent
6baa607295
commit
23a7bcc67e
10 files changed
+546
-82
No files matched your search
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/core/rate_policy.hpp>
|
||||
|
||||
#include <boost/beast/_experimental/unit_test/suite.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
|
||||
class rate_policy_test : public unit_test::suite
|
||||
{
|
||||
public:
|
||||
void
|
||||
run() override
|
||||
{
|
||||
unlimited_rate_policy{};
|
||||
simple_rate_policy{};
|
||||
|
||||
pass();
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(beast,core,rate_policy);
|
||||
|
||||
} // beast
|
||||
} // boost
|
||||
Reference in new issue
Block a user