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:
Vinnie Falco
2014-03-20 17:25:39 -07:00
parent 547019bd1b
commit a865149c65
411 changed files with 4577 additions and 5591 deletions

View File

@@ -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 ());