userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Class List
Class Index
File List
Macros
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
utils_test.cpp
1
#
include
<
userver
/
s3api
/
authenticators
/
utils
.
hpp
>
2
3
#
include
<
userver
/
utils
/
mock_now
.
hpp
>
4
5
#
include
<
userver
/
utest
/
utest
.
hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
s3api::
authenticators
{
10
11
TEST(S3ApiUtils, MakeHeaderDate) {
12
const
auto
kMockTime = std::chrono::system_clock::from_time_t(1567534400);
13
utils
::
datetime
::
MockNowSet
(
kMockTime
)
;
14
EXPECT_EQ(
"Tue, 03 Sep 2019 18:13:20 +0000"
, s3api::
authenticators
::MakeHeaderDate());
15
}
16
17
}
// namespace s3api::authenticators
18
19
USERVER_NAMESPACE_END
src
s3api
authenticators
utils_test.cpp
Generated on Thu Aug 14 2025 18:11:26 for userver by
Doxygen
1.9.8