rippled
test
beast
beast_basic_seconds_clock_test.cpp
1
//------------------------------------------------------------------------------
2
/*
3
This file is part of Beast: https://github.com/vinniefalco/Beast
4
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
5
6
Permission to use, copy, modify, and/or distribute this software for any
7
purpose with or without fee is hereby granted, provided that the above
8
copyright notice and this permission notice appear in all copies.
9
10
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
*/
18
//==============================================================================
19
20
#include <ripple/beast/unit_test.h>
21
22
#include <ripple/beast/clock/basic_seconds_clock.h>
23
24
namespace
beast
{
25
26
class
basic_seconds_clock_test
:
public
unit_test::suite
27
{
28
public
:
29
void
30
run
()
override
31
{
32
basic_seconds_clock::now
();
33
pass();
34
}
35
};
36
37
BEAST_DEFINE_TESTSUITE
(basic_seconds_clock, chrono,
beast
);
38
39
}
// namespace beast
beast::basic_seconds_clock_test
Definition:
beast_basic_seconds_clock_test.cpp:26
beast::basic_seconds_clock_test::run
void run() override
Definition:
beast_basic_seconds_clock_test.cpp:30
beast::BEAST_DEFINE_TESTSUITE
BEAST_DEFINE_TESTSUITE(aged_set, container, beast)
beast
Definition:
base_uint.h:641
beast::basic_seconds_clock::now
static time_point now()
Definition:
basic_seconds_clock.cpp:100
Generated by
1.8.17