mirror of
https://github.com/boostorg/url.git
synced 2026-01-20 05:02:43 +00:00
37 lines
782 B
C++
37 lines
782 B
C++
//
|
|
// Copyright (c) 2016-2019 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/url
|
|
//
|
|
|
|
// Test that header file is self-contained.
|
|
#include <boost/url/rfc/origin_form_rule.hpp>
|
|
|
|
#include "test_rule.hpp"
|
|
|
|
namespace boost {
|
|
namespace urls {
|
|
|
|
struct origin_form_rule_test
|
|
{
|
|
void
|
|
run()
|
|
{
|
|
// javadoc
|
|
{
|
|
system::result< url_view > rv = grammar::parse( "/index.htm?layout=mobile", origin_form_rule );
|
|
(void)rv;
|
|
}
|
|
}
|
|
};
|
|
|
|
TEST_SUITE(
|
|
origin_form_rule_test,
|
|
"boost.url.origin_form_rule");
|
|
|
|
} // urls
|
|
} // boost
|