mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
New unit_test framework:
* Header-only! * No external dependencies or other beast modules * Compilation options allow for: - Stand-alone application to run a single test suite - Stand-alone application to run a set of test suites - Global suite of tests inline with the host application - Disable test suite generation completely * Existing tests reworked to use the new classes
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <atomic>
|
||||
#include <deque>
|
||||
#include <locale>
|
||||
|
||||
#include "boost/asio.hpp"
|
||||
|
||||
@@ -195,7 +196,7 @@ public:
|
||||
{
|
||||
// Attempt to find the first and last non-whitespace
|
||||
auto const find_whitespace = std::bind (
|
||||
std::isspace <std::string::value_type>,
|
||||
&std::isspace <std::string::value_type>,
|
||||
std::placeholders::_1,
|
||||
std::locale ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user