userver: testsuite::CacheResetRegistration Class Reference
Loading...
Searching...
No Matches
testsuite::CacheResetRegistration Class Referencefinal

#include <userver/testsuite/cache_control.hpp>

Detailed Description

RAII helper for testsuite registration. Must be kept alive to keep supporting cache resetting.

Warning
Make sure to always place CacheResetRegistration after the rest of the component's fields.
See also
testsuite::CacheControl

Definition at line 147 of file cache_control.hpp.

Public Member Functions

 CacheResetRegistration (CacheResetRegistration &&) noexcept
 
CacheResetRegistrationoperator= (CacheResetRegistration &&) noexcept
 
void Unregister () noexcept
 

Member Function Documentation

◆ Unregister()

void testsuite::CacheResetRegistration::Unregister ( )
noexcept

Unregister the cache component explicitly. Unregister is called in the destructor automatically.


The documentation for this class was generated from the following file: