Remove UTF8_checker from WSClient unit test.

This commit is contained in:
Miguel Portilla
2016-03-23 19:25:02 -04:00
committed by Nik Bougalis
parent e5bf824c3b
commit 89c05efe22

View File

@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2016 Ripple Labs Inc.
@@ -21,8 +21,6 @@
#include <ripple/test/WSClient.h>
#include <ripple/test/jtx.h>
#include <ripple/beast/unit_test.h>
#include <beast/websocket/detail/utf8_checker.hpp>
#include <beast/handler_alloc.hpp>
namespace ripple {
@@ -31,19 +29,8 @@ namespace test {
class WSClient_test : public beast::unit_test::suite
{
public:
void
test_utf8checker()
{
beast::websocket::detail::utf8_checker utf8c;
std::uint8_t buffer[] = {0Xff};
expect(! utf8c.write(buffer, 3));
}
void run() override
{
test_utf8checker();
using namespace jtx;
Env env(*this);
auto wsc = makeWSClient(env.app().config());