userver
C++ Async Framework
Loading...
Searching...
No Matches
basic_test.cpp
1
#
include
<
gtest
/
gtest
.
h
>
2
3
#
include
<
service
/
base
.
structs
.
usrv
.
pb
.
hpp
>
4
5
namespace
ss = service::structs;
6
7
USERVER_NAMESPACE_BEGIN
8
9
TEST(MyService, Basic) {
10
static_assert
(std::is_aggregate_v<ss::SomeMessage>);
11
12
// We don't include 'simple/subdirectory/separate_enum.structs.usrv.pb.hpp' here,
13
// but that include must be included in 'service/base.structs.usrv.pb.hpp' from method of service::MyService.
14
static_assert
(std::is_aggregate_v<simple::subdirectory::structs::SeparateEnumMessage>);
15
// static_assert(std::is_aggregate_v<google::protobuf::structs::Empty>);
16
}
17
18
USERVER_NAMESPACE_END
proto-structs
codegen-tests
src
service
basic_test.cpp
Generated on Mon Oct 6 2025 12:31:06 for userver by
Doxygen
1.13.2