2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-09 11:12:37 +00:00
Files
json/test/value_builder.cpp
2020-08-18 13:51:53 -07:00

44 lines
837 B
C++

//
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.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/vinniefalco/BeastLounge
//
// Test that header file is self-contained.
#include <boost/json/value_builder.hpp>
#include "test_suite.hpp"
namespace boost {
namespace json {
class value_builder_test
{
public:
void
testBuilder()
{
error_code ec;
value_builder vb;
vb.reset();
vb.on_document_begin(ec);
vb.on_null(ec);
vb.on_document_end(ec);
vb.release();
}
void
run()
{
testBuilder();
}
};
TEST_SUITE(value_builder_test, "boost.json.value_builder");
} // json
} // boost